# CVE-2024-56431: ochufftreeunpack in huffdec.c in libtheora in Theora through 1.0 7180717 has an invalid negative left shift.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.84%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-12-25T00:00:00.000Z
- Modified: 2026-06-17T08:12:10.747Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

oc_huff_tree_unpack in huffdec.c in libtheora in Theora through 1.0 7180717 has an invalid negative left shift. NOTE: this is disputed by third parties because there is no evidence of a security impact, e.g., an application would not crash.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xiph theora: before 1.2.0

## References

- <https://github.com/UnionTech-Software/libtheora-CVE-2024-56431-PoC> (exploit)
- <https://github.com/xiph/theora/issues/17#issuecomment-2480630603> (issue-tracking)
- <https://github.com/xiph/theora/blob/7180717276af1ebc7da15c83162d6c5d6203aabf/lib/huffdec.c#L193> (product)
- <https://www.openwall.com/lists/oss-security/2025/04/25/6>
- <http://www.openwall.com/lists/oss-security/2025/04/25/4>
- <http://www.openwall.com/lists/oss-security/2025/04/25/6>

## Sources

- CVE List: [CVE-2024-56431](https://www.cve.org/CVERecord?id=CVE-2024-56431), CVE Terms of Use, modified 2025-05-07
- NVD: [CVE-2024-56431](https://nvd.nist.gov/vuln/detail/CVE-2024-56431), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56431 · Whole record: https://cve.day/CVE-2024-56431.json · Rebuilt by cve.day 2026-11-25T22:58:50.360Z
