MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-5477

Prefix-substitution forgery via integer overflow in wolfCrypt CMAC

Not on CISA KEVCVSS 8.2 (v4.0)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)