Shellfeed logo Shellfeed

CVE-2026-123367 · HIGH (CVSS 7.4)

Summary: ThorVG: Heap buffer overflow (OOB write) in bundled jpgd JPEG decoder

EPSS: 0.3% probability of exploitation in the next 30 days (percentile 17.3).

Details

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

HIGH (CVSS 7.4) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H

Affected packages

  • GIT github.com/thorvg/thorvg [0 – b004a778f53a5df61f06be45748761ae42c52dda]

References

Posts about CVE-2026-123367