{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-34181: PKCS#12 Files with PBMAC1 Are Accepted with Short HMAC Keys","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-34181","status":"final","version":"1","initial_release_date":"2026-06-09T16:03:22.065Z","current_release_date":"2026-06-10T16:02:19.675Z","revision_history":[{"date":"2026-06-09T16:03:22.065Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"Issue Summary: The PKCS#12 file processing fails to perform sufficient input\nvalidation for files that use Password-Based Message Authentication Code 1\n(PBMAC1) integrity mechanism allowing a certificate and private key forgery.\n\nImpact Summary: An attacker impersonating a user can cause a service reading\nPKCS#12 files to accept forged certificates and private keys with a 1 in 256\nprobability.\n\nIf a service accepting PKCS#12 files is using passwords for authenticating\nthe received files, the attacker can create unencrypted PKCS#12 files that\nuse PBMAC1 authentication that specifies an HMAC key of only one byte, allowing\nthem to craft a file that will be accepted with a 1 in 256 probability.\nThat would then cause the service to accept a certificate and private key\ncontrolled by the attacker.\n\nThe FIPS modules are not affected by this issue, as the affected code is\noutside the OpenSSL FIPS module boundary.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-34181 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-34181"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-34181"},{"category":"external","summary":"OpenSSL Advisory","url":"https://openssl-library.org/news/secadv/20260609.txt"},{"category":"external","summary":"4.0.1 git commit","url":"https://github.com/openssl/openssl/commit/0300eb9ddce7a0895bf301a4b0c03a9da2313a0f"},{"category":"external","summary":"3.6.3 git commit","url":"https://github.com/openssl/openssl/commit/ec36f2417c4ddd8cabce4b4a60a3d7a7365f2d81"},{"category":"external","summary":"3.5.7 git commit","url":"https://github.com/openssl/openssl/commit/85dcbb3abaa4878af5c8fbbe11bce708fcf984a7"},{"category":"external","summary":"3.4.6 git commit","url":"https://github.com/openssl/openssl/commit/79eb76a937e474bb7610a0a3dc57131dc8dc6610"}]},"product_tree":{"branches":[{"category":"vendor","name":"OpenSSL","branches":[{"category":"product_name","name":"OpenSSL","branches":[{"category":"product_version_range","name":">=4.0.0 <4.0.1","product":{"name":"OpenSSL OpenSSL >=4.0.0 <4.0.1","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=3.6.0 <3.6.3","product":{"name":"OpenSSL OpenSSL >=3.6.0 <3.6.3","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=3.5.0 <3.5.7","product":{"name":"OpenSSL OpenSSL >=3.5.0 <3.5.7","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=3.4.0 <3.4.6","product":{"name":"OpenSSL OpenSSL >=3.4.0 <3.4.6","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-34181","title":"PKCS#12 Files with PBMAC1 Are Accepted with Short HMAC Keys","notes":[{"category":"description","text":"Issue Summary: The PKCS#12 file processing fails to perform sufficient input\nvalidation for files that use Password-Based Message Authentication Code 1\n(PBMAC1) integrity mechanism allowing a certificate and private key forgery.\n\nImpact Summary: An attacker impersonating a user can cause a service reading\nPKCS#12 files to accept forged certificates and private keys with a 1 in 256\nprobability.\n\nIf a service accepting PKCS#12 files is using passwords for authenticating\nthe received files, the attacker can create unencrypted PKCS#12 files that\nuse PBMAC1 authentication that specifies an HMAC key of only one byte, allowing\nthem to craft a file that will be accepted with a 1 in 256 probability.\nThat would then cause the service to accept a certificate and private key\ncontrolled by the attacker.\n\nThe FIPS modules are not affected by this issue, as the affected code is\noutside the OpenSSL FIPS module boundary.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","baseScore":7.4,"baseSeverity":"HIGH"},"products":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 3.4.6, 3.5.7, 3.6.3, 4.0.1.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4"],"url":"https://github.com/openssl/openssl/commit/0300eb9ddce7a0895bf301a4b0c03a9da2313a0f"}]}]}