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.
Severity (CVSS)
| Base score | 7.4 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-787 — CWE-787: Out-of-bounds Write
Affected products
| Vendor | Product | Versions |
|---|---|---|
| thorvg | thorvg | < 1.1.2 [affected] |
References
- https://github.com/thorvg/thorvg/security/advisories/GHSA-mw4c-w54x-248r (x_refsource_CONFIRM)
- https://github.com/thorvg/thorvg/commit/67680c546d38d817e42eb7583dac8d87a4a319b5 (x_refsource_MISC)
- https://github.com/thorvg/thorvg/commit/e740313029dd427d1ebd9f53f300da71363f80ce (x_refsource_MISC)
- https://github.com/thorvg/thorvg/releases/tag/v1.1.2 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 10 Nov 2026 08:00 UTC.