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

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-11-09T17:21:00.412Z
- Modified: 2026-11-12T22:18:51.470Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- thorvg thorvg: < 1.1.2

## References

- <https://github.com/thorvg/thorvg/security/advisories/GHSA-mw4c-w54x-248r>
- <https://github.com/thorvg/thorvg/commit/67680c546d38d817e42eb7583dac8d87a4a319b5>
- <https://github.com/thorvg/thorvg/commit/e740313029dd427d1ebd9f53f300da71363f80ce>
- <https://github.com/thorvg/thorvg/releases/tag/v1.1.2>

## Sources

- CVE List: [CVE-2026-123367](https://www.cve.org/CVERecord?id=CVE-2026-123367), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-123367](https://nvd.nist.gov/vuln/detail/CVE-2026-123367), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-123367 · Whole record: https://cve.day/CVE-2026-123367.json · Rebuilt by cve.day 2026-11-25T22:59:49.606Z
