CVE-2026-6329 PKCS#12 MAC verification uses attacker-controlled comparison length
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- MariaDBUbuntuDebian
Description
PKCS#12 MAC verification uses an attacker-controlled comparison length, weakening the integrity check on the MAC and allowing a mismatched MAC to be accepted. The PKCS#12 verify path compared the locally computed HMAC against the MAC parsed from the PKCS#12 structure using a length taken directly from the attacker-supplied input, without first verifying that it equals the length of the digest actually produced by the configured algorithm. A truncated or zero-length stored MAC could therefore be accepted, defeating the integrity protection of the MAC.
Upgrade path
9 packages: 4 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MariaDB Server(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/wolfssl(Alpine v3.24) | >= 3.10.0, < 5.9.2-r0 | 5.9.2-r0 | Fixed |
| debian/wolfssl(Debian 12) | < 5.5.4-2+deb12u3; = 5.5.4-2; = 5.5.4-2+deb12u1; = 5.5.4-2+deb12u2 | 5.5.4-2+deb12u3 | Fixed |
| debian/wolfssl(Debian 13) | < 5.7.2-0.1+deb13u2; = 5.7.2-0.1; = 5.7.2-0.1+deb13u1 | 5.7.2-0.1+deb13u2 | Fixed |
| wolfSSL | >= 3.10.0, < 5.9.2; >= 3.10.0, <= 5.9.1 | 5.9.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wolfSSL | >= 3.10.0, <= 5.9.1 | No fix listed |
| debian/wolfssl(Debian:12) | < 5.5.4-2+deb12u3 | 5.5.4-2+deb12u3 |
| debian/wolfssl(Debian:12) | = 5.5.4-2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2+deb12u1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2+deb12u2 | No fix listed |
| debian/wolfssl(Debian:13) | < 5.7.2-0.1+deb13u2 | 5.7.2-0.1+deb13u2 |
| debian/wolfssl(Debian:13) | = 5.7.2-0.1 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.7.2-0.1+deb13u1 | No fix listed |
| ubuntu/wolfssl(Ubuntu:22.04) | All versions | No fix listed |
| alpine/wolfssl(Alpine:v3.24) | >= 3.10.0, < 5.9.2-r0 | 5.9.2-r0 |
| ubuntu/wolfssl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/wolfssl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/wolfssl(Ubuntu:26.10) | All versions | No fix listed |
| wolfSSL | >= 3.10.0, < 5.9.2 | 5.9.2 |
| MariaDB Server(Azure Linux:3.0) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- github.com issue-tracking patch
- www.wolfssl.com vendor-advisory
- Debian Security Tracker CVE-2026-6329 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking