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 openssl-perlUpgrade compat-openssl11Upgrade openssl-develUpgrade openssl-libsUpgrade openssl | Feb 3, 2026 | Jan 28, 2026 |
| Alpine Linux | — | Upgrade openssl | Jan 28, 2026 | Jan 27, 2026 |
| Amazon Linux Ami 2 | — | Upgrade edk2-debuginfoUpgrade edk2-aarch64Upgrade openssl11-staticUpgrade edk2-toolsUpgrade openssl11-libsUpgrade openssl11Upgrade openssl11-develUpgrade edk2-ovmfUpgrade openssl11-debuginfoUpgrade edk2-tools-doc | May 20, 2026 | May 20, 2026 |
| Amazon_linux_2023 | — | Upgrade openssl-debuginfoUpgrade aws-cfn-bootstrapUpgrade openssl-debugsourceUpgrade openssl-snapsafe-libs-debuginfoUpgrade openssl-fips-provider-latestUpgrade openssl-develUpgrade opensslUpgrade openssl-libs-debuginfoUpgrade openssl-snapsafe-libsUpgrade openssl-libsUpgrade openssl-fips-provider-latest-debuginfoUpgrade openssl-perl | 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 FreeBSDUpgrade openssl34Upgrade opensslUpgrade openssl33Upgrade openssl36Upgrade openssl35 | 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 openssl-libsUpgrade opensslUpgrade compat-openssl11 | Jan 30, 2026 | Jan 27, 2026 |
| Redhat Openshift | — | Upgrade ose-rhel-coreos | Aug 10, 2026 | Jan 27, 2026 |
| Redhat_linux | — | Upgrade openssl-libs-debuginfoUpgrade openssl-debuginfoUpgrade openssl-debugsourceUpgrade compat-openssl11-debuginfoUpgrade openssl-develUpgrade compat-openssl11Upgrade openssl-libsNo solution existsUpgrade openssl-perlUpgrade compat-openssl11-debugsourceUpgrade openssl | Jan 29, 2026 | Jan 27, 2026 |
| Rocky_linux | — | Upgrade openssl-debugsourceUpgrade openssl-develUpgrade compat-openssl11-debugsourceUpgrade openssl-debuginfoUpgrade compat-openssl11Upgrade openssl-libs-debuginfoUpgrade compat-openssl11-debuginfoUpgrade openssl-perlUpgrade opensslUpgrade openssl-libs | Feb 2, 2026 | Jan 30, 2026 |
| Ubuntu | — | Upgrade libssl1.1 (Ubuntu Pro)Upgrade libssl3Upgrade libssl1.0.0 (Ubuntu Pro)Upgrade opensslUpgrade libssl3t64Upgrade openssl1.0 (Ubuntu Pro)Upgrade openssl (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