CVE-2024-56431
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Red Hat has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | libtheora | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libtheora | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | libtheora | Not affected vulnerable_code_not_present | ||
| Debian 14 | libtheora | Fixed | 1.2.0~alpha1+dfsg-6 | DEBIAN-CVE-2024-56431 |
| Debian 13 | libtheora | Fixed | 1.2.0~alpha1+dfsg-6 | DEBIAN-CVE-2024-56431 |
| Red Hat Enterprise Linux 10 | libtheora | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libtheora-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | theora-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libtheora | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libtheora-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | theora-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libtheora | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libtheora-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | theora-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | firefox | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libtheora | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libtheora-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libtheora-devel-docs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | theora-tools | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | thunderbird | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libtheora | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libtheora-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libtheora-devel-docs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | theora-tools | Will not fix Out of support scope |
References
- https://github.com/xiph/theora/issues/17#issuecomment-2480630603
- https://github.com/xiph/theora/blob/7180717276af1ebc7da15c83162d6c5d6203aabf/lib/huffdec.c#L193
- https://github.com/UnionTech-Software/libtheora-CVE-2024-56431-PoC
- https://www.openwall.com/lists/oss-security/2025/04/25/6
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.