Description
A directory traversal problem in the URL decoder of librsvg before 2.56.3 could be used by local or remote attackers to disclose files (on the local filesystem outside of the expected area), as demonstrated by href=".?../../../../../../../../../../etc/passwd" in an xi:include element.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | librsvg | 2.54.7+dfsg-1 | — |
| Debian 13 | librsvg | 2.54.7+dfsg-1 | — |
| Debian 12 | librsvg | 2.54.7+dfsg-1~deb12u1 | DSA-5484-1 |
| Debian 11 | librsvg | 2.50.3+dfsg-1+deb11u1 | DSA-5484-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | librsvg | 2.52.5+dfsg-3ubuntu0.2 | USN-6266-1 |
| Ubuntu 20.04 LTS | librsvg | 2.48.9-1ubuntu0.20.04.4 | USN-6266-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | librsvg2 +2 | 2.50.7-1.el9_2.1 | RHSA-2023:5081 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.0 EUS | librsvg2 +2 | 2.50.7-1.el9_0.1 | RHSA-2023:4809 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | librsvg2 +2 | 2.50.7-1.el9_2.1 | ALSA-2023:5081 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | librsvg | 2.52.10-150400.3.6.1 | SUSE-SU-2023:3021-1 |
| SLES 15 SP4 | librsvg | 2.52.10-150400.3.6.1 | SUSE-SU-2023:3021-1 |
| SLES 15 SP3 | librsvg | 2.46.7-150200.3.9.1 | SUSE-SU-2023:3208-1 |
| SLES 15 SP2 | librsvg | 2.46.7-150200.3.9.1 | SUSE-SU-2023:3208-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | librsvg | 2.46.7-150200.3.9.1 | SUSE-SU-2023:3208-1 |
| SLES for SAP 15 SP2 | librsvg | 2.46.7-150200.3.9.1 | SUSE-SU-2023:3208-1 |
| SLE Micro 5.4 | librsvg | 2.52.10-150400.3.6.1 | SUSE-SU-2023:3021-1 |
| SLE Micro 5.3 | librsvg | 2.52.10-150400.3.6.1 | SUSE-SU-2023:3021-1 |
| SLE Micro 5.2 | librsvg | 2.46.7-150200.3.9.1 | SUSE-SU-2023:3208-1 |
| SLE HPC 15 SP3 | librsvg | 2.46.7-150200.3.9.1 | SUSE-SU-2023:3208-1 |
| SLE HPC 15 SP2 | librsvg | 2.46.7-150200.3.9.1 | SUSE-SU-2023:3208-1 |
| SUSE Manager Server 4.2 | librsvg | 2.46.7-150200.3.9.1 | SUSE-SU-2023:3208-1 |
| SUSE Manager Proxy 4.2 | librsvg | 2.46.7-150200.3.9.1 | SUSE-SU-2023:3208-1 |
| SUSE Enterprise Storage 7.1 | librsvg | 2.46.7-150200.3.9.1 | SUSE-SU-2023:3208-1 |
| SUSE Enterprise Storage 7 | librsvg | 2.46.7-150200.3.9.1 | SUSE-SU-2023:3208-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | librsvg | 2.52.10-150400.3.6.1 | SUSE-SU-2023:3021-1 |
| openSUSE Leap 15.4 | librsvg | 2.52.10-150400.3.6.1 | SUSE-SU-2023:3021-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.4 | librsvg | 2.52.10-150400.3.6.1 | SUSE-SU-2023:3021-1 |
| openSUSE Leap Micro 5.3 | librsvg | 2.52.10-150400.3.6.1 | SUSE-SU-2023:3021-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | librsvg | 2.56.3-r0 | — |
| Alpine v3.23 | librsvg | 2.56.3-r0 | — |
| Alpine v3.22 | librsvg | 2.56.3-r0 | — |
| Alpine v3.21 | librsvg | 2.56.3-r0 | — |
| Alpine v3.20 | librsvg | 2.56.3-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | librsvg | 2.56.3-r0 | — |
| Alpine v3.18 | librsvg | 2.56.3-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | librsvg2 +2 | 2.50.7-1.amzn2023.0.3 | ALAS2023-2023-295 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | librsvg2 +2 | 2.50.7-1.el9_2.1 | ELSA-2023-5081 |
Advisories 11
- ALSA-2023:5081 Moderate: librsvg2 security update AlmaLinux Security Advisories · Oct 29, 2026
- USN-6266-1 librsvg vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5484-1 librsvg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:3208-1 Security update for librsvg SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3021-1 Security update for librsvg SUSE / openSUSE Security Updates · Feb 4, 2026
- RHSA-2023:5081 Red Hat Security Advisory: librsvg2 security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- RHSA-2023:4809 Red Hat Security Advisory: librsvg2 security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- WID-SEC-2023-1859 librsvg: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Aug 8, 2024
- WID-SEC-2023-2902 IBM Security Guardium: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 14, 2023
- ELSA-2023-5081 Moderate: librsvg2 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Sep 13, 2023
- ALAS2023-2023-295 Important: librsvg2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 23, 2023
References
- https://gitlab.gnome.org/GNOME/librsvg/-/issues/996
- https://bugzilla.suse.com/show_bug.cgi?id=1213502
- https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.56.3
- 20230724 APPLE-SA-2023-07-24-1 Safari 16.6 mailing-list
- [oss-security] 20230727 CVE-2023-38633 in librsvg: Arbitrary file read when xinclude href has special characters mailing-list
- FEDORA-2023-fc79ee273d vendor-advisory
- FEDORA-2023-0873c38acd vendor-advisory
- DSA-5484 vendor-advisory
- https://security.netapp.com/advisory/ntap-20230831-0011/
- [oss-security] 20230906 Re: CVE-2023-38633 in librsvg: Arbitrary file read when xinclude href has special characters mailing-list
- https://www.canva.dev/blog/engineering/when-url-parsers-disagree-cve-2023-38633/
- https://news.ycombinator.com/item?id=37415799