Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft 6-byte malformed SVG document
-
DeliveryDeliver to application accepting user SVG input
-
ExploitApplication passes payload to Picture::load()
-
ExecutionSvgLoader::run() reaches null root pointer
-
PersistUnconditional root->ref() dereferences null
-
ImpactProcess 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
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 duri
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 b
EUVD-2026-33722
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB