Vulnerability · Published Jun 9, 2026 · Assigned by openssl

CVE-2026-34181PKCS#12 Files with PBMAC1 Are Accepted with Short HMAC Keys

High 7.4

In plain English

A high-severity security flaw in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.4%top 68.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10openssl1:3.5.5-4.el10_2.alma.1ALSA-2026:25237
AlmaLinux:9openssl1:3.5.5-4.el9_8ALSA-2026:25239
AlmaLinux:10openssl-devel1:3.5.5-4.el10_2.alma.1ALSA-2026:25237
AlmaLinux:9openssl-devel1:3.5.5-4.el9_8ALSA-2026:25239
AlmaLinux:10openssl-libs1:3.5.5-4.el10_2.alma.1ALSA-2026:25237
AlmaLinux:9openssl-libs1:3.5.5-4.el9_8ALSA-2026:25239
AlmaLinux:10openssl-perl1:3.5.5-4.el10_2.alma.1ALSA-2026:25237
AlmaLinux:9openssl-perl1:3.5.5-4.el9_8ALSA-2026:25239
Alpine:v3.22openssl3.5.7-r0ALPINE-CVE-2026-34181
Alpine:v3.23openssl3.5.7-r0ALPINE-CVE-2026-34181
Alpine:v3.24openssl3.5.7-r0ALPINE-CVE-2026-34181
Debian:13openssl3.5.6-1~deb13u2DEBIAN-CVE-2026-34181
Debian:14openssl3.6.3-1DEBIAN-CVE-2026-34181
Rocky Linux:10openssl1:3.5.5-4.el10_2RLSA-2026:25237
Rocky Linux:9openssl1:3.5.5-4.el9_8RLSA-2026:25239
Ubuntu:25.10edk2no fix listedUBUNTU-CVE-2026-34181
Ubuntu:26.04:LTSedk2no fix listedUBUNTU-CVE-2026-34181
Ubuntu:26.10edk2no fix listedUBUNTU-CVE-2026-34181
Ubuntu:26.04:LTSedk2-hweno fix listedUBUNTU-CVE-2026-34181
Ubuntu:26.10edk2-hweno fix listedUBUNTU-CVE-2026-34181
Ubuntu:25.10openssl3.5.3-1ubuntu3.4UBUNTU-CVE-2026-34181
Ubuntu:26.04:LTSopenssl3.5.5-1ubuntu3.2UBUNTU-CVE-2026-34181

Affected products (as reported)

VendorProductVersions
OpenSSL OpenSSL 4.0.0 – before 4.0.13.6.0 – before 3.6.33.5.0 – before 3.5.73.4.0 – before 3.4.6

Weakness: CWE-354 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

References