CVE-2025-11187
Last modified
CVE-2025-11187 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.52% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openssl | Openssl | >= 3.4.0, < 3.4.4 |
| Openssl | Openssl | >= 3.5.0, < 3.5.5 |
| Openssl | Openssl | >= 3.6.0, < 3.6.1 |
References
- https://openssl-library.org/news/secadv/20260127.txtVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-11187?
How severe is CVE-2025-11187?
How do I fix CVE-2025-11187?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-1118A flaw was found in grub2. Grub's dump command is not blocke…4.4
- CVE-2025-11182Improper Limitation of a Pathname to a Restricted Directory …7.1
- CVE-2025-11183Cross-Site Scripting vulnerability in attribute table in QGI…6.9
- CVE-2025-11184Cross-site scripting vulnerability in QGIS QWC2 Registration…6.9
- CVE-2025-11185The Complianz – GDPR/CCPA Cookie Consent plugin for WordPres…6.4
- CVE-2025-11186The Cookie Notice & Compliance for GDPR / CCPA plugin for Wo…6.4
- CVE-2025-11188The Kiwire Captive Portal contains a blind SQL injection in …7.3
- CVE-2025-11189The Kiwire Captive Portal contains a reflected cross-site sc…7.3
- CVE-2025-1119The Appointment Booking Calendar — Simply Schedule Appointme…7.3
- CVE-2025-11190The Kiwire Captive Portal contains an open redirection issue…5.4
- CVE-2025-11191The RealPress WordPress plugin before 1.1.0 registers the R…5.3
- CVE-2025-11192A vulnerability in Extreme Networks’ Fabric Engine (VOSS) be…8.6
Are you affected by CVE-2025-11187?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
