Skip to main content
VulnerabilityPublished Updated

CVE-2026-107378: CairoSVG · Quadratic-time DoS parsing a crafted SVG <path>

Affects standardebooksSource GCVE Database

0
Compare
Authoritative record:CVE-2026-107378· High 8.7

Not known to be exploited · CVSS 8.7 High : upgrade to 4.1.1 soon.

Data as of 22 Nov 2026, 18:23 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 4.1.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.

What to do

Upgrade standardebooks to 4.1.1.

Affected software

ProductAffectedFixed in
Homebrewstandardebookspkg:brew/standardebooksOther threatsAffected
  • >=2.9.2 <4.1.1
Fixed in
  • 4.1.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in CairoSVG version 4.1.1. Users and service operators should upgrade to version 4.1.1 or later to mitigate this vulnerability. The fix involves optimizing the tokenizer to use a single forward scan and replacing list.pop(0) with more efficient data structures like collections.deque.popleft. Until upgraded, consider limiting the size or complexity of SVG inputs to reduce exposure.

Description

CVE-2026-107378 is a denial-of-service vulnerability in CairoSVG affecting the parsing of SVG <path> elements with many segments. The vulnerability arises from quadratic-time complexity in the path-data tokenizer and marker handling code, causing excessive CPU usage when rendering crafted SVGs. This can lead to significant delays or service disruption when processing untrusted SVG inputs. The issue affects CairoSVG versions from 2.9.2 up to but not including 4.1.1 and is fixed in version 4.1.1.

References

Community reviews

Loading reviews…