Skip to content

CVE-2026-123367 ThorVG: Heap buffer overflow (OOB write) in bundled jpgd JPEG decoder

HighCVSS 7.4 EPSS 0.26%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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