Skip to main content

Thorvg

3 CVEs product

Monthly

CVE-2026-123367 Nov 09, 17:21 HIGH PATCH This Week

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.

Buffer Overflow Memory Corruption Thorvg
NVD GitHub
CVSS 3.1
7.4
EPSS
0.3%
CVE-2026-58496 Oct 27, 22:18 MEDIUM PATCH This Month

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.

Buffer Overflow Information Disclosure Red Hat Thorvg
NVD GitHub
CVSS 3.1
4.3
EPSS
0.2%
CVE-2026-45729 Jun 01, 17:18 MEDIUM PATCH This Month

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.

Denial Of Service Null Pointer Dereference Thorvg
NVD GitHub
CVSS 3.1
4.3
EPSS
0.0%
EPSS 0% CVSS 7.4
HIGH PATCH This Week

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.

Buffer Overflow Memory Corruption Thorvg
NVD GitHub
EPSS 0% CVSS 4.3
MEDIUM PATCH This Month

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.

Buffer Overflow Information Disclosure Red Hat +1
NVD GitHub
EPSS 0% CVSS 4.3
MEDIUM PATCH This Month

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.

Denial Of Service Null Pointer Dereference Thorvg
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy