py-svglib -- 2.3.3 remediates a incomplete fix in 2.3.1
Dinu Gherman reports: The 2.3.1 fix for GHSA-555j-qj3j-c8jv stops "renderUse()" after "MAX_USE_EXPANSIONS" (10,000) expansions. But each expansion deep-copies and renders the whole referenced subtree, so the total work is 10,000 × (subtree size), and the subtree size is unbounded. Nested <use> groups whose leaf group holds N rects make about 9,000 of the allowed expansions clone that leaf. In svglib 2.3.2, a …
Affected versions
- py311-svglib, py312-svglib, py313-svglib, py313t-svglib, py314-svglib, py314t-svglib, py315-svglib < 2.3.3
By system
1 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.
| System | Port | Version | State | Fixed |
|---|---|---|---|---|
| FreeBSD | converters/py-svglib | 2.4.0 | fixed | |
| NetBSD | graphics/py-svglib | 2.2.0 | not listed | |
| DragonFly | converters/py-svglib | 2.3.2 | vulnerable since 2026-11-08 |