Vulnerability · Published Jan 27, 2026 · Assigned by openssl

CVE-2025-69419Out of bounds write in PKCS12_get_friendlyname() UTF-8 conversion

High 7.4

In plain English

A high-severity out-of-bounds write in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.6%top 50.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

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 & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9compat-openssl111:1.1.1k-5.el9_8.2ALSA-2026:19187
AlmaLinux:9compat-openssl111:1.1.1k-5.el9_7.1ALSA-2026:4472
AlmaLinux:10openssl1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:8openssl1:1.1.1k-15.el8_6ALSA-2026:3042
AlmaLinux:9openssl1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-devel1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:8openssl-devel1:1.1.1k-15.el8_6ALSA-2026:3042
AlmaLinux:9openssl-devel1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-libs1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:8openssl-libs1:1.1.1k-15.el8_6ALSA-2026:3042
AlmaLinux:9openssl-libs1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-perl1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:8openssl-perl1:1.1.1k-15.el8_6ALSA-2026:3042
AlmaLinux:9openssl-perl1:3.5.1-7.el9_7ALSA-2026:1473
Alpine:v3.20openssl3.3.6-r0ALPINE-CVE-2025-69419
Alpine:v3.21openssl3.3.6-r0ALPINE-CVE-2025-69419
Alpine:v3.22openssl3.5.5-r0ALPINE-CVE-2025-69419
Alpine:v3.23openssl3.5.5-r0ALPINE-CVE-2025-69419
Alpine:v3.24openssl3.5.5-r0ALPINE-CVE-2025-69419
Debian:12openssl3.0.18-1~deb12u2DEBIAN-CVE-2025-69419
Debian:12openssl3.0.18-1~deb12u2DSA-6113-1
Debian:13openssl3.5.4-1~deb13u2DEBIAN-CVE-2025-69419
Debian:13openssl3.5.4-1~deb13u2DSA-6113-1
Debian:14openssl3.5.5-1DEBIAN-CVE-2025-69419
Rocky Linux:9compat-openssl111:1.1.1k-5.el9_8.2RLSA-2026:19187
Rocky Linux:9compat-openssl111:1.1.1k-5.el9_6.1RLSA-2026:4472
Rocky Linux:10openssl1:3.5.1-7.el10_1RLSA-2026:1472
Rocky Linux:8openssl1:1.1.1k-15.el8_10RLSA-2026:3042
Rocky Linux:9openssl1:3.5.1-7.el9_7RLSA-2026:1473
Ubuntu:22.04:LTSedk2no fix listedUBUNTU-CVE-2025-69419
Ubuntu:24.04:LTSedk2no fix listedUBUNTU-CVE-2025-69419
Ubuntu:25.10edk2no fix listedUBUNTU-CVE-2025-69419
Ubuntu:26.04:LTSedk2no fix listedUBUNTU-CVE-2025-69419
Ubuntu:26.10edk2no fix listedUBUNTU-CVE-2025-69419
Ubuntu:26.04:LTSedk2-hweno fix listedUBUNTU-CVE-2025-69419
Ubuntu:26.10edk2-hweno fix listedUBUNTU-CVE-2025-69419
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.21UBUNTU-CVE-2025-69419
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.21USN-7980-1
Ubuntu:24.04:LTSopenssl3.0.13-0ubuntu3.7UBUNTU-CVE-2025-69419
Ubuntu:24.04:LTSopenssl3.0.13-0ubuntu3.7USN-7980-1
Ubuntu:25.10openssl3.5.3-1ubuntu3USN-7980-1
Ubuntu:25.10openssl3.5.3-1ubuntu3UBUNTU-CVE-2025-69419
Ubuntu:26.04:LTSopenssl3.5.5-1ubuntu1UBUNTU-CVE-2025-69419

Affected products (as reported)

VendorProductVersions
OpenSSL OpenSSL 3.6.0 – before 3.6.13.5.0 – before 3.5.53.4.0 – before 3.4.43.3.0 – before 3.3.63.0.0 – before 3.0.191.1.1 – before 1.1.1ze

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

References