Description
Thor Vector Graphics (ThorVG) is a production-ready vector graphics engine. Prior to version 1.0.5, a null pointer dereference in SvgLoader::run() allows any caller that passes untrusted SVG data to Picture::load() to crash the process with a 6-byte payload. This issue has been patched in version 1.0.5.
Published: 2026-06-01
Score: 4.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in Thor Vector Graphics (ThorVG) is a null pointer dereference in the SvgLoader::run() function. When an attacker supplies an untrusted SVG file containing a crafted 6‑byte payload, a call to Picture::load() will trigger a crash of the hosting process. The flaw does not provide code execution or information disclosure; the primary consequence is a denial of service by terminating the process that loaded the SVG. This weakness falls under CWE‑476 (NULL Pointer Dereference).

Affected Systems

Thor Vector Graphics engine, distributed under the package name thorvg:thorvg. All releases prior to version 1.0.5 are affected. Version 1.0.5 and newer contain the fix and are not vulnerable.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate severity. No EPSS score is available, and the issue is not listed in CISA's KEV catalog, which suggests a low to moderate likelihood of widespread exploitation. The attack vector is inferred to be any client or service that accepts untrusted SVG data and forwards it to Picture::load(). If such SVG input originates from remote users, the vulnerability could be triggered in a remote context, leading to a crash of the affected process. The lack of privilege escalation or data compromise limits the damage to availability only.

Generated by OpenCVE AI on June 1, 2026 at 20:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ThorVG to version 1.0.5 or later.
  • Validate or sanitize all SVG input before it is passed to Picture::load().
  • Restart services that employ ThorVG and monitor for anomalous crashes.

Generated by OpenCVE AI on June 1, 2026 at 20:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 01 Jun 2026 19:00:00 +0000

Type Values Removed Values Added
Description Thor Vector Graphics (ThorVG) is a production-ready vector graphics engine. Prior to version 1.0.5, a null pointer dereference in SvgLoader::run() allows any caller that passes untrusted SVG data to Picture::load() to crash the process with a 6-byte payload. This issue has been patched in version 1.0.5.
Title ThorVG: Null pointer dereference in SVG loader causes crash via 6-byte malformed input
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-01T17:18:36.254Z

Reserved: 2026-05-13T05:51:48.667Z

Link: CVE-2026-45729

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-01T19:16:53.170

Modified: 2026-06-01T19:16:53.170

Link: CVE-2026-45729

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-01T20:45:25Z

Weaknesses