{"id":"UBUNTU-CVE-2026-96889","details":"A flaw was found in librsvg. When processing an SVG document containing nested XML inclusions (Xincludes) with duplicate entity declarations, a use-after-free error can occur. This vulnerability arises because the library incorrectly frees an XML entity that is still in use by the parser. An attacker could potentially exploit this to cause a denial of service or execute arbitrary code.","modified":"2026-09-25T06:37:31.224877280Z","published":"2026-09-24T00:00:00Z","upstream":["CVE-2026-96889"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-96889"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-96889"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2539279"},{"type":"REPORT","url":"https://rustsec.org/advisories/RUSTSEC-2026-0305.html"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1241"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-96889"},{"type":"REPORT","url":"https://crates.io/crates/librsvg"}],"affected":[{"package":{"name":"librsvg","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/librsvg?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.40.10-1","2.40.11-1","2.40.11-2","2.40.12-1","2.40.13-1","2.40.13-2","2.40.13-3","2.40.13-3ubuntu0.1","2.40.13-3ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.40.13-3ubuntu0.2","binary_name":"gir1.2-rsvg-2.0"},{"binary_name":"librsvg2-2","binary_version":"2.40.13-3ubuntu0.2"},{"binary_name":"librsvg2-bin","binary_version":"2.40.13-3ubuntu0.2"},{"binary_version":"2.40.13-3ubuntu0.2","binary_name":"librsvg2-common"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-96889.json"}},{"package":{"name":"librsvg","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/librsvg?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.40.18-1","2.40.18-2","2.40.20-2","2.40.20-2ubuntu0.1","2.40.20-2ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.40.20-2ubuntu0.2","binary_name":"gir1.2-rsvg-2.0"},{"binary_version":"2.40.20-2ubuntu0.2","binary_name":"librsvg2-2"},{"binary_name":"librsvg2-bin","binary_version":"2.40.20-2ubuntu0.2"},{"binary_version":"2.40.20-2ubuntu0.2","binary_name":"librsvg2-common"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-96889.json"}},{"package":{"name":"librsvg","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/librsvg?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.44.14-1","2.46.4-1","2.46.4-1ubuntu1","2.48.0-1","2.48.2-1","2.48.7-1ubuntu0.20.04.1","2.48.9-1ubuntu0.20.04.1","2.48.9-1ubuntu0.20.04.4"],"ecosystem_specific":{"binaries":[{"binary_name":"gir1.2-rsvg-2.0","binary_version":"2.48.9-1ubuntu0.20.04.4"},{"binary_name":"librsvg2-2","binary_version":"2.48.9-1ubuntu0.20.04.4"},{"binary_version":"2.48.9-1ubuntu0.20.04.4","binary_name":"librsvg2-bin"},{"binary_name":"librsvg2-common","binary_version":"2.48.9-1ubuntu0.20.04.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-96889.json"}},{"package":{"name":"librsvg","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/librsvg?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.50.7+dfsg-1","2.50.7+dfsg-2","2.52.5+dfsg-1ubuntu1","2.52.5+dfsg-3","2.52.5+dfsg-3ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"gir1.2-rsvg-2.0","binary_version":"2.52.5+dfsg-3ubuntu0.2"},{"binary_name":"librsvg2-2","binary_version":"2.52.5+dfsg-3ubuntu0.2"},{"binary_name":"librsvg2-bin","binary_version":"2.52.5+dfsg-3ubuntu0.2"},{"binary_name":"librsvg2-common","binary_version":"2.52.5+dfsg-3ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-96889.json"}},{"package":{"name":"librsvg","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/librsvg?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.54.7+dfsg-2","2.57.91+dfsg-2ubuntu1","2.58.0+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"gir1.2-rsvg-2.0","binary_version":"2.58.0+dfsg-1build1"},{"binary_version":"2.58.0+dfsg-1build1","binary_name":"librsvg2-2"},{"binary_version":"2.58.0+dfsg-1build1","binary_name":"librsvg2-bin"},{"binary_name":"librsvg2-common","binary_version":"2.58.0+dfsg-1build1"},{"binary_version":"2.58.0+dfsg-1build1","binary_name":"librsvg2-tests"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-96889.json"}},{"package":{"name":"librsvg","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/librsvg?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.60.0+dfsg-1build1","2.61.3+dfsg-2","2.61.3+dfsg-3"],"ecosystem_specific":{"binaries":[{"binary_name":"gir1.2-rsvg-2.0","binary_version":"2.61.3+dfsg-3"},{"binary_name":"librsvg2-2","binary_version":"2.61.3+dfsg-3"},{"binary_name":"librsvg2-bin","binary_version":"2.61.3+dfsg-3"},{"binary_name":"librsvg2-common","binary_version":"2.61.3+dfsg-3"},{"binary_version":"2.61.3+dfsg-3","binary_name":"librsvg2-tests"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-96889.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}