PT-2026-31875 · Wolfcrypt · Wolfcrypt

CVE-2026-5477

·

Published

2026-04-10

·

Updated

2026-07-14

CVSS v4.0

8.2

High

VectorAV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions wolfCrypt (affected versions not specified)
Description An integer overflow in the wolfCrypt CMAC implementation could allow for the forging of CMAC tags. The wc CmacUpdate function incorrectly skipped XOR-chaining on the first block due to a word32 wrap-around in the totalSz variable after approximately 4 GiB of block flushes. This allowed messages with a common suffix beyond the 4 GiB mark to produce identical CMAC tags, enabling a prefix-substitution forgery. The fix removes the guard condition, making the XOR operation unconditional.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Integer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-5477
JLSEC-2026-727

Affected Products

Wolfcrypt