CVE-2024-0727
Python vulnerability analysis and mitigation

Overview

CVE-2024-0727 is a vulnerability in OpenSSL's PKCS12 file processing functionality, discovered on January 25, 2024. The vulnerability affects OpenSSL versions 3.2 (before 3.2.1), 3.1 (before 3.1.5), 3.0 (before 3.0.13), 1.1.1 (before 1.1.1x), and 1.0.2 (before 1.0.2zj). This issue was reported by Bahaa Naamneh from Crosspoint Labs (OpenSSL Advisory).

Technical details

The vulnerability stems from improper handling of NULL fields in PKCS12 format files. While the PKCS12 specification allows certain fields to be NULL, OpenSSL does not correctly check for this case, leading to a NULL pointer dereference. The vulnerable OpenSSL APIs include PKCS12_parse(), PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(), PKCS12_unpack_authsafes(), and PKCS12_newpass(). The FIPS modules in versions 3.2, 3.1, and 3.0 are not affected by this issue. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD).

Impact

When successfully exploited, this vulnerability can cause OpenSSL to crash, resulting in a Denial of Service (DoS) condition. Applications that process PKCS12 files from untrusted sources using the affected OpenSSL APIs are vulnerable to this issue (OpenSSL Advisory).

Exploitability

The vulnerability can be triggered by processing a maliciously formatted PKCS12 file. The attack requires local access and user interaction, as indicated by the CVSS metrics. The vulnerability has been classified as having a low severity by OpenSSL due to its limited impact (OpenSSL Advisory).

Mitigation and workarounds

Users are advised to upgrade to the following fixed versions: OpenSSL 3.2.1, 3.1.5, 3.0.13, 1.1.1x (premium support customers only), or 1.0.2zj (premium support customers only). The fixes are available in commits 775acfdbd0 (for 3.2), d135eeab8a (for 3.1), and 09df4395b5 (for 3.0) in the OpenSSL git repository (OpenSSL Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

openssl: 3.0.13-1~deb12u1

Fixed

bullseye

openssl: 1.1.1w-0+deb11u2

Fixed

sid

openssl: 3.1.5-1

Fixed

trixie

openssl: 3.1.5-1

Fixed

SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66455CRITICAL9.8
  • Python logoPython
  • lmdeploy
NoYesSep 18, 2026
CVE-2026-63374CRITICAL9.3
  • Python logoPython
  • airflow-3
NoYesSep 18, 2026
CVE-2026-59163CRITICAL9.1
  • Python logoPython
  • mnemosyne-memory
NoYesSep 18, 2026
CVE-2026-33625HIGH8.8
  • Python logoPython
  • lmdeploy
NoYesSep 18, 2026
CVE-2026-64847MEDIUM6.8
  • Python logoPython
  • py3-anyio
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management