CVE-2025-69419
cURL vulnerability analysis and mitigation

Overview

CVE-2025-69419 is an out-of-bounds write vulnerability in OpenSSL's PKCS#12 file parsing that can lead to memory corruption, Denial of Service, or potentially arbitrary code execution. It was disclosed on January 27, 2026, and affects OpenSSL versions 1.1.1 (before 1.1.1ze), 3.0.0–3.0.18, 3.3.0–3.3.5, 3.4.0–3.4.3, 3.5.0–3.5.4, and 3.6.0. OpenSSL 1.0.2 and FIPS modules are not affected. It carries a CVSS v3.1 base score of 7.4 (High) (Red Hat Advisory, OpenSSL Advisory).

Technical details

The root cause is an incorrect buffer size calculation (CWE-131) leading to an out-of-bounds write (CWE-787) in the OPENSSL_uni2utf8() function within crypto/pkcs12/p12_utl.c. During the second pass of a two-pass UTF-16BE to UTF-8 conversion, the helper function bmp_to_utf8() incorrectly passes the remaining UTF-16 source byte count as the destination buffer capacity to UTF8_putc(). For BMP code points above U+07FF (which require three UTF-8 bytes), the forwarded capacity may be only two bytes, causing UTF8_putc() to return -1. This negative return value is added to the output length without validation, making the length negative, and the subsequent trailing NUL byte is written at a negative offset — one byte before the heap-allocated buffer. The vulnerability is reachable via the public PKCS12_get_friendlyname() API; PKCS12_parse() uses a different code path and is not affected (OpenSSL Commit, Red Hat Bugzilla).

Impact

Successful exploitation can cause heap memory corruption via a one-byte out-of-bounds write before the allocated buffer, with consequences ranging from Denial of Service (application crash) to potential execution of attacker-supplied code depending on adjacent memory layout. The vulnerability can be triggered remotely without authentication or user interaction, as long as an attacker can supply a malicious PKCS#12 file to an application calling PKCS12_get_friendlyname(). Given OpenSSL's widespread use in TLS stacks, certificate management tools, and enterprise software (including IBM InfoSphere, IBM API Connect, IBM Cloud Pak for AIOps, and others), the blast radius is broad (Red Hat Bugzilla, OpenSSL Advisory).

Exploitation steps

  1. Craft a malicious PKCS#12 file: Create a PKCS#12 file containing a BMPString (UTF-16BE) friendly name that includes at least one non-ASCII BMP code point above U+07FF (e.g., a character requiring three UTF-8 bytes such as U+0800–U+FFFF).
  2. Identify a vulnerable target: Find an application or service that accepts PKCS#12 files and internally calls PKCS12_get_friendlyname() using a vulnerable OpenSSL version (1.1.1 < 1.1.1ze, 3.0.x < 3.0.19, 3.3.x < 3.3.6, 3.4.x < 3.4.4, 3.5.x < 3.5.5, or 3.6.0).
  3. Submit the malicious file: Deliver the crafted PKCS#12 file to the target application via an upload interface, API endpoint, or any other mechanism that triggers PKCS#12 parsing.
  4. Trigger the out-of-bounds write: When PKCS12_get_friendlyname() processes the file, bmp_to_utf8() passes the wrong buffer capacity to UTF8_putc(), which returns -1; the negative value corrupts the output length, and a NUL byte is written one byte before the heap buffer.
  5. Achieve impact: Depending on heap layout, the one-byte write may crash the process (DoS) or, in favorable memory conditions, enable further memory corruption primitives for code execution (Red Hat Bugzilla, OpenSSL Commit).

Indicators of compromise

  • Logs: Application crashes or unexpected termination events in services that process PKCS#12 files (e.g., certificate import tools, TLS configuration utilities); error logs showing heap corruption or segmentation faults originating from OpenSSL's p12_utl.c or PKCS12_get_friendlyname().
  • File System: Unexpected or anomalous PKCS#12 (.p12, .pfx) files submitted to certificate processing endpoints, particularly those with non-ASCII friendly names.
  • Process: Abnormal process crashes (core dumps) in applications linked against vulnerable OpenSSL versions when processing PKCS#12 input; repeated application restarts or watchdog-triggered restarts in certificate management services.
  • Network: Unusual or repeated submissions of PKCS#12 files to web services or APIs that handle certificate imports, especially from untrusted or external sources.

Mitigation and workarounds

Upgrade OpenSSL to a patched version immediately: 1.1.1ze (premium support customers), 3.0.19, 3.3.6, 3.4.4, 3.5.5, or 3.6.1 depending on the deployed branch (OpenSSL Advisory, Red Hat Bugzilla). If immediate patching is not feasible, restrict PKCS#12 file processing to trusted sources only and audit applications to determine whether they call PKCS12_get_friendlyname() directly — applications using only PKCS12_parse() are not affected by this specific code path. Downstream products from Red Hat (RHEL 8/9/10, OpenShift), IBM (InfoSphere, API Connect, Cloud Pak for AIOps, Netezza, watsonx Orchestrate, CICS Transaction Gateway, Instana), Debian, Ubuntu, SUSE, FreeBSD, Alpine, and others have released or are releasing updated packages (Red Hat Advisory).

Community reactions

The vulnerability was notably part of a batch of 12 OpenSSL vulnerabilities discovered by an AI-assisted security research team (Aisle), which attracted significant media attention — coverage appeared in Tom's Hardware, TechRadar, Heise, LessWrong, and CyberSecurityNews, with commentary praising the quality of the AI-generated vulnerability reports (Tom's Hardware, TechRadar). Datadog Security Labs published a technical analysis of the January 2026 OpenSSL security update covering this and related buffer overflow issues (Datadog Security Labs). The OpenSSL project acknowledged the findings and coordinated disclosure, with discussion on the openssl-users and openssl-project mailing lists (OpenSSL Users Group).

Additional resources


SourceThis report was generated using AI

Related cURL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-9079CRITICAL9.8
  • cURL logocURL
  • cpe:2.3:a:haxx:curl
NoYesJul 03, 2026
CVE-2026-9546HIGH7.5
  • cURL logocURL
  • cpe:2.3:a:haxx:curl
NoYesJul 03, 2026
CVE-2026-9545HIGH7.5
  • cURL logocURL
  • curl-zsh-completion
NoYesJul 03, 2026
CVE-2026-9547HIGH7.4
  • cURL logocURL
  • libcurl4
NoYesJul 03, 2026
CVE-2026-9080HIGH7.3
  • cURL logocURL
  • cpe:2.3:a:haxx:curl
NoYesJul 03, 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