ThorVGの同梱JPEGデコーダーに脆弱性、細工された画像でヒープ領域を破壊されるおそれ
Summary
ThorVGに同梱されているJPEGデコーダー(jpgd)の脆弱性で、細工されたJPEG画像を読み込ませるとヒープ領域の範囲外に書き込まれ、メモリの破壊やプロセスのクラッシュが起きるおそれがあります。直接のJPEG画像だけでなく、Lottieに埋め込まれたJPEG画像でも影響を受けます。1.1.2より前の版が対象で、1.1.2で修正されています。CVSSは7.4です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
ThorVGに同梱されているJPEGデコーダー(jpgd)の脆弱性で、細工されたJPEG画像を読み込ませるとヒープ領域の範囲外に書き込まれ、メモリの破壊やプロセスのクラッシュが起きるおそれがあります。直接のJPEG画像だけでなく、Lottieに埋め込まれたJPEG画像でも影響を受けます。1.1.2より前の版が対象で、1.1.2で修正されています。CVSSは7.4です。
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-123367 thorvg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-123367 thorvg No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com