Buffer overflow in Librsvg Librsvg2-Bin

CVE-2018-25305

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS: 0.001 (1.5th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 2nd percentile — 1.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-25305: held from 0.001 to 0.001.

EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-25305?
CVE-2018-25305 is a medium-severity vulnerability in Librsvg Librsvg2-Bin, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 6.2/10. Published 2026-04-29.
How severe is CVE-2018-25305?
Medium severity. CVSS v3 base score is 6.2 out of 10.