CVE-2024-4741
Use After Free with SSL_free_buffers
Mitigation
- Upgrade OpenSSL to 1.1.1y or later.
Who should check
- Anyone running OpenSSL >= 3.3.0, < 3.3.1; >= 3.2.0, < 3.2.2; >= 3.1.0, < 3.1.6; >= 3.0.0, < 3.0.14; >= 1.1.1, < 1.1.1y
Vulnerability facts
- Affected
- OpenSSL >= 3.3.0, < 3.3.1; >= 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.3.1, OpenSSL 3.2.2, OpenSSL 3.1.6, OpenSSL 3.0.14, OpenSSL 1.1.1y
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 4.64% chance of exploitation in 30 days (percentile 92, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
Issue summary: Calling the OpenSSL API function SSL_free_buffers may cause memory to be accessed that was previously freed in some situations Impact summary: A use after free can have a range of potential consequences such as the corruption of valid data, crashes or execution of arbitrary code. However, only applications that directly call the SSL_free_buffers function are affected by this issue. Applications that do not call this function are not vulnerable. Our investigations indicate that this function is rarely used by applications. The SSL_free_buffers function is used to free the internal OpenSSL buffer used when processing an incoming record from the network. The call is only expected to succeed if the buffer is not currently in use. However, two scenarios have been identified where the buffer is freed even when still in use. The first scenario occurs where a record header has been received from the network and processed by OpenSSL, but the full record body has not yet arrived. In this case calling SSL_free_buffers will succeed even though a record has only been partially processed and the buffer is still in use. The second scenario occurs where a full record containing application data has been received and processed by OpenSSL but the application has only read part of this data. Again a call to SSL_free_buffers will succeed even though the buffer is still in use. While these scenarios could occur accidentally during normal operation a malicious attacker could attempt to engineer a stituation where this occurs. We are not aware of this issue being actively exploited. The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| OpenSSL | >= 3.3.0, < 3.3.1; >= 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 |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-4741. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-4741.md Affected: OpenSSL >= 3.3.0, < 3.3.1; >= 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.3.1, 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.
References
Vendor advisories
Patches
- https://github.com/openssl/openssl/commit/e5093133c35ca82874ad83697af76f4b0f7e3bd8
- https://github.com/openssl/openssl/commit/c88c3de51020c37e8706bf7a682a162593053aac
- https://github.com/openssl/openssl/commit/704f725b96aa373ee45ecfb23f6abfe8be8d9177
- https://github.com/openssl/openssl/commit/b3f0eb0a295f58f16ba43ba99dad70d4ee5c437d
- https://github.openssl.org/openssl/extended-releases/commit/f7a045f3143fc6da2ee66bf52d8df04829590dd4
FAQ
Is CVE-2024-4741 being exploited?
There is no confirmed exploitation: CVE-2024-4741 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.64% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-4741?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-4741?
OpenSSL >= 3.3.0, < 3.3.1; >= 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-4741?
Yes. Fixed in OpenSSL 3.3.1, 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-4741?
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.