CVE-2024-0727 json
PKCS12 Decoding crashes
published 2024-01-26 2 y ago modified 2026-10-15 25 d ago also EUVD-2024-0317 , GHSA-9v9h-cgj8-h64p , JLSEC-2026-247 , PYSEC-2026-1285
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.2%
- EPSS 3.2% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi cryptography 42.0.2
- julia OpenSSL_jll 3.0.13+0
- julia Openresty_jll 1.27.1+0
- OpenSSL OpenSSL 1.0.2zj, 1.1.1x, 3.0.13, 3.1.5, 3.2.1
- Siemens SIDIS Prime V4.0.700
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1.1
- Siemens SINEC NMS V3.0 SP1
- openssl Debian 12 3.0.13-1~deb12u1
- openssl Debian 14, Debian 13 3.1.5-1
debian advisories DEBIAN-CVE-2024-0727
- edk2 Ubuntu 22.04 LTS 2022.02-3ubuntu0.22.04.4
- edk2 Ubuntu 24.04 LTS 2024.02-2ubuntu0.6
- openssl Ubuntu 20.04 LTS 1.1.1f-1ubuntu2.21
- openssl Ubuntu 22.04 LTS 3.0.2-0ubuntu1.14
- openssl Ubuntu 24.04 LTS 3.0.10-1ubuntu4
- openssl Ubuntu Pro 14.04 LTS 1.0.1f-1ubuntu2.27+esm10
- openssl Ubuntu Pro 16.04 LTS 1.0.2g-1ubuntu4.20+esm11
- openssl Ubuntu Pro FIPS-updates 16.04 LTS 1.0.2g-1ubuntu4.fips.4.20.11
ubuntu advisories UBUNTU-CVE-2024-0727
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- edk2 RHEL 9 20240524-6.el9_5
- edk2-ovmf RHEL 9 20240524-6.el9_5
- edk2-tools RHEL 9 20240524-6.el9_5
- edk2-aarch64 RHEL 9 20240524-6.el9_5
- openssl RHEL 9 1:3.0.7-27.el9
- openssl-libs RHEL 9 1:3.0.7-27.el9
- openssl-perl RHEL 9 1:3.0.7-27.el9
red hat advisories RHSA-2024:9088RHSA-2024:2447
- compat-openssl098 SLES for SAP 12 SP5, SLE Module for Legacy 12 0.9.8j-106.64.1
- openssl-1_1 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +7 more 1.1.1l-150400.7.63.1
- openssl-1_1 SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +6 more 1.1.1d-150200.11.85.1
- openssl-1_0_0 SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +9 more 1.0.2p-150000.3.91.1
- openssl-3 SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 3.0.8-150500.5.27.1
- openssl-1_0_0 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.0.2p-3.90.1
- openssl-1_1 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.1.1d-2.104.1
- openssl-1_1 SLE Module for Basesystem 15 SP5, SLE Micro 5.5, openSUSE Leap 15.5 1.1.1l-150500.17.25.1
suse advisories SUSE-SU-2024:0842-1SUSE-SU-2024:0841-1SUSE-SU-2024:0840-1SUSE-SU-2024:0833-1SUSE-SU-2024:0832-1SUSE-SU-2024:0831-1
- boringssl openSUSE Tumbleweed 0.20260813-1.1
- openssl-1_0_0 openSUSE Tumbleweed 1.0.2u-24.1
- openssl-1_1 openSUSE Tumbleweed 1.1.1w-7.1
- openssl-3 openSUSE Tumbleweed 3.1.4-4.1
opensuse advisories openSUSE-SU-2026:11592-1openSUSE-SU-2024:13656-1openSUSE-SU-2024:13662-1openSUSE-SU-2024:13663-1
- edk2-ovmf AlmaLinux 9 20240524-6.el9_5
- edk2-tools AlmaLinux 9 20240524-6.el9_5
- edk2-aarch64 AlmaLinux 9 20240524-6.el9_5
- openssl AlmaLinux 9 1:3.0.7-27.el9
- openssl-libs AlmaLinux 9 1:3.0.7-27.el9
- openssl-perl AlmaLinux 9 1:3.0.7-27.el9
almalinux advisories ALSA-2024:9088ALSA-2024:2447
- edk2 Rocky Linux 9 20240524-6.el9_5.3
rocky linux advisories RLSA-2024:9088
- openssl Alpine 3.17 3.0.12-r4
- openssl Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 3.1.4-r5
alpine advisories ALPINE-CVE-2024-0727
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- nodejs CBL-Mariner 2.0, Azure Linux 3.0 16.20.2-2
- openssl CBL-Mariner 2.0, Azure Linux 3.0 1.1.1k-29
- hvloader CBL-Mariner 2.0 1.0.1-9
- kata-containers Azure Linux 3.0 3.2.0.azl1-1
- cloud-hypervisor-cvm CBL-Mariner 2.0, Azure Linux 3.0 38.0.72.2-1
azure linux advisories AZL-33935AZL-33937AZL-35049AZL-35086AZL-37767AZL-39649
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/openssl/openssl@775acfd commit
- github.com/openssl/openssl@d135eea commit
- github.com/openssl/openssl@09df439 commit
- github.openssl.org/openssl/extended-releases@03b3941 commit
- github.openssl.org/openssl/extended-releases@aebaa58 commit
- github.com/alexcrichton/openssl-src-rs@add20f7 commit
- github.com/pyca/cryptography@3519591 commit
- github.com/openssl/openssl#23362 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-0727 updated cvss 5.5
openssl: denial of service via null dereference
-
Red Hat Enterprise Linux 6 openssl, openssl-perl Red Hat Enterprise Linux 7 openssl, openssl-libs, openssl-perlaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 edk2, openssl, edk2-ovmf, edk2-aarch64, openssl-libs, openssl-perl, +1 moreaffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 9 compat-openssl11affected: workaround, no fix available “Fix deferred”
-
Red Hat CodeReady Linux Builder (v. 9) edk2-ovmf 20240524-6.el9_5, edk2-tools 20240524-6.el9_5, edk2-aarch64 20240524-6.el9_5fixed: vendor fix RHSA-2024:9088
-
Red Hat Enterprise Linux AppStream (v. 9) edk2 20240524-6.el9_5, openssl-perl 3.0.7-27.el9, edk2-ovmf 20240524-6.el9_5, edk2-aarch64 20240524-6.el9_5 Red Hat Enterprise Linux BaseOS (v. 9) openssl 3.0.7-27.el9, openssl-libs 3.0.7-27.el9fixed: vendor fix RHSA-2024:2447
-
Red Hat Enterprise Linux 8 shim, shim-x64, shim-aa64, shim-ia32 Red Hat Enterprise Linux 9 shim, shim-x64, shim-aa64 Red Hat Enterprise Linux BaseOS (v. 9) openssl-fips-provider 3.0.7-2.el9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-24-102-01 updated cvss 5.5
Siemens SIMATIC S7-1500 TM MFP
-
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystemaffected: mitigation, no fix available
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-25-044-09 updated cvss 5.5
Siemens SCALANCE W700 IEEE 802.11ax
-
Siemens SCALANCE WAB762-1 (6GK5762-1AJ00-6AA0) <V3.0.0 Siemens SCALANCE WAM763-1 (6GK5763-1AL00-7DA0) <V3.0.0 Siemens SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) <V3.0.0 Siemens SCALANCE WAM763-1 (US) (6GK5763-1AL00-7DB0) <V3.0.0 Siemens SCALANCE WAM766-1 (6GK5766-1GE00-7DA0) <V3.0.0 Siemens SCALANCE WAM766-1 (ME) (6GK5766-1GE00-7DC0) <V3.0.0affected: fixed in V3.0.0 support.industry.siemens.com
+13 more productsfewer
Siemens SCALANCE WAM766-1 (US) (6GK5766-1GE00-7DB0) <V3.0.0 Siemens SCALANCE WAM766-1 EEC (6GK5766-1GE00-7TA0) <V3.0.0 Siemens SCALANCE WAM766-1 EEC (ME) (6GK5766-1GE00-7TC0) <V3.0.0 Siemens SCALANCE WAM766-1 EEC (US) (6GK5766-1GE00-7TB0) <V3.0.0 Siemens SCALANCE WUB762-1 (6GK5762-1AJ00-1AA0) <V3.0.0 Siemens SCALANCE WUB762-1 iFeatures (6GK5762-1AJ00-2AA0) <V3.0.0 Siemens SCALANCE WUM763-1 (6GK5763-1AL00-3AA0) <V3.0.0 Siemens SCALANCE WUM763-1 (6GK5763-1AL00-3DA0) <V3.0.0 Siemens SCALANCE WUM763-1 (US) (6GK5763-1AL00-3AB0) <V3.0.0 Siemens SCALANCE WUM763-1 (US) (6GK5763-1AL00-3DB0) <V3.0.0 Siemens SCALANCE WUM766-1 (6GK5766-1GE00-3DA0) <V3.0.0 Siemens SCALANCE WUM766-1 (ME) (6GK5766-1GE00-3DC0) <V3.0.0 Siemens SCALANCE WUM766-1 (USA) (6GK5766-1GE00-3DB0) <V3.0.0
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-25-100-02 updated cvss 5.5
Siemens SIDIS Prime
-
Siemens SIDIS Prime <V4.0.700affected: fixed in V4.0.700
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-24-319-04 updated cvss 5.5
Siemens SINEC NMS
-
Siemens SINEC NMS <V3.0_SP1affected: fixed in V3.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-24-319-08 updated cvss 5.5
Siemens SINEC INS
-
Siemens SINEC INS <V1.0_SP2_Update_3affected: fixed in V1.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-24-275-02 updated cvss 7.5
Mitsubishi Electric MELSEC iQ-F FX5-OPC
-
Mitsubishi Electric MELSEC iQ-F FX5-OPCaffected: mitigation “Mitsubishi Electric recommends that customers take the following mitigations to minimize the risk of exploiting this vulnerability:” mitsubishielectric.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
3.19% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | cryptography | <42.0.2 |
42.0.2 |
| julia | OpenSSL_jll | <3.0.13+0 |
3.0.13+0 |
| julia | Openresty_jll | <1.27.1+0 |
1.27.1+0 |
Affected products
- OpenSSL OpenSSL
- Siemens SIDIS Prime
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
- Siemens SINEC NMS
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
github.com
/openssl/openssl/commit/775acfdbd0c6af9ac855f34969cdab0c0c90844a
patch, web
-
github.com
/openssl/openssl/commit/d135eeab8a5dbf72b3da5240bab9ddb7678dbd2c
patch, web
-
github.com
/openssl/openssl/commit/09df4395b5071217b76dc7d3d2e630eb8c5a79c2
patch, web
-
github.openssl.org
/openssl/extended-releases/commit/03b3941d60c4bce58fab69a0c22377ab439bc0e8
patch, web
-
github.openssl.org
/openssl/extended-releases/commit/aebaa5883e31122b404e450732dc833dc9dee539
patch, web
-
github.com
/openssl/openssl/pull/23362
web
-
github.com
/alexcrichton/openssl-src-rs/commit/add20f73b6b42be7451af2e1044d4e0e778992b2
web
-
github.com
/pyca/cryptography/commit/3519591d255d4506fbcd0d04037d45271903c64d
web
-
openssl.org
/news/secadv/20240125.txt
vendor-advisory, web
-
security.netapp.com
/advisory/ntap-20240208-0006/
web
-
openwall.com
/lists/oss-security/2024/03/11/1
web
-
lists.debian.org
/debian-lts-announce/2024/11/msg00000.html
web
-
lists.debian.org
/debian-lts-announce/2024/10/msg00033.html
web
-
cert-portal.siemens.com
/productcert/html/ssa-265688.html
web
-
cert-portal.siemens.com
/productcert/html/ssa-331112.html
web
-
cert-portal.siemens.com
/productcert/html/ssa-915275.html
web
-
cert-portal.siemens.com
/productcert/html/ssa-769027.html
web
-
cert-portal.siemens.com
/productcert/html/ssa-277137.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-0727
advisory, web
-
github.com
/github/advisory-database/pull/3472
web
-
security.netapp.com
/advisory/ntap-20240208-0006
web
-
github.com
/advisories/GHSA-9v9h-cgj8-h64p
web, advisory
-
pypi.org
/project/cryptography
package
Sources
- CVE List CVE-2024-0727
- GitHub Advisory GHSA-9v9h-cgj8-h64p
- NVD CVE-2024-0727
- OSV JLSEC-2026-247
- OSV PYSEC-2026-1285
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.