CVE-2024-4741
Published:November 13, 2024
Updated:May 18, 2026
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 Packages
openssl (CONAN):
Affected version(s) >=1.1.1p <1.1.1yFix Suggestion:
Update to version 1.1.1yopenssl (CONAN):
Affected version(s) >=3.2.0 <3.2.2Fix Suggestion:
Update to version 3.2.2openssl (CONAN):
Affected version(s) >=3.0.5 <3.0.14Fix Suggestion:
Update to version 3.0.14openssl (CONAN):
Affected version(s) >=3.1.0 <3.1.6Fix Suggestion:
Update to version 3.1.6openssl (CONDA):
Affected version(s) >=1.1.1a <1.1.1yFix Suggestion:
Update to version 1.1.1yopenssl (CONDA):
Affected version(s) >=3.0.0 <3.0.14Fix Suggestion:
Update to version 3.0.14openssl (CONDA):
Affected version(s) =3.3.0 <3.3.1Fix Suggestion:
Update to version 3.3.1openssl (CONDA):
Affected version(s) >=3.1.0 <3.1.6Fix Suggestion:
Update to version 3.1.6openssl (CONDA):
Affected version(s) >=3.2.0 <3.2.2Fix Suggestion:
Update to version 3.2.2Related Resources (12)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Use After Free
EPSS
Base Score:
0.37