cve.bz

CVE-2024-0727 openssl openssl: NULL Pointer Dereference

5.5 mediumEPSS 3.2%Fix available

Medium (5.5) in openssl openssl. EPSS 3.2% estimated probability of exploitation activity in the next 30 days. Fixed in cryptography 42.0.2.

On this page
Issue summary: Processing a maliciously formatted PKCS12 file may lead OpenSSL to crash leading to a potential Denial of Service attack Impact summary: Applications loading files in the PKCS12 format from untrusted sources might terminate abruptly. A file in PKCS12 format can contain certificates and keys and may come from an untrusted source. The PKCS12 specification allows certain fields to be NULL, but OpenSSL does not correctly check for this case. This can lead to a NULL pointer dereference that results in OpenSSL crashing. If an application processes PKCS12 files from an untrusted source using the OpenSSL APIs then that application will be vulnerable to this issue. OpenSSL APIs that are vulnerable to this are: PKCS12_parse(), PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(), PKCS12_unpack_authsafes() and PKCS12_newpass(). We have also fixed a similar issue in SMIME_write_PKCS7(). However since this function is related to writing data we do not consider it security significant. The FIPS modules in 3.2, 3.1 and 3.0 are not affected by this issue.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-0727 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-0727?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-0727?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-0727 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenSSLfrom 3.2.0 before 3.2.1
OpenSSLfrom 3.1.0 before 3.1.5
OpenSSLfrom 3.0.0 before 3.0.13
OpenSSLfrom 1.1.1 before 1.1.1x
OpenSSLfrom 1.0.2 before 1.0.2zj

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9v9h-cgj8-h64pPyPIcryptography<42.0.242.0.2
PYSEC-2026-1285PyPIcryptography<42.0.242.0.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11openssl1.1.1n-0+deb11u6DLA-3942-1
Debian11openssl1.1.1w-0+deb11u2DLA-3942-2
Debian12openssl3.0.13-1~deb12u1DEBIAN-CVE-2024-0727
Debian13, 14openssl3.1.5-1DEBIAN-CVE-2024-0727
Ubuntu20.04:LTSopenssl1.1.1f-1ubuntu2.21UBUNTU-CVE-2024-0727 USN-6622-1
Ubuntu22.04:LTSedk22022.02-3ubuntu0.22.04.4UBUNTU-CVE-2024-0727 USN-7894-1
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.14UBUNTU-CVE-2024-0727 USN-6622-1
Ubuntu24.04:LTSedk22024.02-2ubuntu0.6UBUNTU-CVE-2024-0727 USN-7894-1
Ubuntu24.04:LTSopenssl3.0.10-1ubuntu4UBUNTU-CVE-2024-0727
UbuntuPro:14.04:LTSopenssl1.0.1f-1ubuntu2.27+esm10UBUNTU-CVE-2024-0727 USN-7018-1
UbuntuPro:16.04:LTSopenssl1.0.2g-1ubuntu4.20+esm11UBUNTU-CVE-2024-0727 USN-6632-1
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSedk2no fix listedUBUNTU-CVE-2024-0727
UbuntuPro:18.04:LTSopenssl1.1.1-1ubuntu2.1~18.04.23+esm4UBUNTU-CVE-2024-0727 USN-6632-1
UbuntuPro:18.04:LTSopenssl1.01.0.2n-1ubuntu5.13+esm1UBUNTU-CVE-2024-0727 USN-6709-1
UbuntuPro:22.04:LTSnodejsno fix listedUBUNTU-CVE-2024-0727
UbuntuPro:FIPS-preview:22.04:LTS, Pro:FIPS:16.04:LTS, Pro:FIPS:18.04:LTS and 1 moreopensslno fix listedUBUNTU-CVE-2024-0727
4 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamedk2, edk2-ovmf, edk2-aarch640:20240524-6.el9_5RHSA-2024:9088
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.0.7-27.el9RHSA-2024:2447
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.0.7-27.el9RHSA-2024:2447
Red Hatenterprise_linux:9::crbedk2-ovmf, edk2-tools, edk2-aarch64 and 3 more0:20240524-6.el9_5RHSA-2024:9088
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 moreopenssl-1_11.1.1d-150200.11.85.1SUSE-SU-2024:0832-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 8 moreopenssl-1_0_01.0.2p-150000.3.91.1SUSE-SU-2024:0831-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 moreopenssl-1_11.1.1l-150400.7.63.1SUSE-SU-2024:0833-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 moreopenssl-33.0.8-150400.4.49.1SUSE-SU-2024:0518-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5openssl-1_11.1.1l-150500.17.25.1SUSE-SU-2024:0549-1
SUSELinux Enterprise Module for Basesystem 15 SP5openssl-33.0.8-150500.5.27.1SUSE-SU-2024:0815-1
SUSELinux Enterprise Module for Legacy 12, Linux Enterprise Server for SAP Applications 12 SP5compat-openssl0980.9.8j-106.64.1SUSE-SU-2024:0840-1
SUSELinux Enterprise Server 11 SP4 LTSS EXTREME COREopenssl0.9.8j-0.106.83.1SUSE-SU-2024:0842-1
SUSELinux Enterprise Server 11 SP4 LTSS EXTREME COREopenssl11.0.1g-0.58.79.1SUSE-SU-2024:0841-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5openssl-1_0_01.0.2p-3.90.1SUSE-SU-2024:0814-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5openssl-1_11.1.1d-2.104.1SUSE-SU-2024:0813-1
openSUSELeap 15.5openssl-1_0_01.0.2p-150000.3.91.1SUSE-SU-2024:0831-1
openSUSELeap 15.5openssl-1_11.1.1l-150500.17.25.1SUSE-SU-2024:0549-1
openSUSELeap 15.5openssl-33.0.8-150500.5.27.1SUSE-SU-2024:0815-1
openSUSELeap Micro 5.3, Leap Micro 5.4openssl-1_11.1.1l-150400.7.63.1SUSE-SU-2024:0833-1
openSUSELeap Micro 5.3, Leap Micro 5.4openssl-33.0.8-150400.4.49.1SUSE-SU-2024:0518-1
openSUSETumbleweedboringssl0.20260813-1.1openSUSE-SU-2026:11592-1
openSUSETumbleweedopenssl-1_0_01.0.2u-24.1openSUSE-SU-2024:13656-1
openSUSETumbleweedopenssl-1_11.1.1w-7.1openSUSE-SU-2024:13662-1
openSUSETumbleweedopenssl-33.1.4-4.1openSUSE-SU-2024:13663-1
AlmaLinux9edk2-ovmf, edk2-tools, edk2-aarch64 and 1 more20240524-6.el9_5ALSA-2024:9088
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.0.7-27.el9ALSA-2024:2447
Rocky Linux9edk20:20240524-6.el9_5.3RLSA-2024:9088
Alpinev3.17openssl3.0.12-r4ALPINE-CVE-2024-0727
Alpinev3.18, v3.19, v3.20 and 4 moreopenssl3.1.4-r5ALPINE-CVE-2024-0727
Azure Linux2cloud-hypervisor-cvm38.0.72.2-1AZL-42721
Azure Linux2hvloader1.0.1-9AZL-37767
Azure Linux2nodejs16.20.2-2AZL-33935
Azure Linux2openssl1.1.1k-29AZL-33937
Azure Linux3cloud-hypervisor-cvm38.0.72.2-1AZL-42730
Azure Linux3kata-containers3.2.0.azl1-1AZL-39649
Azure Linux3nodejs16.20.2-2AZL-35049
Azure Linux3openssl1.1.1k-29AZL-35086
Azure Linux3openssl-fips-providerno fix listedAZL-78540
Alpaquita23openssl3.0.12-r4BELL-CVE-2024-0727
Alpaquitastreamopenssl3.1.4-r4BELL-CVE-2024-0727
BellSoft Hardened Containers23openssl3.0.12-r4BELL-CVE-2024-0727
BellSoft Hardened Containersstreamopenssl3.1.4-r4BELL-CVE-2024-0727

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is classified as low severity. This is a result of a lack of proper validation in OpenSSL's handling of PKCS12 files. This vulnerability results in a potential Denial of Service scenario wherein maliciously crafted PKCS12 files may cause OpenSSL to crash due to a NULL pointer dereference. However, the impact of this issue is reduced by the fact that exploitation requires processing PKCS12 files from untrusted sources using specific OpenSSL APIs, such as PKCS12_parse(), PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(), PKCS12_unpack_authsafes(), and PKCS12_newpass(). Furthermore, while a similar issue was addressed in SMIME_write_PKCS7(), its relevance is diminished as it pertains to writing data rather than parsing, hence not considered security significant. The risk of this vulnerability is limited as Red Hat offerings do not utilize images from untrusted sources by default.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9openssl-1:3.0.7-27.el9Fixed 2024-04-30RHSA-2024:2447
Red Hat Enterprise Linux 9edk2-0:20240524-6.el9_5Fixed 2024-11-12RHSA-2024:9088
Red Hat Enterprise Linux 6opensslOut of support scope
Red Hat Enterprise Linux 7opensslOut of support scope
Red Hat Enterprise Linux 8compat-openssl10Fix deferred
Red Hat Enterprise Linux 8edk2Will not fix
Red Hat Enterprise Linux 8opensslFix deferred
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 9compat-openssl11Fix deferred
Red Hat Enterprise Linux 9shimNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-0727.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-100-02Siemens SIDIS Prime2025-04-08Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSIDIS Primenone listed
ICSA-25-044-09Siemens SCALANCE W700 IEEE 802.11ax2025-02-11Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 morenone listed
ICSA-24-319-04Siemens SINEC NMS2024-11-12MultipleSINEC NMSnone listed
ICSA-24-319-08Siemens SINEC INS2024-11-12MultipleSINEC INSnone listed
ICSA-24-275-02Mitsubishi Electric MELSEC iQ-F FX5-OPC2024-10-01Critical ManufacturingMitsubishi Electric MELSEC iQ-F FX5-OPC: vers:all/*none listed
ICSA-24-102-01Siemens SIMATIC S7-1500 TM MFP2024-04-09Critical ManufacturingSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON