REDHAT-BUG-2481882: Low severity OpenSSL OpenSSL vulnerability
PKCS#12 Files with PBMAC1 Are Accepted with Short HMAC Keys
PKCS#12 Files with PBMAC1 Are Accepted with Short HMAC Keys (CVE-2026-34181) Severity: Low
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.
OpenSSL 4.0, 3.6, 3.5, and 3.4 are vulnerable to this issue.
OpenSSL 3.0, 1.1.1 and 1.0.2 are not affected by this issue as they do not support PBMAC1 in PKCS#12.
OpenSSL 4.0 users should upgrade to OpenSSL 4.0.1. OpenSSL 3.6 users should upgrade to OpenSSL 3.6.3. OpenSSL 3.5 users should upgrade to OpenSSL 3.5.7. OpenSSL 3.4 users should upgrade to OpenSSL 3.4.6.
This issue was reported on 2nd March 2026 by Pavol Žáčik (Red Hat). This issue was also reported on 16th April 2026 by Alex Gaynor (Anthropic).
The fix has been developed by Alicja Kario (Red Hat).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
OpenSSLto a version that resolves this vulnerability.Fixed in 4.0.1 - Upgrade
Upgrade
OpenSSLto a version that resolves this vulnerability.Fixed in 3.6.3 - Upgrade
Upgrade
OpenSSLto a version that resolves this vulnerability.Fixed in 3.5.7 - Upgrade
Upgrade
OpenSSLto a version that resolves this vulnerability.Fixed in 3.4.6
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2481882?
The severity of REDHAT-BUG-2481882 is classified as low.
What vulnerability does REDHAT-BUG-2481882 relate to?
REDHAT-BUG-2481882 relates to CVE-2026-34181, which involves insufficient input validation in PKCS#12 file processing.
How do I fix REDHAT-BUG-2481882?
To fix REDHAT-BUG-2481882, update your OpenSSL software to the latest version that addresses the vulnerability.
What products are affected by REDHAT-BUG-2481882?
REDHAT-BUG-2481882 affects users of OpenSSL who are processing PKCS#12 files with PBMAC1.
How can I mitigate the risks associated with REDHAT-BUG-2481882?
To mitigate the risks associated with REDHAT-BUG-2481882, avoid using short HMAC keys in PKCS#12 files and ensure that you are using a validated version of OpenSSL.