CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

CVE details

CVE-2026-54874

Issue summary: Receiving a DTLS record for a future epoch while a handshake is in progress causes OpenSSL to buffer far more memory than the record itself requires. Impact summary: A peer can use a small amount of network traffic to make an OpenSSL DTLS endpoint retain a disproportionately large amount of memory, which may lead to a Denial of Service. CWE: CWE-405: Asymmetric Resource Consumption (Amplification) Description: While a DTLS handshake is in progress, a peer may legitimately have already moved on to the next epoch (for example, having sent its ChangeCipherSpec and Finished messages) before the local endpoint has processed the same transition, typically because of reordering on the underlying UDP transport. OpenSSL buffers such early records so that they can be processed once the local endpoint catches up. Buffering a record currently retains the entire read buffer it arrived in, which is sized to hold the largest possible DTLS record (around 16 kilobytes), rather than just the bytes that make up the record itself. Up to 100 such records may be buffered per connection. As a result, a peer that sends a stream of small forged records claiming to belong to the next epoch can cause an OpenSSL DTLS endpoint to retain around 1.7 megabytes of memory, despite sending only a small fraction of that amount of data over the network. An attacker therefore gains a memory amplification factor of around 1200, and can multiply the effect across as many associations as it is able to open, making this a remote memory exhaustion Denial of Service risk for DTLS servers. Since the memory retained per connection remains bounded, and any limit an application already places on the number of concurrent associations also bounds the total exposure, this issue has been assessed as Low severity. FIPS impact: no No FIPS modules are affected by this issue as the affected code is outside the OpenSSL FIPS module boundary. OpenSSL 4.0, 3.6, 3.5, 3.4, 3.0, 1.1.1 and 1.0.2 are vulnerable to this issue. OpenSSL 4.0 users should upgrade to OpenSSL 4.0.2. OpenSSL 3.6 users should upgrade to OpenSSL 3.6.4. OpenSSL 3.5 users should upgrade to OpenSSL 3.5.8. OpenSSL 3.4 users should upgrade to OpenSSL 3.4.7. OpenSSL 3.0 users should upgrade to OpenSSL 3.0.22. Premium support customers only: OpenSSL 1.1.1 users should upgrade to OpenSSL 1.1.1zi OpenSSL 1.0.2 users should upgrade to OpenSSL 1.0.2zr This issue was reported on 18 May 2026 by Amazon Web Services. The fix has been developed by Matt Caswell. -- cut (non-publishing metadata for internal use) -- Reported by: Amazon Web Services Fixed by: Matt Caswell

Score
7.5 high
Published
2026-08-25
Links
NVD · cve.org

Affected ports (6)

PortPackageVersionStatusMaintainer
security/linux-c7-openssl-devellinux-c7-openssl-devel1.0.2k_2unaddressedemulation@FreeBSD.org
security/openssl-unsafeopenssl-unsafe1.0.2.20170706unaddressedbrnrd@FreeBSD.org
security/opensslopenssl3.5.9,1fixed by updatebrnrd@FreeBSD.org
security/openssl30openssl303.0.22fixed by updatebrnrd@FreeBSD.org
security/openssl36openssl363.6.5fixed by updatebrnrd@FreeBSD.org
security/openssl40openssl404.0.3fixed by updatebrnrd@FreeBSD.org

VuXML

Template for a VuXML entry

Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.

  <vuln vid="FIXME (make newentry)">
    <topic>FIXME -- FIXME</topic>
    <affects>
      <package>
	<name>linux-c7-openssl-devel</name>
	<range><lt>1.0.2zr</lt></range>
      </package>
      <package>
	<name>openssl-unsafe</name>
	<range><lt>1.0.2zr</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>Issue summary: Receiving a DTLS record for a future epoch while a
	handshake
is in progress causes OpenSSL to buffer far more memory than
	the record
itself requires.

Impact summary: A peer can use a small
	amount of network traffic to make an
OpenSSL DTLS endpoint retain a
	disproportionately large amount of memory,
which may lead to a Denial
	of Service.

CWE: CWE-405: Asymmetric Resource Consumption
	(Amplification)

Description: While a DTLS handshake is in progress, a
	peer may legitimately
have already moved on to the next epoch (for
	example, having sent its
ChangeCipherSpec and Finished messages)
	before the local endpoint has
processed the same transition, typically
	because of reordering on the
underlying UDP transport. OpenSSL buffers
	such early records so that they
can be processed once the local
	endpoint catches up.

Buffering a record currently retains the entire
	read buffer it arrived in,
which is sized to hold the largest possible
	DTLS record (around 16
kilobytes), rather than just the bytes that
	make up the record itself. Up
to 100 such records may be buffered per
	connection. As a result, a peer
that sends a stream of small forged
	records claiming to belong to the next
epoch can cause an OpenSSL DTLS
	endpoint to retain around 1.7 megabytes of
memory, despite sending
	only a small fraction of that amount of data over
the network.

An
	attacker therefore gains a memory amplification factor of around
	1200,
and can multiply the effect across as many associations as it is
	able to
open, making this a remote memory exhaustion Denial of Service
	risk for
DTLS servers. Since the memory retained per connection
	remains bounded,
and any limit an application already places on the
	number of concurrent
associations also bounds the total exposure, this
	issue has been assessed
as Low severity.

FIPS impact: no

No FIPS
	modules are affected by this issue as the affected code is outside
the
	OpenSSL FIPS module boundary.

OpenSSL 4.0, 3.6, 3.5, 3.4, 3.0, 1.1.1
	and 1.0.2 are vulnerable to this
issue.

OpenSSL 4.0 users should
	upgrade to OpenSSL 4.0.2.
OpenSSL 3.6 users should upgrade to OpenSSL
	3.6.4.
OpenSSL 3.5 users should upgrade to OpenSSL 3.5.8.
OpenSSL 3.4
	users should upgrade to OpenSSL 3.4.7.
OpenSSL 3.0 users should
	upgrade to OpenSSL 3.0.22.

Premium support customers only:
OpenSSL
	1.1.1 users should upgrade to OpenSSL 1.1.1zi
OpenSSL 1.0.2 users
	should upgrade to OpenSSL 1.0.2zr

This issue was reported on 18 May
	2026 by Amazon Web Services.
The fix has been developed by Matt
	Caswell.

-- cut (non-publishing metadata for internal use)
	--
Reported by: Amazon Web Services
Fixed by: Matt Caswell</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2026-54874</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2026-54874</url>
    </references>
    <dates>
      <discovery>2026-08-25</discovery>
      <entry>2026-10-25</entry>
    </dates>
  </vuln>