CVE-2026-123367 ThorVG: Heap buffer overflow (OOB write) in bundled jpgd JPEG decoder
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
Thor Vector Graphics (ThorVG) is a production-ready vector graphics engine. Prior to 1.1.2, the bundled jpgd JPEG decoder accepts duplicate component selectors in an SOS scan header, causing each duplicate to increase m_blocks_per_mcu without checking the buffers sized from the frame components. A crafted grayscale JPEG can repeat its component in the SOS header, causing decode paths in src/loaders/jpg/tvgJpgd.cpp to write beyond heap buffers sized for one component. The issue is reachable through direct JPEG decoding and through JPEG images embedded in Lottie content, and confirmed impact is memory corruption followed by a process crash. This issue is fixed in version 1.1.2.
Upgrade path
3 packages: 0 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/thorvg(Debian 14) | = 1.0.2+dfsg-1; = 1.0.3+dfsg-1; = 1.0.3+dfsg-2; = 1.0.3+dfsg-3 +6 more | No fix listed | No fix yet |
| ubuntu/thorvg(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| thorvg | = < 1.1.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| thorvg | = < 1.1.2 | No fix listed |
| debian/thorvg(Debian:14) | All versions | No fix listed |
| debian/thorvg(Debian:14) | = 1.0.2+dfsg-1 | No fix listed |
| debian/thorvg(Debian:14) | = 1.0.3+dfsg-1 | No fix listed |
| debian/thorvg(Debian:14) | = 1.0.3+dfsg-2 | No fix listed |
| debian/thorvg(Debian:14) | = 1.0.3+dfsg-3 | No fix listed |
| debian/thorvg(Debian:14) | = 1.0.3+dfsg2-1 | No fix listed |
| debian/thorvg(Debian:14) | = 1.0.3+dfsg2-2 | No fix listed |
| debian/thorvg(Debian:14) | = 1.0.3+dfsg2-3 | No fix listed |
| debian/thorvg(Debian:14) | = 1.0.3+dfsg2-4 | No fix listed |
| debian/thorvg(Debian:14) | = 1.0.6+dfsg-1 | No fix listed |
| ubuntu/thorvg(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/thorvg/thorvg/security/advisories/GHSA-mw4c-w54x-248r
- https://github.com/thorvg/thorvg/commit/67680c546d38d817e42eb7583dac8d87a4a319b5
- https://github.com/thorvg/thorvg/commit/e740313029dd427d1ebd9f53f300da71363f80ce
- https://github.com/thorvg/thorvg/releases/tag/v1.1.2
- Debian Security Tracker CVE-2026-123367 vendor-advisory
- bugs.debian.org issue-tracking
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-120122 third-party-advisory