{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-11187","assignerOrgId":"3a12439a-ef3a-4c79-92e6-6081a721f1e5","state":"PUBLISHED","assignerShortName":"openssl","dateReserved":"2025-09-30T09:29:44.018Z","datePublished":"2026-01-27T15:59:41.681Z","dateUpdated":"2026-03-20T14:07:14.610Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"OpenSSL","vendor":"OpenSSL","versions":[{"lessThan":"3.6.1","status":"affected","version":"3.6.0","versionType":"semver"},{"lessThan":"3.5.5","status":"affected","version":"3.5.0","versionType":"semver"},{"lessThan":"3.4.4","status":"affected","version":"3.4.0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"Stanislav Fort (Aisle Research)"},{"lang":"en","type":"reporter","value":"Petr Šimeček (Aisle Research)"},{"lang":"en","type":"reporter","value":"Hamza (Metadust)"},{"lang":"en","type":"remediation developer","value":"Tomáš Mráz"}],"datePublic":"2026-01-27T14:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Issue summary: PBMAC1 parameters in PKCS#12 files are missing validation<br>which can trigger a stack-based buffer overflow, invalid pointer or NULL<br>pointer dereference during MAC verification.<br><br>Impact summary: The stack buffer overflow or NULL pointer dereference may<br>cause a crash leading to Denial of Service for an application that parses<br>untrusted PKCS#12 files. The buffer overflow may also potentially enable<br>code execution depending on platform mitigations.<br><br>When verifying a PKCS#12 file that uses PBMAC1 for the MAC, the PBKDF2<br>salt and keylength parameters from the file are used without validation.<br>If the value of keylength exceeds the size of the fixed stack buffer used<br>for the derived key (64 bytes), the key derivation will overflow the buffer.<br>The overflow length is attacker-controlled. Also, if the salt parameter is<br>not an OCTET STRING type this can lead to invalid or NULL pointer<br>dereference.<br><br>Exploiting this issue requires a user or application to process<br>a maliciously crafted PKCS#12 file. It is uncommon to accept untrusted<br>PKCS#12 files in applications as they are usually used to store private<br>keys which are trusted by definition. For this reason the issue was assessed<br>as Moderate severity.<br><br>The FIPS modules in 3.6, 3.5 and 3.4 are not affected by this issue, as<br>PKCS#12 processing is outside the OpenSSL FIPS module boundary.<br><br>OpenSSL 3.6, 3.5 and 3.4 are vulnerable to this issue.<br><br>OpenSSL 3.3, 3.0, 1.1.1 and 1.0.2 are not affected by this issue as they do<br>not support PBMAC1 in PKCS#12."}],"value":"Issue summary: PBMAC1 parameters in PKCS#12 files are missing validation\nwhich can trigger a stack-based buffer overflow, invalid pointer or NULL\npointer dereference during MAC verification.\n\nImpact summary: The stack buffer overflow or NULL pointer dereference may\ncause a crash leading to Denial of Service for an application that parses\nuntrusted PKCS#12 files. The buffer overflow may also potentially enable\ncode execution depending on platform mitigations.\n\nWhen verifying a PKCS#12 file that uses PBMAC1 for the MAC, the PBKDF2\nsalt and keylength parameters from the file are used without validation.\nIf the value of keylength exceeds the size of the fixed stack buffer used\nfor the derived key (64 bytes), the key derivation will overflow the buffer.\nThe overflow length is attacker-controlled. Also, if the salt parameter is\nnot an OCTET STRING type this can lead to invalid or NULL pointer\ndereference.\n\nExploiting this issue requires a user or application to process\na maliciously crafted PKCS#12 file. It is uncommon to accept untrusted\nPKCS#12 files in applications as they are usually used to store private\nkeys which are trusted by definition. For this reason the issue was assessed\nas Moderate severity.\n\nThe FIPS modules in 3.6, 3.5 and 3.4 are not affected by this issue, as\nPKCS#12 processing is outside the OpenSSL FIPS module boundary.\n\nOpenSSL 3.6, 3.5 and 3.4 are vulnerable to this issue.\n\nOpenSSL 3.3, 3.0, 1.1.1 and 1.0.2 are not affected by this issue as they do\nnot support PBMAC1 in PKCS#12."}],"metrics":[{"format":"other","other":{"content":{"text":"Moderate"},"type":"https://openssl-library.org/policies/general/security-policy/"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"CWE-787 Out-of-bounds Write","lang":"en","type":"CWE"},{"cweId":"CWE-476","description":"CWE-476 NULL Pointer Dereference","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"3a12439a-ef3a-4c79-92e6-6081a721f1e5","shortName":"openssl","dateUpdated":"2026-01-27T15:59:41.681Z"},"references":[{"name":"OpenSSL Advisory","tags":["vendor-advisory"],"url":"https://openssl-library.org/news/secadv/20260127.txt"},{"name":"3.6.1 git commit","tags":["patch"],"url":"https://github.com/openssl/openssl/commit/8caf359d6e46fb413e8f5f0df765d2e8a51df4e8"},{"name":"3.5.5 git commit","tags":["patch"],"url":"https://github.com/openssl/openssl/commit/e1079bc17ed93ff16f6b86f33a2fe3336e78817e"},{"name":"3.4.4 git commit","tags":["patch"],"url":"https://github.com/openssl/openssl/commit/205e3a55e16e4bd08c12fdbd3416ab829c0f6206"}],"source":{"discovery":"UNKNOWN"},"title":"Improper validation of PBMAC1 parameters in PKCS#12 MAC verification","x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"references":[{"url":"https://github.com/metadust/CVE-2025-11187","tags":["exploit"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.1,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-03-20T03:55:43.625386Z","id":"CVE-2025-11187","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-03-20T14:07:14.610Z"}}]}}