CVE-2018-25305

MEDIUM

librsvg2-bin 2.40.13 - Malformed SVG Buffer Overflow

Title source: manual
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2018-25305. PoCs published by Hamm3r.py.

AI-analyzed exploit summary This is a technical writeup detailing a buffer overflow vulnerability in RSVG (librsvg2-bin) when processing malformed SVG files, leading to a segmentation fault. The analysis includes a GDB stack trace and steps to reproduce the crash.

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.

Exploits (1)

exploitdb WRITEUP
by Hamm3r.py · textdosmultiple
https://www.exploit-db.com/exploits/44491

This is a technical writeup detailing a buffer overflow vulnerability in RSVG (librsvg2-bin) when processing malformed SVG files, leading to a segmentation fault. The analysis includes a GDB stack trace and steps to reproduce the crash.

Classification
Writeup 90%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: librsvg2-bin (rsvg-convert) versions 2.40.13 and 2.42.2
No auth needed
Prerequisites: malformed SVG file
devstral-2 · analyzed Apr 30, 2026 Full analysis →

References (2)

Core 2
Core References
Exploit exploit
ExploitDB-44491
https://www.exploit-db.com/exploits/44491
Third Party Advisory third-party-advisory
VulnCheck Advisory: librsvg2-bin 2.40.13 Buffer Overflow via Malformed SVG
https://www.vulncheck.com/advisories/librsvg2-bin-buffer-overflow-via-malformed-svg

Scores

CVSS v3 6.2
EPSS 0.0012
EPSS Percentile 2.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-120
Status published
Products (2)
LibRsvg/librsvg2-bin 2.40.13
xenial/RSVG 2.40.13
Published Apr 29, 2026
Tracked Since Apr 30, 2026