CVEfocus › CVE database › CVE-2025-69419

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

CVSS 7.4 HighEPSS 0.7% (higher than 46% of CVEs)Published 2026-01-27Updated 2026-10-15Assigner: openssl

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.

CWE-787

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

43Fixed
14Fix pending
4Under investigation
1Will not fix
43Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10edk2Fix pendingUBUNTU-CVE-2025-69419
Ubuntu 26.10edk2-hweFix pendingUBUNTU-CVE-2025-69419
Ubuntu 26.04edk2Under investigationUBUNTU-CVE-2025-69419
Ubuntu 26.04edk2-hweUnder investigationUBUNTU-CVE-2025-69419
Ubuntu 26.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 26.04opensslFixed3.5.5-1ubuntu1UBUNTU-CVE-2025-69419
Ubuntu 25.10edk2Will not fix
edk2 in jammy embeds OpenSSL 1.1.1j edk2 in noble embeds OpenSSL 3.0.9 edk2 in plucky embeds OpenSSL 3.4.0 edk2 in questing embeds OpenSSL 3.4.0 3.6, 3.5,…
UBUNTU-CVE-2025-69419
Ubuntu 25.10nodejsNot affected
vulnerable_code_not_present
Ubuntu 25.10opensslFixed3.5.3-1ubuntu3UBUNTU-CVE-2025-69419
Ubuntu 24.04edk2Under investigationUBUNTU-CVE-2025-69419
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04opensslFixed3.0.13-0ubuntu3.7UBUNTU-CVE-2025-69419
Ubuntu 22.04edk2Under investigationUBUNTU-CVE-2025-69419
Ubuntu 22.04nodejsFix pendingUBUNTU-CVE-2025-69419
Ubuntu 22.04opensslFixed3.0.2-0ubuntu1.21UBUNTU-CVE-2025-69419
Ubuntu 20.04edk2Fix pendingUBUNTU-CVE-2025-69419
Ubuntu 20.04opensslFix pending1.1.1f-1ubuntu2.24+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-69419
Ubuntu 18.04edk2Fix pendingUBUNTU-CVE-2025-69419
Ubuntu 18.04nodejsFix pendingUBUNTU-CVE-2025-69419
Ubuntu 18.04opensslFix pending1.1.1-1ubuntu2.1~18.04.23+esm7 (Ubuntu Pro)UBUNTU-CVE-2025-69419
Ubuntu 16.04edk2Fix pendingUBUNTU-CVE-2025-69419
Ubuntu 16.04nodejsFix pendingUBUNTU-CVE-2025-69419
Debian 14opensslFixed3.5.5-1DEBIAN-CVE-2025-69419
Debian 13opensslFixed3.5.4-1~deb13u2DEBIAN-CVE-2025-69419
Debian 12opensslFixed3.0.18-1~deb12u2DEBIAN-CVE-2025-69419
Red Hat Enterprise Linux 10edk2Not affected
Red Hat Enterprise Linux 10edk2-aarch64Not affected
Red Hat Enterprise Linux 10edk2-ovmfNot affected
Red Hat Enterprise Linux 10edk2-toolsNot affected
Red Hat Enterprise Linux 10edk2-tools-docNot affected
Red Hat Enterprise Linux 10mokutilNot affected
Red Hat Enterprise Linux 10opensslFixed1:3.5.1-7.el10_1RHSA-2026:1472
Red Hat Enterprise Linux 10openssl-develFixed1:3.5.1-7.el10_1RHSA-2026:1472
Red Hat Enterprise Linux 10openssl-libsFixed1:3.5.1-7.el10_1RHSA-2026:1472
Red Hat Enterprise Linux 10openssl-perlFixed1:3.5.1-7.el10_1RHSA-2026:1472
Red Hat Enterprise Linux 10shim-aa64Not affected
Red Hat Enterprise Linux 10shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 10shim-unsigned-x64Not affected
Red Hat Enterprise Linux 10shim-x64Not affected
Red Hat Enterprise Linux 9compat-openssl11Fixed1:1.1.1k-5.el9_8.2RHSA-2026:4472
Red Hat Enterprise Linux 9edk2Not affected
Red Hat Enterprise Linux 9edk2-aarch64Not affected
Red Hat Enterprise Linux 9edk2-ovmfNot affected
Red Hat Enterprise Linux 9edk2-toolsNot affected
Red Hat Enterprise Linux 9edk2-tools-docNot affected
Red Hat Enterprise Linux 9opensslFixed1:3.5.1-7.el9_7RHSA-2026:1473
Red Hat Enterprise Linux 9openssl-develFixed1:3.5.1-7.el9_7RHSA-2026:1473
Red Hat Enterprise Linux 9openssl-libsFixed1:3.5.1-7.el9_7RHSA-2026:1473
Red Hat Enterprise Linux 9openssl-perlFixed1:3.5.1-7.el9_7RHSA-2026:1473
Red Hat Enterprise Linux 9shimNot affected
Red Hat Enterprise Linux 9shim-aa64Not affected
Red Hat Enterprise Linux 9shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 9shim-unsigned-x64Not affected
Red Hat Enterprise Linux 9shim-x64Not affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8edk2-aarch64Not affected
Red Hat Enterprise Linux 8edk2-ovmfNot affected
Red Hat Enterprise Linux 8mingw-opensslNot affected
Red Hat Enterprise Linux 8mingw32-opensslNot affected
Red Hat Enterprise Linux 8mingw64-opensslNot affected
Red Hat Enterprise Linux 8opensslFixed1:1.1.1k-15.el8_6RHSA-2026:3042
Red Hat Enterprise Linux 8openssl-develFixed1:1.1.1k-15.el8_6RHSA-2026:3042
Red Hat Enterprise Linux 8openssl-libsFixed1:1.1.1k-15.el8_6RHSA-2026:3042
Red Hat Enterprise Linux 8openssl-perlFixed1:1.1.1k-15.el8_6RHSA-2026:3042
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 8shim-aa64Not affected
Red Hat Enterprise Linux 8shim-ia32Not affected
Red Hat Enterprise Linux 8shim-unsigned-x64Not affected
Red Hat Enterprise Linux 8shim-x64Not affected
Red Hat Enterprise Linux 7AAVMFNot affected
Red Hat Enterprise Linux 7OVMFNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7openssl-develNot affected
Red Hat Enterprise Linux 7openssl-libsNot affected
Red Hat Enterprise Linux 7openssl-perlNot affected
Red Hat Enterprise Linux 7openssl-staticNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 6opensslFix pending
Fix deferred
Red Hat Enterprise Linux 6openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 6openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 6openssl-staticFix pending
Fix deferred
AlmaLinux 10opensslFixed1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux 10openssl-develFixed1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux 10openssl-libsFixed1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux 10openssl-perlFixed1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux 9compat-openssl11Fixed1:1.1.1k-5.el9_8.2ALSA-2026:4472
AlmaLinux 9opensslFixed1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux 9openssl-develFixed1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux 9openssl-libsFixed1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux 9openssl-perlFixed1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux 8opensslFixed1:1.1.1k-15.el8_6ALSA-2026:3042
AlmaLinux 8openssl-develFixed1:1.1.1k-15.el8_6ALSA-2026:3042
AlmaLinux 8openssl-libsFixed1:1.1.1k-15.el8_6ALSA-2026:3042
AlmaLinux 8openssl-perlFixed1:1.1.1k-15.el8_6ALSA-2026:3042
Rocky Linux 10opensslFixed1:3.5.1-7.el10_1RLSA-2026:1472
Rocky Linux 9compat-openssl11Fixed1:1.1.1k-5.el9_8.2RLSA-2026:4472
Rocky Linux 9opensslFixed1:3.5.1-7.el9_7RLSA-2026:1473
Rocky Linux 8opensslFixed1:1.1.1k-15.el8_10RLSA-2026:3042
Alpine Linux 3.24opensslFixed3.5.5-r0ALPINE-CVE-2025-69419
Alpine Linux 3.23opensslFixed3.5.5-r0ALPINE-CVE-2025-69419
Alpine Linux 3.22opensslFixed3.5.5-r0ALPINE-CVE-2025-69419
Alpine Linux 3.21opensslFixed3.3.6-r0ALPINE-CVE-2025-69419
Alpine Linux 3.20opensslFixed3.3.6-r0ALPINE-CVE-2025-69419
Alpine Linux 3.17opensslFixed3.0.19-r0ALPINE-CVE-2025-69419

What the vendor says

As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.