CVE-2025-69419 Out of bounds write in PKCS12_get_friendlyname() UTF-8 conversion
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- OpenSSLUbuntuDebianRed Hat
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.
Upgrade path
82 packages: 58 fixed, 24 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux openvmm(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| redhat openssl(Red Hat jboss_core_services 1.0) | All versions | No fix listed | No fix yet |
| redhat openssl(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/cert-manager-istio-csr-rhel9:1791459759(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/cert-manager-operator-bundle:1791966259(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/cert-manager-operator-rhel9:1789029076(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/jetstack-cert-manager-rhel9:1791459711(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/costmanagement/costmanagement-metrics-rhel9-operator:1770836349(Red Hat cost_management 4 el9) | All versions | No fix listed | No fix yet |
| redhat/discovery/discovery-server-rhel9:1769104765(Red Hat discovery 2 el9) | All versions | No fix listed | No fix yet |
| redhat/discovery/discovery-ui-rhel9:1769111774(Red Hat discovery 2 el9) | All versions | No fix listed | No fix yet |
| redhat/insights-proxy/insights-proxy-container-rhel9:1770740405(Red Hat insights_proxy 1.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/cds-rhel9:1773670073(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/haproxy-rhel9:1773672059(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/installer-rhel9:1770646925(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/rhua-rhel9:1773670137(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | All versions | No fix listed | No fix yet |
| ubuntu/edk2(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/edk2(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/edk2(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/edk2(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/edk2-hwe(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/edk2-hwe(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/nodejs(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| alpine/openssl(Alpine v3.17) | >= 3.0.0, < 3.0.19-r0 | 3.0.19-r0 | Fixed |
| alpine/openssl(Alpine v3.20) | >= 3.3.0, < 3.3.6-r0 | 3.3.6-r0 | Fixed |
| alpine/openssl(Alpine v3.21) | >= 3.3.0, < 3.3.6-r0 | 3.3.6-r0 | Fixed |
| alpine/openssl(Alpine v3.22) | >= 3.5.0, < 3.5.5-r0 | 3.5.5-r0 | Fixed |
| alpine/openssl(Alpine v3.23) | >= 3.5.0, < 3.5.5-r0 | 3.5.5-r0 | Fixed |
| alpine/openssl(Alpine v3.24) | >= 3.5.0, < 3.5.5-r0 | 3.5.5-r0 | Fixed |
… and 52 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux openvmm(Azure Linux:3.0) | All versions | No fix listed |
| debian/openssl(Debian:12) | < 3.0.18-1~deb12u2 | 3.0.18-1~deb12u2 |
| debian/openssl(Debian:12) | = 3.0.10-1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.10-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.11-1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.11-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.11-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.12-1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.12-2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.13-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.13-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.14-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.14-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.15-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.16-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.17-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.17-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.17-1~deb12u3 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.18-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.9-1 | No fix listed |
| debian/openssl(Debian:13) | < 3.5.4-1~deb13u2 | 3.5.4-1~deb13u2 |
| debian/openssl(Debian:13) | = 3.5.1-1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.1-1+deb13u1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.2-1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.3-1 | No fix listed |
Show 94 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/openssl(Debian:13) | = 3.5.4-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | < 3.5.5-1 | 3.5.5-1 |
| debian/openssl(Debian:14) | = 3.5.1-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.2-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.3-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1~deb13u2 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.5-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.5-1~deb13u2 | No fix listed |
| OpenSSL | >= 3.6.0, < 3.6.1 | 3.6.1 |
| OpenSSL | >= 3.5.0, < 3.5.5 | 3.5.5 |
| OpenSSL | >= 3.4.0, < 3.4.4 | 3.4.4 |
| OpenSSL | >= 3.3.0, < 3.3.6 | 3.3.6 |
| OpenSSL | >= 3.0.0, < 3.0.19 | 3.0.19 |
| OpenSSL | >= 1.1.1, < 1.1.1ze | 1.1.1ze |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | All versions | No fix listed |
| ubuntu/edk2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | < 3.0.2-0ubuntu1.21 | 3.0.2-0ubuntu1.21 |
| ubuntu/nodejs(Ubuntu:22.04) | All versions | No fix listed |
| redhat/jbcs-httpd24-apr-util(Red Hat:jboss_core_services:1::el8) | < 1.6.3-4.el8jbcs | 1.6.3-4.el8jbcs |
| redhat/jbcs-httpd24-httpd(Red Hat:jboss_core_services:1::el8) | < 2.4.62-11.el8jbcs | 2.4.62-11.el8jbcs |
| redhat/jbcs-httpd24-mod_http2(Red Hat:jboss_core_services:1::el8) | < 2.0.29-8.el8jbcs | 2.0.29-8.el8jbcs |
| redhat/jbcs-httpd24-mod_jk(Red Hat:jboss_core_services:1::el8) | < 1.2.50-12.redhat_1.el8jbcs | 1.2.50-12.redhat_1.el8jbcs |
| redhat/jbcs-httpd24-mod_md(Red Hat:jboss_core_services:1::el8) | < 1:2.4.28-13.el8jbcs | 1:2.4.28-13.el8jbcs |
| redhat/jbcs-httpd24-mod_proxy_cluster(Red Hat:jboss_core_services:1::el8) | < 1.3.22-7.el8jbcs | 1.3.22-7.el8jbcs |
| redhat/jbcs-httpd24-mod_security(Red Hat:jboss_core_services:1::el8) | < 2.9.6-14.el8jbcs | 2.9.6-14.el8jbcs |
| redhat/jbcs-httpd24-apr-util(Red Hat:jboss_core_services:1::el7) | < 1.6.3-4.el7jbcs | 1.6.3-4.el7jbcs |
| redhat/jbcs-httpd24-curl(Red Hat:jboss_core_services:1::el7) | < 8.11.0-4.el7jbcs | 8.11.0-4.el7jbcs |
| redhat/jbcs-httpd24-httpd(Red Hat:jboss_core_services:1::el7) | < 2.4.62-11.el7jbcs | 2.4.62-11.el7jbcs |
| redhat/jbcs-httpd24-mod_http2(Red Hat:jboss_core_services:1::el7) | < 2.0.29-8.el7jbcs | 2.0.29-8.el7jbcs |
| redhat/jbcs-httpd24-mod_jk(Red Hat:jboss_core_services:1::el7) | < 1.2.50-12.redhat_1.el7jbcs | 1.2.50-12.redhat_1.el7jbcs |
| redhat/jbcs-httpd24-mod_md(Red Hat:jboss_core_services:1::el7) | < 1:2.4.28-13.el7jbcs | 1:2.4.28-13.el7jbcs |
| redhat/jbcs-httpd24-mod_proxy_cluster(Red Hat:jboss_core_services:1::el7) | < 1.3.22-7.el7jbcs | 1.3.22-7.el7jbcs |
| redhat/jbcs-httpd24-mod_security(Red Hat:jboss_core_services:1::el7) | < 2.9.6-14.el7jbcs | 2.9.6-14.el7jbcs |
| redhat/jbcs-httpd24-openssl(Red Hat:jboss_core_services:1::el7) | < 1:1.1.1k-21.el7jbcs | 1:1.1.1k-21.el7jbcs |
| redhat/jbcs-httpd24-openssl-chil(Red Hat:jboss_core_services:1::el7) | < 1.0.0-25.el7jbcs | 1.0.0-25.el7jbcs |
| redhat/jbcs-httpd24-openssl-pkcs11(Red Hat:jboss_core_services:1::el7) | < 0.4.12-5.el7jbcs | 0.4.12-5.el7jbcs |
| redhat openssl(Red Hat:enterprise_linux:10.1) | < 1:3.5.1-7.el10_1 | 1:3.5.1-7.el10_1 |
| redhat openssl(Red Hat:enterprise_linux_eus:10.0) | < 1:3.2.2-16.el10_0.6 | 1:3.2.2-16.el10_0.6 |
| redhat openssl(Red Hat:enterprise_linux:8) | < 1:1.1.1k-15.el8_6 | 1:1.1.1k-15.el8_6 |
| redhat openssl(Red Hat:rhel_aus:8.2) | < 1:1.1.1c-21.el8_2.2 | 1:1.1.1c-21.el8_2.2 |
| redhat openssl(Red Hat:rhel_aus:8.4) | < 1:1.1.1g-18.el8_4.2 | 1:1.1.1g-18.el8_4.2 |
| redhat openssl(Red Hat:rhel_eus_long_life:8.4) | < 1:1.1.1g-18.el8_4.2 | 1:1.1.1g-18.el8_4.2 |
| redhat openssl(Red Hat:rhel_aus:8.6) | < 1:1.1.1k-15.el8_6 | 1:1.1.1k-15.el8_6 |
| redhat openssl(Red Hat:rhel_tus:8.6) | < 1:1.1.1k-15.el8_6 | 1:1.1.1k-15.el8_6 |
| redhat openssl(Red Hat:rhel_e4s:8.6) | < 1:1.1.1k-15.el8_6 | 1:1.1.1k-15.el8_6 |
| redhat openssl(Red Hat:rhel_tus:8.8) | < 1:1.1.1k-15.el8_6 | 1:1.1.1k-15.el8_6 |
| redhat openssl(Red Hat:rhel_e4s:8.8) | < 1:1.1.1k-15.el8_6 | 1:1.1.1k-15.el8_6 |
| redhat openssl(Red Hat:enterprise_linux:9) | < 1:3.5.1-7.el9_7 | 1:3.5.1-7.el9_7 |
| redhat/compat-openssl11(Red Hat:enterprise_linux:9) | < 1:1.1.1k-5.el9_8.2 | 1:1.1.1k-5.el9_8.2 |
| redhat/compat-openssl11(Red Hat:enterprise_linux:9) | < 1:1.1.1k-5.el9_7.1 | 1:1.1.1k-5.el9_7.1 |
| redhat openssl(Red Hat:rhel_e4s:9.0) | < 1:3.0.1-46.el9_0.7 | 1:3.0.1-46.el9_0.7 |
| redhat/compat-openssl11(Red Hat:rhel_e4s:9.0) | < 1:1.1.1k-4.el9_0.1 | 1:1.1.1k-4.el9_0.1 |
| redhat openssl(Red Hat:rhel_e4s:9.2) | < 1:3.0.7-18.el9_2.3 | 1:3.0.7-18.el9_2.3 |
| redhat/compat-openssl11(Red Hat:rhel_e4s:9.2) | < 1:1.1.1k-4.el9_2.1 | 1:1.1.1k-4.el9_2.1 |
| redhat openssl(Red Hat:rhel_eus:9.4) | < 1:3.0.7-29.el9_4.2 | 1:3.0.7-29.el9_4.2 |
| redhat/compat-openssl11(Red Hat:rhel_eus:9.4) | < 1:1.1.1k-5.el9_4.2 | 1:1.1.1k-5.el9_4.2 |
| redhat openssl(Red Hat:rhel_eus:9.6) | < 1:3.2.2-7.el9_6.2 | 1:3.2.2-7.el9_6.2 |
| redhat/compat-openssl11(Red Hat:rhel_eus:9.6) | < 1:1.1.1k-5.el9_6.2 | 1:1.1.1k-5.el9_6.2 |
| redhat openssl(Red Hat:jboss_core_services:1.0) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.12::el8) | < 8:412.86.202603041314-0 | 8:412.86.202603041314-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.13::el9) | < 9:413.92.202604080111-0 | 9:413.92.202604080111-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.14::el9) | < 9:414.92.202605060243-0 | 9:414.92.202605060243-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.15::el9) | < 9:415.92.202605060220-0 | 9:415.92.202605060220-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.16::el9) | < 9:416.94.202603231244-0 | 9:416.94.202603231244-0 |
| redhat/cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/jetstack-cert-manager-rhel9:1791459711(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-istio-csr-rhel9:1791459759(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-operator-rhel9:1789029076(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-operator-bundle:1791966259(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/costmanagement/costmanagement-metrics-rhel9-operator:1770836349(Red Hat:cost_management:4::el9) | All versions | No fix listed |
| redhat/discovery/discovery-server-rhel9:1769104765(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/discovery/discovery-ui-rhel9:1769111774(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/openssl-main(Red Hat:hummingbird:1) | < 3.5.6-0.1.hum1 | 3.5.6-0.1.hum1 |
| redhat/insights-proxy/insights-proxy-container-rhel9:1770740405(Red Hat:insights_proxy:1.5::el9) | All versions | No fix listed |
| redhat/rhui5/installer-rhel9:1770646925(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/cds-rhel9:1773670073(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/haproxy-rhel9:1773672059(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/rhua-rhel9:1773670137(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat openssl(Red Hat:rhel_els:6) | All versions | No fix listed |
| ubuntu/edk2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:24.04) | < 3.0.13-0ubuntu3.7 | 3.0.13-0ubuntu3.7 |
| ubuntu/edk2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/edk2-hwe(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:26.04) | < 3.5.5-1ubuntu1 | 3.5.5-1ubuntu1 |
| ubuntu/edk2(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/edk2-hwe(Ubuntu:26.10) | All versions | No fix listed |
| alpine/openssl(Alpine:v3.17) | >= 3.0.0, < 3.0.19-r0 | 3.0.19-r0 |
| alpine/openssl(Alpine:v3.20) | >= 3.3.0, < 3.3.6-r0 | 3.3.6-r0 |
| alpine/openssl(Alpine:v3.21) | >= 3.3.0, < 3.3.6-r0 | 3.3.6-r0 |
| alpine/openssl(Alpine:v3.22) | >= 3.5.0, < 3.5.5-r0 | 3.5.5-r0 |
| alpine/openssl(Alpine:v3.23) | >= 3.5.0, < 3.5.5-r0 | 3.5.5-r0 |
| alpine/openssl(Alpine:v3.24) | >= 3.5.0, < 3.5.5-r0 | 3.5.5-r0 |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Debian Security Tracker CVE-2025-69419 vendor-advisory
- OpenSSL Advisory vendor-advisory
- 3.6.1 git commit patch
- 3.5.5 git commit patch
- 3.4.4 git commit patch
- 3.3.6 git commit patch
- 3.0.19 git commit patch
- cert-portal.siemens.com
- Ubuntu CVE tracker vendor-advisory
- USN-7980-1 vendor-advisory
- USN-7980-2 vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:2994 patch vendor-advisory
- RHSA-2026:1472 patch vendor-advisory
- RHSA-2026:1496 patch vendor-advisory
- RHSA-2026:3042 patch vendor-advisory
- RHSA-2026:4214 patch vendor-advisory
- RHSA-2026:4163 patch vendor-advisory
- RHSA-2026:3437 patch vendor-advisory
- RHSA-2026:3364 patch vendor-advisory
- RHSA-2026:1473 patch vendor-advisory
- RHSA-2026:19187 patch vendor-advisory
- RHSA-2026:4472 patch vendor-advisory
- RHSA-2026:1733 patch vendor-advisory
- RHSA-2026:5214 patch vendor-advisory
- RHSA-2026:1594 patch vendor-advisory
- RHSA-2026:5217 patch vendor-advisory
- RHSA-2026:1519 patch vendor-advisory
- RHSA-2026:4825 patch vendor-advisory
- RHSA-2026:1503 patch vendor-advisory
- RHSA-2026:4824 patch vendor-advisory
- RHSA-2026:2995 patch vendor-advisory
- RHSA-2026:3861 patch vendor-advisory
- RHSA-2026:7239 patch vendor-advisory
- RHSA-2026:15087 patch vendor-advisory
- RHSA-2026:14773 patch vendor-advisory
- RHSA-2026:5873 patch vendor-advisory
- RHSA-2026:82347 patch vendor-advisory
- RHSA-2026:82354 patch vendor-advisory
- RHSA-2026:82372 patch vendor-advisory
- RHSA-2026:82857 patch vendor-advisory
- RHSA-2026:3228 patch vendor-advisory
- RHSA-2026:1736 patch vendor-advisory
- RHSA-2026:7261 patch vendor-advisory
- RHSA-2026:2485 patch vendor-advisory
- RHSA-2026:2563 patch vendor-advisory
- RHSA-2026:4943 patch vendor-advisory
- Red Hat Bugzilla 2430386 issue-tracking
- nvd.nist.gov
- security.alpinelinux.org vendor-advisory
- Release and Advisory Timeline vendor-advisory
- Security advisory list (json) vendor-advisory
- ENISA EUVD EUVD-2025-206395 third-party-advisory