# CVE-2026-54874: Excessive Memory Use Buffering DTLS Records for a Future Epoch

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.31% (percentile 71, 2026-11-26)
- **CWE:** CWE-405
- **Published:** 2026-08-25T12:59:17.912Z
- **Modified:** 2026-09-11T21:16:28.067Z

## Who should check

- Anyone running OpenSSL \>= 4.0.0, \< 4.0.2; \>= 3.6.0, \< 3.6.4; \>= 3.5.0, \< 3.5.8; \>= 3.4.0, \< 3.4.7; \>= 3.0.0, \< 3.0.22; \>= 1.1.1, \< 1.1.1zi; \>= 1.0.2, \< 1.0.2zr

## Description

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

## Affected and fixed versions

- OpenSSL: \>= 4.0.0, \< 4.0.2; \>= 3.6.0, \< 3.6.4; \>= 3.5.0, \< 3.5.8; \>= 3.4.0, \< 3.4.7; \>= 3.0.0, \< 3.0.22; \>= 1.1.1, \< 1.1.1zi; \>= 1.0.2, \< 1.0.2zr (cvelist)

## Mitigation

- Upgrade OpenSSL to 1.0.2zr or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54874. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54874.md
Affected: OpenSSL >= 4.0.0, < 4.0.2; >= 3.6.0, < 3.6.4; >= 3.5.0, < 3.5.8; >= 3.4.0, < 3.4.7; >= 3.0.0, < 3.0.22; >= 1.1.1, < 1.1.1zi; >= 1.0.2, < 1.0.2zr
Fixed in: OpenSSL 4.0.2, OpenSSL 3.6.4, OpenSSL 3.5.8, OpenSSL 3.4.7, OpenSSL 3.0.22, OpenSSL 1.1.1zi, OpenSSL 1.0.2zr

Steps:
1. Search this machine and project for OpenSSL: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54874 being exploited?

There is no confirmed exploitation: CVE-2026-54874 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-54874?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-54874?

OpenSSL \>= 4.0.0, \< 4.0.2; \>= 3.6.0, \< 3.6.4; \>= 3.5.0, \< 3.5.8; \>= 3.4.0, \< 3.4.7; \>= 3.0.0, \< 3.0.22; \>= 1.1.1, \< 1.1.1zi; \>= 1.0.2, \< 1.0.2zr.

### Is there a fix for CVE-2026-54874?

Yes. Fixed in OpenSSL 4.0.2, OpenSSL 3.6.4, OpenSSL 3.5.8, OpenSSL 3.4.7, OpenSSL 3.0.22, OpenSSL 1.1.1zi, OpenSSL 1.0.2zr. Upgrade OpenSSL to 1.0.2zr or later.

### How do I check if I'm affected by CVE-2026-54874?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://openssl-library.org/news/secadv/20260825.txt>
- patch: <https://github.com/openssl/openssl/commit/cc0c6710917cd5eec001b297355d2ba723505107>
- patch: <https://github.com/openssl/openssl/commit/f52ffc11b90737ac89083909618dc2e1f42c561c>
- patch: <https://github.com/openssl/openssl/commit/4808b5d64176451f3d93d87d0ac9c81a9b13fb23>
- patch: <https://github.com/openssl/openssl/commit/7110cb2f75806d0bf809eb2f90790d477900be40>
- patch: <https://github.com/openssl/openssl/commit/a0c8ec557d9cac078f032d76cdf684fe743eb382>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54874>

HTML: <https://flawdb.com/CVE-2026-54874> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54874>
