CVE-2015-7558 — librsvg
HIGHCVE-2015-7558 is a high-severity (CVSS 7.5) Improper Input Validation vulnerability in librsvg. A fix is available for librsvg — see the affected versions and patch details below.
librsvg DoS via Cyclic References
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
librsvgReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.
Description
librsvg before 2.40.12 allows context-dependent attackers to cause a denial of service (infinite loop, stack consumption, and application crash) via cyclic references in an SVG document.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | librsvg | all versions | 2.40.12cargo update -p librsvg --precise 2.40.12 |
Affected Products
debian linuxdebianlibrsvggnomeDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for librsvg, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update librsvg to 2.40.12 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2015-7558 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2015-7558 in your dependencies?
Find it across crates.io, including transitive dependencies.