Thorvg
Monthly
A heap out-of-bounds write in ThorVG 1.1.0, 1.1.1 and the main branch lets an attacker-supplied JPEG corrupt memory during decoding, crashing the process and potentially reaching further than denial of service. The bundled jpgd decoder sizes its block buffers from the frame's component count but increments m_blocks_per_mcu once per entry in the SOS scan header without ever capping it, so a grayscale JPEG that repeats its single component selector in the scan header drives writes past a one-component heap allocation. The flaw is reachable unauthenticated from remote input (CVSS:3.1/AV:N/AC:L/PR:N/UI:R, A:H, scope unchanged) anywhere an application hands ThorVG a JPEG - directly as a .jpg or embedded in a .lottie/dotLottie - and the reporter has published a public proof-of-concept reference (a crafted JPEG plus a minimal AddressSanitizer harness) that is demonstrated to crash on both sanitized and normal builds; it is not verified as working code-execution exploit code, and no CISA KEV entry or active exploitation is reported. Version 1.1.2 fixes it.
Out-of-bounds read in ThorVG's SFNT/TTF font loader (all versions before 1.0.7) lets an attacker who can supply a font buffer smaller than four bytes through the in-memory loading API, such as tvg::Text::load(..., data, size, "ttf", true), trigger a heap over-read in SfntLoader::gen. The result is limited to adjacent heap memory disclosure or an application crash, with no code execution path; the same malformed font delivered by file path is largely masked because mmap page alignment pads the read. This is not in CISA KEV and there is no confirmed active exploitation, but the GitHub advisory publishes a reproduction payload (a 1-byte buffer) that trips an ASan heap-buffer-overflow, and the issue is fixed in 1.0.7; overall it is a genuine but modest-priority parsing defect that matters mainly to applications that accept untrusted font bytes from memory.
Null pointer dereference in ThorVG's SVG loader crashes any process that passes untrusted SVG content through Picture::load(), enabling remote denial-of-service with a trivial 6-byte payload. All ThorVG releases prior to 1.0.5 are affected (CPE: cpe:2.3:a:thorvg:thorvg:*:*:*:*:*:*:*:*). No public exploit identified at time of analysis and no CISA KEV listing, but the fix-confirming PR diff (PR #4387) exposes the exact null-check omissions, substantially lowering the bar for independent exploit development.
A heap out-of-bounds write in ThorVG 1.1.0, 1.1.1 and the main branch lets an attacker-supplied JPEG corrupt memory during decoding, crashing the process and potentially reaching further than denial of service. The bundled jpgd decoder sizes its block buffers from the frame's component count but increments m_blocks_per_mcu once per entry in the SOS scan header without ever capping it, so a grayscale JPEG that repeats its single component selector in the scan header drives writes past a one-component heap allocation. The flaw is reachable unauthenticated from remote input (CVSS:3.1/AV:N/AC:L/PR:N/UI:R, A:H, scope unchanged) anywhere an application hands ThorVG a JPEG - directly as a .jpg or embedded in a .lottie/dotLottie - and the reporter has published a public proof-of-concept reference (a crafted JPEG plus a minimal AddressSanitizer harness) that is demonstrated to crash on both sanitized and normal builds; it is not verified as working code-execution exploit code, and no CISA KEV entry or active exploitation is reported. Version 1.1.2 fixes it.
Out-of-bounds read in ThorVG's SFNT/TTF font loader (all versions before 1.0.7) lets an attacker who can supply a font buffer smaller than four bytes through the in-memory loading API, such as tvg::Text::load(..., data, size, "ttf", true), trigger a heap over-read in SfntLoader::gen. The result is limited to adjacent heap memory disclosure or an application crash, with no code execution path; the same malformed font delivered by file path is largely masked because mmap page alignment pads the read. This is not in CISA KEV and there is no confirmed active exploitation, but the GitHub advisory publishes a reproduction payload (a 1-byte buffer) that trips an ASan heap-buffer-overflow, and the issue is fixed in 1.0.7; overall it is a genuine but modest-priority parsing defect that matters mainly to applications that accept untrusted font bytes from memory.
Null pointer dereference in ThorVG's SVG loader crashes any process that passes untrusted SVG content through Picture::load(), enabling remote denial-of-service with a trivial 6-byte payload. All ThorVG releases prior to 1.0.5 are affected (CPE: cpe:2.3:a:thorvg:thorvg:*:*:*:*:*:*:*:*). No public exploit identified at time of analysis and no CISA KEV listing, but the fix-confirming PR diff (PR #4387) exposes the exact null-check omissions, substantially lowering the bar for independent exploit development.