# JLSEC-2026-747: PKCS#12 MAC verification uses an attacker-controlled comparison length, weakening the integrity...

- Severity: Medium 6.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-14T21:41:35.775Z
- Modified: 2026-07-18T00:02:22.653Z
- Related: CVE-2026-6329, GHSA-r98j-g9p3-fcgm, EUVD-2026-39571

## 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.

(As written by Julia Security Advisories.)

## Affected

- wolfSSL_jll (Julia): before 5.9.2+0

## Every score

- Julia Security Advisories: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Julia Security Advisories: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/advisories/GHSA-r98j-g9p3-fcgm> (web)
- <https://github.com/wolfSSL/wolfssl/pull/10192> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6329> (web)
- <https://www.wolfssl.com/docs/security-vulnerabilities> (web)
- <https://www.wolfssl.com/docs/security-vulnerabilities/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-747](https://osv.dev/vulnerability/JLSEC-2026-747), CC-BY-4.0, modified 2026-07-18

---

Page: https://cve.day/JLSEC-2026-747 · Whole record: https://cve.day/JLSEC-2026-747.json · Rebuilt by cve.day 2026-11-25T22:56:26.224Z
