# CVE-2018-25305: librsvg2-bin 2.40.13 Buffer Overflow via Malformed SVG

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-29 · Modified: 2026-05-28
- Aliases: UBUNTU-CVE-2018-25305
- Record: https://cvemate.com/vulnerability/CVE-2018-25305 · JSON: https://cvemate.com/vulnerability/CVE-2018-25305/json

## Description

```text
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.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.335%, percentile 28.812%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (exploit-database)

## Affected

- ubuntu librsvg (Ubuntu): All versions (No fix recorded)
- librsvg librsvg2-bin: 2.40.13

## References

- <https://www.exploit-db.com/exploits/44491>
- <https://www.vulncheck.com/advisories/librsvg2-bin-buffer-overflow-via-malformed-svg>
- <https://ubuntu.com/security/CVE-2018-25305>
- <https://www.cve.org/CVERecord?id=CVE-2018-25305>

---

Data as of 2026-12-05T10:23:04.719Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
