CVE-2026-31899: Standardebooks · CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification
Affects standardebooksSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 3.0.3 soon.
Data as of 22 Nov 2026, 18:23 UTC
- Patch
- Available – fixed in 3.0.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 3.0.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewstandardebookspkg:brew/standardebooksOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in CairoSVG version 3.0.3 that addresses this vulnerability by adding recursion depth limits and element budget caps to the use() function. Users should upgrade to version 3.0.3 or later to remediate this issue. No other mitigation is indicated or required.
Description
CairoSVG, used by Standardebooks, is vulnerable to an exponential denial of service (DoS) via recursive <use> element amplification. The vulnerability arises from the use() function in cairosvg/defs.py recursively processing <use> elements without limits, causing CPU exhaustion from small SVG inputs. This can cause services that render SVGs to hang indefinitely at 100% CPU usage without crashing. A fix is available in version 3.0.3 that adds recursion depth limits.