CVEfocus › CVE database › CVE-2024-4741

CVE-2024-4741Use After Free with SSL_free_buffers

CVSS 9.8 CriticalEPSS 4.6% (higher than 92% of CVEs)Published 2024-11-13Updated 2026-11-06Assigner: openssl

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.

CWE-416

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

48Fixed
10Fix pending
46Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04edk2Not affected
vulnerable_code_not_present
Ubuntu 26.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 25.10edk2Not affected
vulnerable_code_not_present
Ubuntu 25.10nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04edk2Fixed2024.02-2ubuntu0.6UBUNTU-CVE-2024-4741
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04opensslFixed3.0.13-0ubuntu3.2UBUNTU-CVE-2024-4741
Ubuntu 22.04edk2Fixed2022.02-3ubuntu0.22.04.4UBUNTU-CVE-2024-4741
Ubuntu 22.04nodejsFix pendingUBUNTU-CVE-2024-4741
Ubuntu 22.04opensslFixed3.0.2-0ubuntu1.17UBUNTU-CVE-2024-4741
Ubuntu 20.04edk2Fix pendingUBUNTU-CVE-2024-4741
Ubuntu 20.04opensslFixed1.1.1f-1ubuntu2.23UBUNTU-CVE-2024-4741
Ubuntu 18.04edk2Fix pendingUBUNTU-CVE-2024-4741
Ubuntu 18.04nodejsFix pendingUBUNTU-CVE-2024-4741
Ubuntu 18.04opensslFix pendingUBUNTU-CVE-2024-4741
Ubuntu 16.04edk2Fix pendingUBUNTU-CVE-2024-4741
Ubuntu 16.04nodejsFix pendingUBUNTU-CVE-2024-4741
Ubuntu 16.04opensslFix pendingUBUNTU-CVE-2024-4741
Ubuntu 14.04opensslFix pendingUBUNTU-CVE-2024-4741
Debian 14opensslFixed3.2.2-1DEBIAN-CVE-2024-4741
Debian 13opensslFixed3.2.2-1DEBIAN-CVE-2024-4741
Debian 12opensslFixed3.0.14-1~deb12u1DEBIAN-CVE-2024-4741
Red Hat Enterprise Linux 10edk2Fixed0:20260221-7.el10RHSA-2026:97212
Red Hat Enterprise Linux 10edk2-aarch64Fixed0:20260221-7.el10RHSA-2026:97212
Red Hat Enterprise Linux 10edk2-ovmfFixed0:20260221-7.el10RHSA-2026:97212
Red Hat Enterprise Linux 10edk2-toolsFixed0:20260221-7.el10RHSA-2026:97212
Red Hat Enterprise Linux 10edk2-tools-docFixed0:20260221-7.el10RHSA-2026:97212
Red Hat Enterprise Linux 10mokutilNot affected
Red Hat Enterprise Linux 10opensslNot affected
Red Hat Enterprise Linux 10openssl-develNot affected
Red Hat Enterprise Linux 10openssl-libsNot affected
Red Hat Enterprise Linux 10openssl-perlNot affected
Red Hat Enterprise Linux 10shim-aa64Not affected
Red Hat Enterprise Linux 10shim-x64Not affected
Red Hat Enterprise Linux 9compat-openssl11Fix pending
Fix deferred
Red Hat Enterprise Linux 9edk2Not affected
Red Hat Enterprise Linux 9edk2-aarch64Not affected
Red Hat Enterprise Linux 9edk2-ovmfNot affected
Red Hat Enterprise Linux 9edk2-toolsNot affected
Red Hat Enterprise Linux 9edk2-tools-docNot affected
Red Hat Enterprise Linux 9opensslFixed1:3.2.2-6.el9_5RHSA-2024:9333
Red Hat Enterprise Linux 9openssl-develFixed1:3.2.2-6.el9_5RHSA-2024:9333
Red Hat Enterprise Linux 9openssl-libsFixed1:3.2.2-6.el9_5RHSA-2024:9333
Red Hat Enterprise Linux 9openssl-perlFixed1:3.2.2-6.el9_5RHSA-2024:9333
Red Hat Enterprise Linux 9shimNot affected
Red Hat Enterprise Linux 9shim-aa64Not affected
Red Hat Enterprise Linux 9shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 9shim-unsigned-x64Not affected
Red Hat Enterprise Linux 9shim-x64Not affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8edk2-aarch64Not affected
Red Hat Enterprise Linux 8edk2-ovmfNot affected
Red Hat Enterprise Linux 8mingw-opensslNot affected
Red Hat Enterprise Linux 8mingw32-opensslNot affected
Red Hat Enterprise Linux 8mingw64-opensslNot affected
Red Hat Enterprise Linux 8opensslFixed1:1.1.1k-16.el8_6RHSA-2026:26275
Red Hat Enterprise Linux 8openssl-develFixed1:1.1.1k-16.el8_6RHSA-2026:26275
Red Hat Enterprise Linux 8openssl-libsFixed1:1.1.1k-16.el8_6RHSA-2026:26275
Red Hat Enterprise Linux 8openssl-perlFixed1:1.1.1k-16.el8_6RHSA-2026:26275
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 8shim-aa64Not affected
Red Hat Enterprise Linux 8shim-ia32Not affected
Red Hat Enterprise Linux 8shim-unsigned-x64Not affected
Red Hat Enterprise Linux 8shim-x64Not affected
Red Hat Enterprise Linux 7AAVMFNot affected
Red Hat Enterprise Linux 7OVMFNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7openssl-develNot affected
Red Hat Enterprise Linux 7openssl-libsNot affected
Red Hat Enterprise Linux 7openssl-perlNot affected
Red Hat Enterprise Linux 7openssl-staticNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 6openssl-develNot affected
Red Hat Enterprise Linux 6openssl-perlNot affected
Red Hat Enterprise Linux 6openssl-staticNot affected
AlmaLinux 10edk2-aarch64Fixed20260221-7.el10.alma.1ALSA-2026:97212
AlmaLinux 10edk2-ovmfFixed20260221-7.el10.alma.1ALSA-2026:97212
AlmaLinux 10edk2-toolsFixed20260221-7.el10.alma.1ALSA-2026:97212
AlmaLinux 10edk2-tools-docFixed20260221-7.el10.alma.1ALSA-2026:97212
AlmaLinux 9opensslFixed1:3.2.2-6.el9_5ALSA-2024:9333
AlmaLinux 9openssl-develFixed1:3.2.2-6.el9_5ALSA-2024:9333
AlmaLinux 9openssl-libsFixed1:3.2.2-6.el9_5ALSA-2024:9333
AlmaLinux 9openssl-perlFixed1:3.2.2-6.el9_5ALSA-2024:9333
AlmaLinux 8opensslFixed1:1.1.1k-16.el8_6ALSA-2026:26275
AlmaLinux 8openssl-develFixed1:1.1.1k-16.el8_6ALSA-2026:26275
AlmaLinux 8openssl-libsFixed1:1.1.1k-16.el8_6ALSA-2026:26275
AlmaLinux 8openssl-perlFixed1:1.1.1k-16.el8_6ALSA-2026:26275
Rocky Linux 10edk2-aarch64Fixed0:20260221-7.el10RLSA-2026:97212
Rocky Linux 10edk2-ovmfFixed0:20260221-7.el10RLSA-2026:97212
Rocky Linux 10edk2-toolsFixed0:20260221-7.el10RLSA-2026:97212
Rocky Linux 10edk2-tools-docFixed0:20260221-7.el10RLSA-2026:97212
Rocky Linux 9opensslFixed1:3.2.2-6.el9_5.1RLSA-2024:9333
Rocky Linux 9openssl-fips-providerFixed0:3.0.7-6.el9_5RLSA-2024:9333
Rocky Linux 8opensslFixed1:1.1.1k-16.el8_10RLSA-2026:26275
Alpine Linux 3.24opensslFixed3.3.0-r3ALPINE-CVE-2024-4741
Alpine Linux 3.23opensslFixed3.3.0-r3ALPINE-CVE-2024-4741
Alpine Linux 3.22opensslFixed3.3.0-r3ALPINE-CVE-2024-4741
Alpine Linux 3.21opensslFixed3.3.0-r3ALPINE-CVE-2024-4741
Alpine Linux 3.20opensslFixed3.3.0-r3ALPINE-CVE-2024-4741
Alpine Linux 3.19opensslFixed3.1.6-r0ALPINE-CVE-2024-4741
Alpine Linux 3.18opensslFixed3.1.6-r0ALPINE-CVE-2024-4741
Alpine Linux 3.17opensslFixed3.0.14-r0ALPINE-CVE-2024-4741

What the vendor says

As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.