Vulnerability · Published Jan 27, 2026 · Assigned by openssl

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

Medium 6.1

In plain English

A medium-severity out-of-bounds write in OpenSSL from OpenSSL. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 5.2% (higher than 93% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)5.2%top 7.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10openssl1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-devel1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl-devel1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-libs1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl-libs1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-perl1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl-perl1:3.5.1-7.el9_7ALSA-2026:1473
Alpine:v3.22openssl3.5.5-r0ALPINE-CVE-2025-11187
Alpine:v3.23openssl3.5.5-r0ALPINE-CVE-2025-11187
Alpine:v3.24openssl3.5.5-r0ALPINE-CVE-2025-11187
Debian:13openssl3.5.4-1~deb13u2DEBIAN-CVE-2025-11187
Debian:14openssl3.5.5-1DEBIAN-CVE-2025-11187
Rocky Linux:10openssl1:3.5.1-7.el10_1RLSA-2026:1472
Rocky Linux:9openssl1:3.5.1-7.el9_7RLSA-2026:1473
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.21USN-7980-1
Ubuntu:24.04:LTSopenssl3.0.13-0ubuntu3.7USN-7980-1
Ubuntu:25.10openssl3.5.3-1ubuntu3USN-7980-1
Ubuntu:25.10openssl3.5.3-1ubuntu3UBUNTU-CVE-2025-11187
Ubuntu:26.04:LTSopenssl3.5.5-1ubuntu1UBUNTU-CVE-2025-11187

Affected products (as reported)

VendorProductVersions
OpenSSL OpenSSL 3.6.0 – before 3.6.13.5.0 – before 3.5.53.4.0 – before 3.4.4

Weakness: CWE-787, CWE-476 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H

References