CVE-2025-11187: Improper validation of PBMAC1 parameters in PKCS#12 MAC verification

CVE-2025-11187 affects 10 listed versions of OpenSSL in the Dawnsentry catalogue.

6.1CVSS medium
Proof of concept publicexploitation
7%EPSS (next 30 days)
27 January 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

OpenSSL

10 of 117 listed versions are affected. Fixed in 3.6.1, 3.5.5, 3.4.4. The newest release, 4.1.1, is not affected.

3.6.0 3.5.4 3.5.3 3.5.2 3.5.1 3.5.0 3.4.3 3.4.2 3.4.1 3.4.0

What it is

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.

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H (OpenSSL)

Published by OpenSSL on 27 January 2026. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2025-11187 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.