CVE-2026-6329: wolfSSL improper MAC verification in PKCS#12

CVE-2026-6329 · Severity: info · CVSS 6 · Published 2026-06-25

wolfSSL is a security library used to protect data and communications in embedded devices and cloud applications. A flaw in how it handles PKCS#12 files (commonly used for storing certificates and keys) allows an attacker to bypass integrity checks by providing a specially crafted file with a shortened or empty security code. This could allow an attacker to modify sensitive cryptographic data without the system detecting the tampering.

Technologies: Wolfssl. Vendors: Wolfssl.

Quick answers

Is CVE-2026-6329 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-6329 being exploited in the wild.
How severe is CVE-2026-6329?
Informational severity, with a CVSS score of 6, published 25 June 2026.
Which products and versions are affected?
Wolfssl 3.10.0 to 5.9.1.
Is there a fix for CVE-2026-6329?
A patch was published on 2026-04-15: Fix merged into wolfSSL master branch via Pull Request 10192 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-6329 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-6329?
Check whether you run Wolfssl at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A vulnerability exists in wolfSSL's PKCS#12 MAC verification path within 'wolfcrypt/src/pkcs12.c'. The implementation compares the locally computed HMAC against the MAC parsed from the PKCS#12 structure using a length value provided in the attacker-supplied input. Because the library fails to verify that this length matches the expected digest size of the configured algorithm, an attacker can provide a truncated or zero-length MAC that will be accepted as valid. This effectively defeats the integrity protection of the PKCS#12 container. The issue is addressed in wolfSSL version 5.9.1.

Affected products

  • wolfSSL wolfSSL 3.10.0 to 5.9.1

Timeline

  • 2026-04-15: patched: Fix merged into wolfSSL master branch via Pull Request 10192
  • 2026-06-25: advisory: NVD and vendor advisory published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.