CVE-2015-7558: librsvg DoS via Cyclic References
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.7808%
CWE
Published
5/17/2022
Updated
8/13/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
librsvg | rust | < 2.40.12 | 2.40.12 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability (CVE-2015-7558) stems from improper cycle detection when resolving SVG element references. The fix in commit a51919f7e1ca... introduced recursion depth tracking in these functions to prevent infinite loops. Prior to this patch, rsvg_acquire_node and rsvg_acquire_node_of_type recursively resolved hrefs without limiting recursion depth, leading to stack overflow when cyclic references were present. The functions' role in reference resolution and the explicit addition of depth checks in the patch confirm their vulnerability.