CVE-2018-25305: librsvg librsvg2-bin Classic Buffer Overflow
Vulnerability summary
CVE-2018-25305 is a medium (CVSS 6.9) Classic Buffer Overflow vulnerability in librsvg librsvg2-bin. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 1.5% of scored vulnerabilities. 1 public exploit is recorded.
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.12%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
0.00 pp
From 0.12% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundRSVG 2.40.13 / 2.42.2 - '.svg' Buffer Overflow
Maturity: poc
Weaknesses
CWE · root causeAffected systems
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