cve.bz

CVE-2025-11187 openssl openssl: NULL Pointer Dereference

6.1 mediumEPSS 5.2%Fix available

Medium (6.1) in openssl openssl. EPSS 5.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
EPSS
5.2% (unchanged from 5.2% a week ago; 5.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-03-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-476 NULL Pointer Dereference
CWE-787 Out-of-bounds Write
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-11187 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-11187?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-11187?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-11187 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenSSLfrom 3.6.0 before 3.6.1
OpenSSLfrom 3.5.0 before 3.5.5
OpenSSLfrom 3.4.0 before 3.4.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13openssl3.5.4-1~deb13u2DEBIAN-CVE-2025-11187
Debian14openssl3.5.5-1DEBIAN-CVE-2025-11187
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.21USN-7980-1
Ubuntu24.04:LTSopenssl3.0.13-0ubuntu3.7USN-7980-1
Ubuntu25.10openssl3.5.3-1ubuntu3UBUNTU-CVE-2025-11187 USN-7980-1
Ubuntu26.04:LTSopenssl3.5.5-1ubuntu1UBUNTU-CVE-2025-11187
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:22.04:LTSnodejsno fix listedUBUNTU-CVE-2025-11187
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.5.1-7.el9_7RHSA-2026:1473
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.5.1-7.el9_7RHSA-2026:1473
Red Hatenterprise_linux:10.1openssl, openssl-libs, openssl-perl and 4 more1:3.5.1-7.el10_1RHSA-2026:1472
Red Hatenterprise_linux_eus:10.0openssl, openssl-libs, openssl-perl and 1 more1:3.2.2-16.el10_0.6RHSA-2026:1496
Red Hathummingbird:1openssl, openssl-libs, openssl-perl and 3 more0:3.5.6-0.1.hum1RHSA-2026:7261
SUSELinux Enterprise Live Patching 15 SP6openssl-3-livepatches0.4-150600.13.11.1SUSE-SU-2026:2411-1
SUSELinux Enterprise Live Patching 15 SP7openssl-3-livepatches0.4-150700.16.6.1SUSE-SU-2026:2662-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0openssl-33.5.0-160000.5.1SUSE-SU-2026:20223-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0openssl-3-livepatches0.3-160000.1.1SUSE-SU-2026:20607-1
SUSELinux Micro 6.1openssl-3-livepatches0.4-slfo.1.1_1.1SUSE-SU-2026:22143-1
SUSELinux Micro 6.2openssl-33.5.0-160000.5.1SUSE-SU-2026:20211-1
SUSELinux Micro 6.2openssl-3-livepatches0.3-160000.1.1SUSE-SU-2026:20542-1
openSUSELeap 16.0openssl-33.5.0-160000.5.1openSUSE-SU-2026:20152-1
openSUSETumbleweedopenssl-33.5.3-2.1openSUSE-SU-2026:10237-1
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux10openssl, openssl-libs, openssl-perl and 1 more1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
Rocky Linux9openssl1:3.5.1-7.el9_7RLSA-2026:1473
Rocky Linux10openssl1:3.5.1-7.el10_1RLSA-2026:1472
Alpinev3.22, v3.23, v3.24openssl3.5.5-r0ALPINE-CVE-2025-11187
Alpaquita25, streamopenssl3.5.5-r0BELL-CVE-2025-11187
BellSoft Hardened Containers25, streamopenssl3.5.5-r0BELL-CVE-2025-11187

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat. It affects OpenSSL versions 3.6, 3.5, and 3.4, where improper validation of PBMAC1 parameters in PKCS#12 MAC verification can lead to a stack buffer overflow or NULL pointer dereference. Exploitation requires an application to process a maliciously crafted PKCS#12 file, which is uncommon as these files are typically trusted. OpenSSL versions 3.3, 3.0, 1.1.1, and 1.0.2 are not affected as they do not support PBMAC1 in PKCS#12.

Red Hat's mitigation

To mitigate this issue, avoid processing untrusted PKCS#12 files. Applications should only handle PKCS#12 files from trusted sources, as these files are typically used for storing private keys and are expected to be secure.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10openssl-1:3.5.1-7.el10_1Fixed 2026-01-28RHSA-2026:1472
Red Hat Enterprise Linux 10.0 Extended Update Supportopenssl-1:3.2.2-16.el10_0.6Fixed 2026-01-28RHSA-2026:1496
Red Hat Enterprise Linux 9openssl-1:3.5.1-7.el9_7Fixed 2026-01-28RHSA-2026:1473
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707Fixed 2026-10-13RHSA-2026:82347
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-rhel9:1791459711Fixed 2026-10-13RHSA-2026:82347
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-istio-csr-rhel9:1791459759Fixed 2026-10-13RHSA-2026:82354
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-operator-rhel9:1789029076Fixed 2026-10-13RHSA-2026:82372
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-operator-bundle:1791966259Fixed 2026-10-14RHSA-2026:82857
Cost Management 4costmanagement/costmanagement-metrics-rhel9-operator:1770836349Fixed 2026-02-24RHSA-2026:3228
Red Hat Discovery 2discovery/discovery-server-rhel9:1769104765Fixed 2026-02-02RHSA-2026:1736
Red Hat Enterprise Linux 10edk2Fix deferred
Red Hat Enterprise Linux 10shimFix deferred
Red Hat Enterprise Linux 10shim-unsigned-aarch64Fix deferred
Red Hat Enterprise Linux 10shim-unsigned-x64Fix deferred
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8mingw-opensslNot affected
18 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-11187.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • metadust/CVE-2025-11187 Harbor Check: matches CVE 0 stars, C, created
    Stack buffer overflow in PKCS#12 PBMAC1 PBKDF2 keylength (OpenSSL 3.X)

References

Check your stackJSON