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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade compat-openssl11Upgrade openssl-develUpgrade openssl-libsUpgrade openssl-perlUpgrade openssl | Feb 3, 2026 | Jan 28, 2026 |
| Alpine Linux | — | Upgrade openssl | Jan 28, 2026 | Jan 27, 2026 |
| Amazon Linux Ami 2 | — | Upgrade openssl11-libsUpgrade openssl11-staticUpgrade edk2-debuginfoUpgrade edk2-aarch64Upgrade edk2-toolsUpgrade openssl11-develUpgrade openssl11Upgrade edk2-ovmfUpgrade openssl11-debuginfoUpgrade edk2-tools-doc | May 20, 2026 | May 20, 2026 |
| Amazon_linux_2023 | — | Upgrade openssl-libsUpgrade openssl-perlUpgrade openssl-fips-provider-latest-debuginfoUpgrade openssl-debuginfoUpgrade openssl-fips-provider-latestUpgrade openssl-libs-debuginfoUpgrade openssl-snapsafe-libs-debuginfoUpgrade openssl-snapsafe-libsUpgrade openssl-debugsourceUpgrade openssl-develUpgrade opensslUpgrade aws-cfn-bootstrap | Feb 20, 2026 | Jan 27, 2026 |
| Debian | — | Upgrade openssl | Jan 29, 2026 | Jan 29, 2026 |
| Dell Idrac | — | Upgrade Dell iDRAC to the latest version | Apr 29, 2026 | Apr 28, 2026 |
| Freebsd | — | Upgrade openssl33Upgrade openssl36Upgrade opensslUpgrade openssl35Upgrade openssl34Upgrade FreeBSD | Jan 28, 2026 | Jan 27, 2026 |
| Http Openssl | — | Upgrade to the latest version of OpenSSL | Mar 5, 2026 | Jan 27, 2026 |
| Ibm Aix | — | Apply the fix or workaround for openssl_advisory46 | Mar 10, 2026 | Mar 9, 2026 |
| Nutanix Ahv | — | Upgrade Nutanix AHV to the latest version | Jun 5, 2026 | May 12, 2026 |
| Oracle_linux | — | Upgrade openssl-perlUpgrade openssl-staticUpgrade openssl-develUpgrade opensslUpgrade compat-openssl11Upgrade openssl-libs | Jan 30, 2026 | Jan 27, 2026 |
| Redhat Openshift | — | Upgrade ose-rhel-coreos | Aug 10, 2026 | Jan 27, 2026 |
| Redhat_linux | — | Upgrade openssl-perlUpgrade openssl-libsUpgrade opensslUpgrade compat-openssl11-debugsourceNo solution existsUpgrade compat-openssl11Upgrade compat-openssl11-debuginfoUpgrade openssl-libs-debuginfoUpgrade openssl-debuginfoUpgrade openssl-develUpgrade openssl-debugsource | Jan 29, 2026 | Jan 27, 2026 |
| Rocky_linux | — | Upgrade openssl-debuginfoUpgrade compat-openssl11-debugsourceUpgrade openssl-debugsourceUpgrade openssl-develUpgrade compat-openssl11Upgrade openssl-perlUpgrade compat-openssl11-debuginfoUpgrade openssl-libsUpgrade openssl-libs-debuginfoUpgrade openssl | Feb 2, 2026 | Jan 30, 2026 |
| Ubuntu | — | Upgrade libssl1.1 (Ubuntu Pro)Upgrade libssl3Upgrade openssl (Ubuntu Pro)Upgrade libssl3t64Upgrade libssl1.0.0 (Ubuntu Pro)Upgrade opensslUpgrade openssl1.0 (Ubuntu Pro) | Jan 28, 2026 | Jan 27, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Jan 27, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub