DEBIAN-CVE-2026-123367: High severity debian/thorvg vulnerability
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 mblockspermcu 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ThorVGto a version that resolves this vulnerability.Fixed in 1.1.2
Event History
Frequently Asked Questions
Which applications or workflows are exposed?
Any use of ThorVG's bundled JPEG decoder is affected, including direct JPEG decoding and decoding JPEG images embedded in Lottie content. The confirmed outcome is memory corruption followed by a process crash.
What does exploitation require?
An attacker needs to provide a crafted grayscale JPEG containing repeated component selectors in an SOS scan header and have it decoded by the affected ThorVG JPEG decoder. The severity vector indicates that user interaction is required.
How can I determine whether I am affected?
Systems using ThorVG versions earlier than 1.1.2 are affected if they decode JPEG input directly or process Lottie content that can contain JPEG images. Version 1.1.2 fixes the issue.