CSeverity: MediumStatus: Published

CEmu: integer overflow in the cert_field_get length check allows an out-of-bounds read on a crafted ROM

cert_field_get in core/cert.c checked a certificate field’s length with an addition that could overflow a 32-bit integer. With a very large field length, the sum wrapped around, the bounds check passed, and callers read far past the end of the ROM buffer. Loading a crafted TI calculator ROM could therefore cause an out-of-bounds read and crash the emulator (SEGV). The attack is local and needs the user to load the ROM.

Timeline

  1. Found
  2. Reported via private vulnerability report
  3. Advisory published
  4. Entry last updated

Machine-readable: JSON · Markdown · ID security/c/CE-Programming__CEmu/2026-10-16-cert-field-get-length-overflow-oob-read