{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-5477","published":"2026-04-10T06:16:05.243000Z","last_modified":"2026-06-17T10:59:06.143000Z","status":"Analyzed","cvss":{"version":"4.0","score":8.2,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/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","source":"facts@wolfssl.com","primary":false},"auth":false,"cwes":["CWE-190"],"cpes":[{"criteria":"cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*","part":"a","vendor":"wolfssl","product":"wolfssl","version_end_including":"5.9.0"}],"cpes_truncated":false,"vendors":["wolfssl"],"products":["wolfssl/wolfssl"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2026-5477/","html_en":"/en/cve/CVE-2026-5477/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5477","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-5477"},"untrusted":{"vendor_name":"Wolfssl","product_name":"Wolfssl","desc_en":"An integer overflow existed in the wolfCrypt CMAC implementation, that could be exploited to forge CMAC tags. The function wc_CmacUpdate used the guard `if (cmac->totalSz != 0)` to skip XOR-chaining on the first block (where digest is all-zeros and the XOR is a no-op). However, totalSz is word32 and wraps to zero after 2^28 block flushes (4 GiB), causing the guard to erroneously discard the live CBC-MAC chain state. Any two messages sharing a common suffix beyond the 4 GiB mark then produce identical CMAC tags, enabling a zero-work prefix-substitution forgery. The fix removes the guard, making the XOR unconditional; the no-op property on the first block is preserved because digest is zero-initialized by wc_InitCmac_ex.","affected":[{"untrusted_vendor":"wolfSSL","untrusted_product":"wolfSSL","versions":[]}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/10102","tags":["Issue Tracking"]}]}}