CVE-2026-34181
CVE-2026-34181 · PKCS#12 Files with PBMAC1 Are Accepted with Short HMAC Keys
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.4 · High · EPSS 0.2% · Fix available
- Published
- Updated
Affected products and versions
openssl
- Versions
- ≥ 4.0.0, < 4.0.1: Affected (semver)
- ≥ 3.6.0, < 3.6.3: Affected (semver)
- ≥ 3.5.0, < 3.5.7: Affected (semver)
- ≥ 3.4.0, < 3.4.6: Affected (semver)
Update to 3.4.6; Update to 3.5.7; Update to 3.6.3; Update to 4.0.1
openssl Debian:13
- Versions
- 3.5.1-1
- 3.5.1-1+deb13u1
- 3.5.2-1
- 3.5.3-1
- 3.5.4-1
- 3.5.4-1~deb13u1
- 3.5.4-1~deb13u2
- 3.5.5-1
- 3.5.5-1~deb13u1
- 3.5.5-1~deb13u2
- 3.5.6-1~deb13u1
- Affected ranges
- ECOSYSTEM: < 3.5.6-1~deb13u2
Update to 3.5.6-1~deb13u2
openssl Debian:14
- Versions
- 3.5.1-1
- 3.5.2-1
- 3.5.3-1
- 3.5.4-1
- 3.5.4-1~deb13u1
- 3.5.4-1~deb13u2
- 3.5.5-1
- 3.5.5-1~deb13u1
- 3.5.5-1~deb13u2
- 3.5.6-1~deb13u1
- 3.5.6-1~deb13u2
- 3.5.7-1~deb13u1
- 3.5.7-1~deb13u2
- 3.5.7-1~deb13u3
- 3.6.0-1
- 3.6.0-2
- 3.6.0~~alpha1-1
- 3.6.0~~beta1-1
- 3.6.1-1
- 3.6.1-2
- 3.6.1-3
- 3.6.2-1
- Affected ranges
- ECOSYSTEM: < 3.6.3-1
Update to 3.6.3-1
nodejs Ubuntu:Pro:22.04:LTS
- Versions
- 12.22.5~dfsg-5ubuntu1
- 12.22.7~dfsg-2ubuntu1
- 12.22.7~dfsg-2ubuntu3
- 12.22.9~dfsg-1ubuntu2
- 12.22.9~dfsg-1ubuntu3
- 12.22.9~dfsg-1ubuntu3.1
- 12.22.9~dfsg-1ubuntu3.2
- 12.22.9~dfsg-1ubuntu3.3
- 12.22.9~dfsg-1ubuntu3.4
- 12.22.9~dfsg-1ubuntu3.5
- 12.22.9~dfsg-1ubuntu3.6
- 12.22.9~dfsg-1ubuntu3.6+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2 Ubuntu:25.10
- Versions
- 2025.02-3ubuntu2
- 2025.02-8
- 2025.02-8ubuntu1
- 2025.02-8ubuntu2
- 2025.02-8ubuntu3
- 2025.02-8ubuntu3.1
- 2025.02-8ubuntu3.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openssl Ubuntu:25.10
- Versions
- 3.4.1-1ubuntu3
- 3.5.0-2ubuntu1
- 3.5.2-1ubuntu1
- 3.5.3-1ubuntu2
- 3.5.3-1ubuntu3
- 3.5.3-1ubuntu3.3
- Affected ranges
- ECOSYSTEM: < 3.5.3-1ubuntu3.4
Update to 3.5.3-1ubuntu3.4
edk2 Ubuntu:26.10
- Versions
- 2025.11-3ubuntu7
- 2025.11-3ubuntu8
- 2026.05-2ubuntu1
- 2026.05-2ubuntu2
- 2026.05-2ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2-hwe Ubuntu:26.10
- Versions
- 2025.11-3ubuntu8
- 2025.11-3ubuntu9
- 2026.05-2ubuntu1
- 2026.05-2ubuntu2
- 2026.05-2ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2 Ubuntu:26.04:LTS
- Versions
- 2025.02-8ubuntu3
- 2025.11-3ubuntu6
- 2025.11-3ubuntu7
- 2025.11-3ubuntu7.2
- 2025.11-3ubuntu7.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2-hwe Ubuntu:26.04:LTS
- Versions
- 2025.11-3ubuntu6
- 2025.11-3ubuntu8
- 2025.11-3ubuntu8.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openssl Ubuntu:26.04:LTS
- Versions
- 3.5.3-1ubuntu2
- 3.5.5-1ubuntu1
- 3.5.5-1ubuntu3
- Affected ranges
- ECOSYSTEM: < 3.5.5-1ubuntu3.2
Update to 3.5.5-1ubuntu3.2
Original sources
- https://openssl-library.org/news/secadv/20260609.txt
- https://github.com/openssl/openssl/commit/0300eb9ddce7a0895bf301a4b0c03a9da2313a0f
- https://github.com/openssl/openssl/commit/ec36f2417c4ddd8cabce4b4a60a3d7a7365f2d81
- https://github.com/openssl/openssl/commit/85dcbb3abaa4878af5c8fbbe11bce708fcf984a7
- https://github.com/openssl/openssl/commit/79eb76a937e474bb7610a0a3dc57131dc8dc6610
- https://nvd.nist.gov/vuln/detail/CVE-2026-34181