- Home
- Vulnerabilities
- CVE-2026-123367
CVE-2026-123367
ThorVG: Heap buffer overflow (OOB write) in bundled jpgd JPEG decoder
Summary
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.
Affected products and versions
thorvg (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| thorvg | Versions not specified | — | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://github.com/thorvg/thorvg/security/advisories/GHSA-mw4c-w54x-248rx_refsource_CONFIRM
- https://github.com/thorvg/thorvg/commit/67680c546d38d817e42eb7583dac8d87a4a319b5x_refsource_MISC
- https://github.com/thorvg/thorvg/commit/e740313029dd427d1ebd9f53f300da71363f80cex_refsource_MISC
- https://github.com/thorvg/thorvg/releases/tag/v1.1.2x_refsource_MISC
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-787 · Corruption mémoire