CVE-2026-123367

NameCVE-2026-123367
DescriptionThor 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1153610

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
thorvg (PTS)forky, sid1.0.6+dfsg-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
thorvgsource(unstable)(unfixed)1153610

Notes

https://github.com/thorvg/thorvg/security/advisories/GHSA-mw4c-w54x-248r
Fixed by: https://github.com/thorvg/thorvg/commit/e740313029dd427d1ebd9f53f300da71363f80ce (v1.1.2)

Search for package or bug name: Reporting problems