# CVE-2024-2511: Unbounded memory growth with session handling in TLSv1.3

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

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; 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:** 6.57% (percentile 95, 2026-11-26)
- **CWE:** CWE-1325
- **Published:** 2024-04-08T13:51:12.349Z
- **Modified:** 2026-11-06T19:29:12.633Z

## Who should check

- Anyone running OpenSSL \>= 3.2.0, \< 3.2.2; \>= 3.1.0, \< 3.1.6; \>= 3.0.0, \< 3.0.14; \>= 1.1.1, \< 1.1.1y

## Description

Issue summary: Some non-default TLS server configurations can cause unbounded
memory growth when processing TLSv1.3 sessions

Impact summary: An attacker may exploit certain server configurations to trigger
unbounded memory growth that would lead to a Denial of Service

This problem can occur in TLSv1.3 if the non-default SSL\_OP\_NO\_TICKET option is
being used (but not if early\_data support is also configured and the default
anti-replay protection is in use). In this case, under certain conditions, the
session cache can get into an incorrect state and it will fail to flush properly
as it fills. The session cache will continue to grow in an unbounded manner. A
malicious client could deliberately create the scenario for this failure to
force a Denial of Service. It may also happen by accident in normal operation.

This issue only affects TLS servers supporting TLSv1.3. It does not affect TLS
clients.

The FIPS modules in 3.2, 3.1 and 3.0 are not affected by this issue. OpenSSL
1.0.2 is also not affected by this issue.

## Affected and fixed versions

- OpenSSL: \>= 3.2.0, \< 3.2.2; \>= 3.1.0, \< 3.1.6; \>= 3.0.0, \< 3.0.14; \>= 1.1.1, \< 1.1.1y (cvelist)

## Mitigation

- Upgrade OpenSSL to 1.1.1y or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-2511.md
Affected: OpenSSL >= 3.2.0, < 3.2.2; >= 3.1.0, < 3.1.6; >= 3.0.0, < 3.0.14; >= 1.1.1, < 1.1.1y
Fixed in: OpenSSL 3.2.2, OpenSSL 3.1.6, OpenSSL 3.0.14, OpenSSL 1.1.1y

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-2024-2511 being exploited?

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

### How serious is CVE-2024-2511?

Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-2511?

OpenSSL \>= 3.2.0, \< 3.2.2; \>= 3.1.0, \< 3.1.6; \>= 3.0.0, \< 3.0.14; \>= 1.1.1, \< 1.1.1y.

### Is there a fix for CVE-2024-2511?

Yes. Fixed in OpenSSL 3.2.2, OpenSSL 3.1.6, OpenSSL 3.0.14, OpenSSL 1.1.1y. Upgrade OpenSSL to 1.1.1y or later.

### How do I check if I'm affected by CVE-2024-2511?

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://www.openssl.org/news/secadv/20240408.txt>
- patch: <https://github.com/openssl/openssl/commit/e9d7083e241670332e0443da0f0d4ffb52829f08>
- patch: <https://github.com/openssl/openssl/commit/7e4d731b1c07201ad9374c1cd9ac5263bdf35bce>
- patch: <https://github.com/openssl/openssl/commit/b52867a9f618bb955bed2a3ce3db4d4f97ed8e5d>
- patch: <https://github.openssl.org/openssl/extended-releases/commit/5f8d25770ae6437db119dfc951e207271a326640>
- other: <http://www.openwall.com/lists/oss-security/2024/04/08/5>
- other: <https://security.netapp.com/advisory/ntap-20240503-0013/>
- other: <https://lists.debian.org/debian-lts-announce/2024/11/msg00000.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00033.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-354112.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-915275.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-769027.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## 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-2024-2511>

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