CVE-2025-11187
Fixed in a distro release EPSS 5%CVSS 6.1
Issue summary: PBMAC1 parameters in PKCS#12 files are missing validation which can trigger a stack-based buffer overflow, invalid pointer or NULL pointer dereference during MAC verification. Impact summary: The stack buffer overflow or NULL pointer dereference may cause a crash leading to Denial of Service for an application that parses untrusted PKCS#12 files. The buffer overflow may also potentially enable code execution depending on platform mitigations. When verifying a PKCS#12 file that uses PBMAC1 for the MAC, the PBKDF2 salt and keylength parameters from the file are used without validation. If the value of keylength exceeds the size of the fixed stack buffer used for the derived key (64 bytes), the key derivation will overflow the buffer. The overflow length is attacker-controlled. Also, if the salt parameter is not an OCTET STRING type this can lead to invalid or NULL pointer dereference. Exploiting this issue requires a user or application to process a maliciously crafted PKCS#12 file. It is uncommon to accept untrusted PKCS#12 files in applications as they are usually used to store private keys which are trusted by definition. For this reason the issue was assessed as Moderate severity. The FIPS modules in 3.6, 3.5 and 3.4 are not affected by this issue, as PKCS#12 processing is outside the OpenSSL FIPS module boundary. OpenSSL 3.6, 3.5 and 3.4 are vulnerable to this issue. OpenSSL 3.3, 3.0, 1.1.1 and 1.0.2 are not affected by this issue as they do not support PBMAC1 in PKCS#12.
Products: OpenSSL
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | openssl | 1:3.5.1-7.el10_1.alma.1 |
| AlmaLinux 10 | openssl-devel | 1:3.5.1-7.el10_1.alma.1 |
| AlmaLinux 10 | openssl-libs | 1:3.5.1-7.el10_1.alma.1 |
| AlmaLinux 10 | openssl-perl | 1:3.5.1-7.el10_1.alma.1 |
| AlmaLinux 9 | openssl | 1:3.5.1-7.el9_7 |
| AlmaLinux 9 | openssl-devel | 1:3.5.1-7.el9_7 |
| AlmaLinux 9 | openssl-libs | 1:3.5.1-7.el9_7 |
| AlmaLinux 9 | openssl-perl | 1:3.5.1-7.el9_7 |
| Alpine 3.22 | openssl | 3.5.5-r0 |
| Alpine 3.23 | openssl | 3.5.5-r0 |
| Alpine 3.24 | openssl | 3.5.5-r0 |
| Chainguard | libcrypto3-2.34 | 3.6.1-r0 |
| Chainguard | openssl | 3.6.1-r0 |
| Chainguard | openssl-provider-fips-3.4.0 | 0 |
| Chainguard | openssl-provider-fips-3.6.0 | 0 |
| Debian 13 | openssl | 3.5.4-1~deb13u2 |
| Debian 14 | openssl | 3.5.5-1 |
| Red Hat Enterprise Linux 10.1 | openssl | 1:3.5.1-7.el10_1 |
| Red Hat Enterprise Linux 10.1 | openssl-debuginfo | 1:3.5.1-7.el10_1 |
| Red Hat Enterprise Linux 10.1 | openssl-debugsource | 1:3.5.1-7.el10_1 |
| Red Hat Enterprise Linux 10.1 | openssl-devel | 1:3.5.1-7.el10_1 |
| Red Hat Enterprise Linux 10.1 | openssl-libs | 1:3.5.1-7.el10_1 |
| Red Hat Enterprise Linux 10.1 | openssl-libs-debuginfo | 1:3.5.1-7.el10_1 |
| Red Hat Enterprise Linux 10.1 | openssl-perl | 1:3.5.1-7.el10_1 |
| Red Hat Enterprise Linux 9 | openssl | 1:3.5.1-7.el9_7 |
| Red Hat Enterprise Linux 9 | openssl-debuginfo | 1:3.5.1-7.el9_7 |
| Red Hat Enterprise Linux 9 | openssl-debugsource | 1:3.5.1-7.el9_7 |
| Red Hat Enterprise Linux 9 | openssl-devel | 1:3.5.1-7.el9_7 |
| Red Hat Enterprise Linux 9 | openssl-libs | 1:3.5.1-7.el9_7 |
| Red Hat Enterprise Linux 9 | openssl-libs-debuginfo | 1:3.5.1-7.el9_7 |
| Red Hat Enterprise Linux 9 | openssl-perl | 1:3.5.1-7.el9_7 |
| Red Hat Enterprise Linux eus 10.0 | openssl | 1:3.2.2-16.el10_0.6 |
| Red Hat Enterprise Linux eus 10.0 | openssl-devel | 1:3.2.2-16.el10_0.6 |
| Red Hat Enterprise Linux eus 10.0 | openssl-libs | 1:3.2.2-16.el10_0.6 |
| Red Hat Enterprise Linux eus 10.0 | openssl-perl | 1:3.2.2-16.el10_0.6 |
| Red Hat hummingbird 1 | openssl | 0:3.5.6-0.1.hum1 |
| Red Hat hummingbird 1 | openssl-config-fips | 0:3.5.6-0.1.hum1 |
| Red Hat hummingbird 1 | openssl-devel | 0:3.5.6-0.1.hum1 |
| Red Hat hummingbird 1 | openssl-devel-engine | 0:3.5.6-0.1.hum1 |
| Red Hat hummingbird 1 | openssl-libs | 0:3.5.6-0.1.hum1 |
| Red Hat hummingbird 1 | openssl-perl | 0:3.5.6-0.1.hum1 |
| Rocky Linux 10 | openssl | 1:3.5.1-7.el10_1 |
| Rocky Linux 9 | openssl | 1:3.5.1-7.el9_7 |
| SUSE Linux Enterprise Live Patching 15 SP6 | openssl-3-livepatches | 0.4-150600.13.11.1 |
| SUSE Linux Enterprise Live Patching 15 SP7 | openssl-3-livepatches | 0.4-150700.16.6.1 |
| SUSE Linux Enterprise Server 16.0 | openssl-3 | 3.5.0-160000.5.1 |
| SUSE Linux Enterprise Server 16.0 | openssl-3-livepatches | 0.3-160000.1.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | openssl-3 | 3.5.0-160000.5.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | openssl-3-livepatches | 0.3-160000.1.1 |
| SUSE Linux Micro 6.1 | openssl-3-livepatches | 0.4-slfo.1.1_1.1 |
| SUSE Linux Micro 6.2 | openssl-3 | 3.5.0-160000.5.1 |
| SUSE Linux Micro 6.2 | openssl-3-livepatches | 0.3-160000.1.1 |
| Ubuntu 22.04 LTS | openssl | 3.0.2-0ubuntu1.21 |
| Ubuntu 24.04 LTS | openssl | 3.0.13-0ubuntu3.7 |
| Ubuntu 25.10 | openssl | 3.5.3-1ubuntu3 |
| Ubuntu 26.04 LTS | openssl | 3.5.5-1ubuntu1 |
| Ubuntu Pro 16.04 LTS | nodejs | no fix |
| Ubuntu Pro 18.04 LTS | nodejs | no fix |
| Ubuntu Pro 22.04 LTS | nodejs | no fix |
| Wolfi | openssl | 3.6.1-r0 |
| openSUSE Leap 16.0 | openssl-3 | 3.5.0-160000.5.1 |
| openSUSE Tumbleweed | openssl-3 | 3.5.3-2.1 |