Skip to main content

ThorVG EUVDEUVD-2026-33722

| CVE-2026-45729 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-06-01 GitHub_M
4.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft 6-byte malformed SVG document
  2. Delivery
    Deliver to application accepting user SVG input
  3. Exploit
    Application passes payload to Picture::load()
  4. Execution
    SvgLoader::run() reaches null root pointer
  5. Persist
    Unconditional root->ref() dereferences null
  6. Impact
    Process crash (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability is triggered when any code calls ThorVG's Picture::load() with SVG data that results in a null ctx.parser or null root node within SvgLoader::run() - a condition reachable with a 6-byte payload per the advisory. The CVSS UI:R flag indicates that in a purely client-side scenario (e.g., a desktop viewer), a user must open the malicious file. In server-side or automated pipelines that ingest user-supplied SVG files without human review, this interaction requirement is met programmatically, making exploitation unauthenticated (PR:N) and low-complexity (AC:L). No special configuration or non-default feature flag is required - standard SVG loading is the affected code path. Exploitation is limited to availability impact only (process crash); no code execution or data disclosure is possible via this vulnerability.

Impact

CVSS 4.3 with vector AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L places this as a moderate, network-reachable denial-of-service with no confidentiality or integrity impact. The PR:N component confirms unauthenticated access is sufficient; the UI:R flag signals that in a pure client-side scenario a user must open or trigger processing of the malicious SVG. However, in server-side deployments where ThorVG renders user-supplied SVGs (e.g., a web service transcoding uploads), the UI:R requirement is effectively satisfied by the application itself, reducing real-world friction. The 6-byte payload size is operationally significant: it requires zero sophistication and makes fuzz-based rediscovery trivial. EPSS data was not provided in the input; no KEV listing exists. Overall this is a real but bounded risk - highest priority for services that accept and render arbitrary user-supplied SVG files, lower for applications where SVG input is controlled or validated upstream.

Exploit ScenarioDerived

An attacker submits a 6-byte malformed SVG document to a web application or API endpoint that uses ThorVG to render or transcode user-supplied graphics. The application passes the payload to Picture::load(), which invokes SvgLoader::run(); because the degenerate SVG leaves the internal root pointer null, the unconditional root->ref() call dereferences null and crashes the process. The fix diff in PR #4387 pinpoints the exact null-check locations, enabling straightforward reproduction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 01, 2026

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.

RemediationAI

Upgrade ThorVG to version 1.0.5, which is confirmed available at https://github.com/thorvg/thorvg/releases/tag/v1.0.5. The fix applies two null guards in src/loaders/svg/tvgSvgLoader.cpp (commit 159f44fd5e3d2eea1b3a70689a894e657e2bb079). If an immediate upgrade is not possible, the most effective compensating control is to reject or sanitize SVG input before it reaches Picture::load() - specifically, validate that input documents are non-empty and structurally well-formed before passing them to the ThorVG API; note that this does not guarantee safety against all malformed inputs but raises the bar above a 6-byte payload. Alternatively, disable SVG loading functionality entirely if it is not operationally required. For server-side deployments rendering user-supplied SVG, consider isolating the ThorVG rendering process in a sandbox (e.g., seccomp, container) so that a crash does not take down the entire service.

Affected VersionsENISA

thorvg < 1.0.5

Affected Packages

euvd thorvg fix: 1.0.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ThorVG is a C++ vector graphics engine used to render SVG, Lottie, and other formats. The vulnerable code path lives in src/loaders/svg/tvgSvgLoader.cpp. CWE-476 (NULL Pointer Dereference) applies: two distinct null-guard omissions were identified and fixed in PR #4387. First, SvgLoader::clear() lacked a check for ctx.parser being null before use. Second, SvgLoader::run() called root->ref() unconditionally; the fix changes this to if (root) root->ref(). Either condition can be triggered by a crafted SVG document, causing an immediate null pointer dereference and process crash. The 6-byte payload claim in the advisory indicates that a minimal, syntactically degenerate SVG document is sufficient to reach the vulnerable code path.

Know when Thorvg gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Jun 01, 2026 - 20:02 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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