CVE-2018-25305: librsvg2-bin 2.40.13 Buffer Overflow via Malformed SVG
Vulnerability summary
CVE-2018-25305 is a medium (CVSS 6.9) vulnerability in librsvg librsvg2-bin. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 28.8% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.9, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 29-04-2026PublishedVulnerability first disclosed.
- 28-05-2026Last modifiedVulnerability information updated.
Description
librsvg2-bin 2.40.13 contains a buffer overflow vulnerability that allows local attackers to cause a denial of service by processing malformed SVG files. Attackers can supply crafted SVG input to the rsvg conversion tool to trigger a segmentation fault in the cairo image compositor.
CVSS metrics
6 scores · 3 sources · 2 versions- NVDNIST6.9MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
29%
Versus all other CVEs
30-day change
Increase +0.22 pp
From 0.12% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundRSVG 2.40.13/2.42.2 - '.svg' Buffer Overflow
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Librsvg1 product
- librsvg2-bin2.40.13
Ubuntu1 product
- librsvgAll versions (No fix recorded)
2 vendors · 2 products
References
4 links- www.vulncheck.com/advisories/librsvg2-bin-buffer-overflow-via-malformed-svgThird Party Advisory