Issue Summary: The PKCS#12 file processing fails to perform sufficient input validation for files that use Password-Based Message Authentication Code 1 (PBMAC1) integrity mechanism allowing a certificate and private key forgery.
Impact Summary: An attacker impersonating a user can cause a service reading PKCS#12 files to accept forged certificates and private keys with a 1 in 256 probability.
If a service accepting PKCS#12 files is using passwords for authenticating the received files, the attacker can create unencrypted PKCS#12 files that use PBMAC1 authentication that specifies an HMAC key of only one byte, allowing them to craft a file that will be accepted with a 1 in 256 probability. That would then cause the service to accept a certificate and private key controlled by the attacker.
The FIPS modules are not affected by this issue, as the affected code is outside the OpenSSL FIPS module boundary.
{
"license": "CC-BY-4.0",
"sources": [
{
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34181",
"database_specific": {
"status": "Analyzed"
},
"modified": "2026-07-23T08:10:00.137Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-34181",
"imported": "2026-08-03T18:18:15.431Z",
"id": "CVE-2026-34181",
"published": "2026-06-09T17:17:04.740Z"
},
{
"html_url": "https://github.com/advisories/GHSA-4jgc-cj59-f9mm",
"imported": "2026-08-03T18:20:15.806Z",
"modified": "2026-06-10T18:32:45Z",
"url": "https://api.github.com/advisories/GHSA-4jgc-cj59-f9mm",
"id": "GHSA-4jgc-cj59-f9mm",
"published": "2026-06-09T18:30:42Z"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-35477",
"imported": "2026-08-03T18:18:17.733Z",
"modified": "2026-06-10T16:02:19Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-35477",
"id": "EUVD-2026-35477",
"published": "2026-06-09T16:03:22Z"
}
]
}