cbcvebase.
CVE-2025-11187
published 2026-01-27

CVE-2025-11187: Issue summary: PBMAC1 parameters in PKCS#12 files are missing validation which can trigger a stack-based buffer overflow, invalid pointer or NULL pointer…

PriorityP336medium6.1CVSS 3.1
AVLACLPRLUIRSUCLILAH
EPSS
4.52%
90.5th percentile
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.

Affected

15 ranges
VendorProductVersion rangeFixed in
debianopenssl< openssl 3.5.5-1 (forky)openssl 3.5.5-1 (forky)
opensslopenssl>= 0 < 3.5.5-r03.5.5-r0
opensslopenssl>= 0 < 3.5.5-r03.5.5-r0
opensslopenssl>= 0 < 3.5.4-1~deb13u23.5.4-1~deb13u2
opensslopenssl>= 0 < 3.5.5-13.5.5-1
opensslopenssl>= 0 < 3.0.2-0ubuntu1.213.0.2-0ubuntu1.21
opensslopenssl>= 0 < 3.0.13-0ubuntu3.73.0.13-0ubuntu3.7
opensslopenssl>= 0 < 3.5.3-1ubuntu33.5.3-1ubuntu3
opensslopenssl>= 0 < 1.0.1f-1ubuntu2.27+esm121.0.1f-1ubuntu2.27+esm12
opensslopenssl>= 0 < 1.0.2g-1ubuntu4.20+esm141.0.2g-1ubuntu4.20+esm14
opensslopenssl>= 0 < 1.1.1-1ubuntu2.1~18.04.23+esm71.1.1-1ubuntu2.1~18.04.23+esm7
opensslopenssl>= 0 < 1.1.1f-1ubuntu2.24+esm21.1.1f-1ubuntu2.24+esm2
opensslopenssl>= 3.4.0 < 3.4.43.4.4
opensslopenssl>= 3.5.0 < 3.5.53.5.5
opensslopenssl>= 3.6.0 < 3.6.13.6.1

CVSS provenance

nvdv3.16.1MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
osv6.1MEDIUM
vendor_debian6.1LOW
vendor_redhat6.1MEDIUM
vendor_ubuntu6.1MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.