CVEfocus › CVE database › CVE-2025-11187

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

CVSS 6.1 MediumEPSS 0.2% (higher than 7% of CVEs)Published 2026-01-27Updated 2026-03-20Assigner: openssl

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.

CWE-476CWE-787

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
24Fix pending
38Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04edk2Not affected
vulnerable_code_not_present
Ubuntu 26.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 26.04opensslFixed3.5.5-1ubuntu1UBUNTU-CVE-2025-11187
Ubuntu 25.10edk2Not affected
vulnerable_code_not_present
Ubuntu 25.10nodejsNot affected
vulnerable_code_not_present
Ubuntu 25.10opensslFixed3.5.3-1ubuntu3UBUNTU-CVE-2025-11187
Ubuntu 24.04edk2Not affected
vulnerable_code_not_present
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04opensslNot affected
vulnerable_code_not_present
Ubuntu 22.04edk2Not affected
vulnerable_code_not_present
Ubuntu 22.04nodejsFix pendingUBUNTU-CVE-2025-11187
Ubuntu 22.04opensslNot affected
vulnerable_code_not_present
Ubuntu 18.04nodejsFix pendingUBUNTU-CVE-2025-11187
Ubuntu 16.04nodejsFix pendingUBUNTU-CVE-2025-11187
Debian 14opensslFixed3.5.5-1DEBIAN-CVE-2025-11187
Debian 13opensslFixed3.5.4-1~deb13u2DEBIAN-CVE-2025-11187
Red Hat Enterprise Linux 10edk2Fix pending
Fix deferred
Red Hat Enterprise Linux 10edk2-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 10edk2-ovmfFix pending
Fix deferred
Red Hat Enterprise Linux 10edk2-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 10edk2-tools-docFix pending
Fix deferred
Red Hat Enterprise Linux 10mokutilFix pending
Fix deferred
Red Hat Enterprise Linux 10opensslFixed1:3.5.1-7.el10_1RHSA-2026:1472
Red Hat Enterprise Linux 10openssl-develFixed1:3.5.1-7.el10_1RHSA-2026:1472
Red Hat Enterprise Linux 10openssl-libsFixed1:3.5.1-7.el10_1RHSA-2026:1472
Red Hat Enterprise Linux 10openssl-perlFixed1:3.5.1-7.el10_1RHSA-2026:1472
Red Hat Enterprise Linux 10shim-aa64Fix pending
Fix deferred
Red Hat Enterprise Linux 10shim-unsigned-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 10shim-unsigned-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 10shim-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 9compat-openssl11Fix pending
Fix deferred
Red Hat Enterprise Linux 9edk2Fix pending
Fix deferred
Red Hat Enterprise Linux 9edk2-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 9edk2-ovmfFix pending
Fix deferred
Red Hat Enterprise Linux 9edk2-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 9edk2-tools-docFix pending
Fix deferred
Red Hat Enterprise Linux 9opensslFixed1:3.5.1-7.el9_7RHSA-2026:1473
Red Hat Enterprise Linux 9openssl-develFixed1:3.5.1-7.el9_7RHSA-2026:1473
Red Hat Enterprise Linux 9openssl-libsFixed1:3.5.1-7.el9_7RHSA-2026:1473
Red Hat Enterprise Linux 9openssl-perlFixed1:3.5.1-7.el9_7RHSA-2026:1473
Red Hat Enterprise Linux 9shimFix pending
Fix deferred
Red Hat Enterprise Linux 9shim-aa64Fix pending
Fix deferred
Red Hat Enterprise Linux 9shim-unsigned-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 9shim-unsigned-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 9shim-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8edk2-aarch64Not affected
Red Hat Enterprise Linux 8edk2-ovmfNot affected
Red Hat Enterprise Linux 8mingw-opensslNot affected
Red Hat Enterprise Linux 8mingw32-opensslNot affected
Red Hat Enterprise Linux 8mingw64-opensslNot affected
Red Hat Enterprise Linux 8opensslNot affected
Red Hat Enterprise Linux 8openssl-develNot affected
Red Hat Enterprise Linux 8openssl-libsNot affected
Red Hat Enterprise Linux 8openssl-perlNot affected
Red Hat Enterprise Linux 8openssl-staticNot affected
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 8shim-aa64Not affected
Red Hat Enterprise Linux 8shim-ia32Not affected
Red Hat Enterprise Linux 8shim-unsigned-x64Not affected
Red Hat Enterprise Linux 8shim-x64Not affected
Red Hat Enterprise Linux 7AAVMFNot affected
Red Hat Enterprise Linux 7OVMFNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7openssl-develNot affected
Red Hat Enterprise Linux 7openssl-libsNot affected
Red Hat Enterprise Linux 7openssl-perlNot affected
Red Hat Enterprise Linux 7openssl-staticNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 6openssl-develNot affected
Red Hat Enterprise Linux 6openssl-perlNot affected
Red Hat Enterprise Linux 6openssl-staticNot affected
AlmaLinux 10opensslFixed1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux 10openssl-develFixed1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux 10openssl-libsFixed1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux 10openssl-perlFixed1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux 9opensslFixed1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux 9openssl-develFixed1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux 9openssl-libsFixed1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux 9openssl-perlFixed1:3.5.1-7.el9_7ALSA-2026:1473
Rocky Linux 10opensslFixed1:3.5.1-7.el10_1RLSA-2026:1472
Rocky Linux 9opensslFixed1:3.5.1-7.el9_7RLSA-2026:1473
Alpine Linux 3.24opensslFixed3.5.5-r0ALPINE-CVE-2025-11187
Alpine Linux 3.23opensslFixed3.5.5-r0ALPINE-CVE-2025-11187
Alpine Linux 3.22opensslFixed3.5.5-r0ALPINE-CVE-2025-11187

What the vendor says

As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.