CVE-2025-69419
High · 7.4CVSS
7.4
EPSS
0.6%
Published
Jan 27, 2026
CISA due date
—
The record
Issue summary: Calling PKCS12_get_friendlyname() function on a maliciously crafted PKCS#12 file with a BMPString (UTF-16BE) friendly name containing non-ASCII BMP code point can trigger a one byte write before the allocated buffer. Impact summary: The out-of-bounds write can cause a memory corruption which can have various consequences including a Denial of Service. The OPENSSL_uni2utf8() function performs a two-pass conversion of a PKCS#12 BMPString (UTF-16BE) to UTF-8. In the second pass, when emitting UTF-8 bytes, the helper function bmp_to_utf8() incorrectly forwards the remaining UTF-16 source byte count as the destination buffer capacity to UTF8_putc(). For BMP code points above U+07FF, UTF-8 requires three bytes, but the forwarded capacity can be just two bytes. UTF8_putc() then returns -1, and this negative value is added to the output length without validation, causing the length to become negative. The subsequent trailing NUL byte is then written at a negative offset, causing write outside of heap allocated buffer. The vulnerability is reachable via the public PKCS12_get_friendlyname() API when parsing attacker-controlled PKCS#12 files. While PKCS12_parse() uses a different code path that avoids this issue, PKCS12_get_friendlyname() directly invokes the vulnerable function. Exploitation requires an attacker to provide a malicious PKCS#12 file to be parsed by the application and the attacker can just trigger a one zero byte write before the allocated buffer. For that reason the issue was assessed as Low severity according to our Security Policy. The FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue, as the PKCS#12 implementation is outside the OpenSSL FIPS module boundary. OpenSSL 3.6, 3.5, 3.4, 3.3, 3.0 and 1.1.1 are vulnerable to this issue. OpenSSL 1.0.2 is not affected by this issue.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:10 | openssl | 0 | 1:3.5.1-7.el10_1.alma.1 |
| AlmaLinux:10 | openssl-devel | 0 | 1:3.5.1-7.el10_1.alma.1 |
| AlmaLinux:10 | openssl-libs | 0 | 1:3.5.1-7.el10_1.alma.1 |
| AlmaLinux:10 | openssl-perl | 0 | 1:3.5.1-7.el10_1.alma.1 |
| Chainguard | libcrypto3-2.34 | 0 | 3.6.1-r0 |
| Chainguard | openssl | 0 | 3.6.1-r0 |
| Chainguard | openssl-provider-fips | 0 | 0 |
| Chainguard | openssl-provider-fips-3.1.2 | 0 | 0 |
| Chainguard | openssl-provider-fips-3.1.2 | 0 | 3.1.2-r5 |
| Chainguard | openssl-provider-fips-3.4.0 | 0 | 0 |
| Chainguard | openssl-provider-fips-3.4.0 | 0 | 3.4.0-r4 |
| Chainguard | openssl-provider-fips-3.6.0 | 0 | 0 |
| Chainguard | openssl-provider-fips-3.6.0 | 0 | 3.6.0-r2 |
| Mageia:9 | openssl | 0 | 3.0.19-1.mga9 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | openssl-3 | 0 | 3.0.8-150400.4.78.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | openssl-3 | 0 | 3.0.8-150400.4.78.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | openssl-3 | 0 | 3.0.8-150500.5.57.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | openssl-3 | 0 | 3.0.8-150500.5.57.1 |
| SUSE:Linux Enterprise Micro 5.3 | openssl-3 | 0 | 3.0.8-150400.4.78.1 |
| SUSE:Linux Enterprise Micro 5.4 | openssl-3 | 0 | 3.0.8-150400.4.78.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | openssl-3 | 0 | 3.2.3-150700.5.24.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | openssl-3 | 0 | 3.0.8-150400.4.78.1 |
| SUSE:Linux Enterprise Server 15 SP5-LTSS | openssl-3 | 0 | 3.0.8-150500.5.57.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | openssl-1_1 | 0 | 1.1.1w-150600.5.21.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | openssl-3 | 0 | 3.1.4-150600.5.42.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | openssl-3 | 0 | 3.0.8-150400.4.78.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | openssl-3 | 0 | 3.0.8-150500.5.57.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | openssl-1_1 | 0 | 1.1.1w-150600.5.21.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | openssl-3 | 0 | 3.1.4-150600.5.42.1 |
| Wolfi | openssl | 0 | 3.6.1-r0 |
| openSUSE:Leap 15.6 | openssl-1_1 | 0 | 1.1.1w-150600.5.21.1 |
| openSUSE:Leap 15.6 | openssl-3 | 0 | 3.1.4-150600.5.42.1 |
| openSUSE:Leap 16.0 | openssl-3 | 0 | 3.5.0-160000.5.1 |
| openSUSE:Tumbleweed | openssl-3 | 0 | 3.5.3-2.1 |
Related vulnerabilities
- CVE-2026-22795 Issue summary: An invalid or NULL pointer dereference can happen in an application… Also affects openssl
- CVE-2026-22796 Issue summary: A type confusion vulnerability exists in the signature verification of… Also affects openssl
- CVE-2025-69420 Issue summary: A type confusion vulnerability exists in the TimeStamp Response… Also affects openssl
- CVE-2025-69421 Issue summary: Processing a malformed PKCS#12 file can trigger a NULL pointer dereference… Also affects openssl
- CVE-2025-69418 Issue summary: When using the low-level OCB API directly with AES-NI orother… Also affects openssl
- CVE-2025-66199 Issue summary: A TLS 1.3 connection using certificate compression can be forced to… Also affects openssl
- CVE-2025-68160 Issue summary: Writing large, newline-free data into a BIO chain using the line-buffering… Also affects openssl
- CVE-2025-11187 Issue summary: PBMAC1 parameters in PKCS#12 files are missing validation which can… Also affects openssl