Skip to content
OpenAdvisories
High · 7.8 CVE-2023-34325 EUVD-2023-38406GHSA-gwmw-qvr5-88j2

Multiple vulnerabilities in libfsimage disk handling

Published Jan 5, 2024 · Updated Nov 4, 2025 · Assigned by XEN

Description

[This CNA information record relates to multiple CVEs; the
text explains which aspects/vulnerabilities correspond to which CVE.]

libfsimage contains parsing code for several filesystems, most of them based on
grub-legacy code. libfsimage is used by pygrub to inspect guest disks.

Pygrub runs as the same user as the toolstack (root in a priviledged domain).

At least one issue has been reported to the Xen Security Team that allows an
attacker to trigger a stack buffer overflow in libfsimage. After further
analisys the Xen Security Team is no longer confident in the suitability of
libfsimage when run against guest controlled input with super user priviledges.

In order to not affect current deployments that rely on pygrub patches are
provided in the resolution section of the advisory that allow running pygrub in
deprivileged mode.

CVE-2023-4949 refers to the original issue in the upstream grub
project ("An attacker with local access to a system (either through a
disk or external drive) can present a modified XFS partition to
grub-legacy in such a way to exploit a memory corruption in grub’s XFS
file system implementation.") CVE-2023-34325 refers specifically to
the vulnerabilities in Xen's copy of libfsimage, which is decended
from a very old version of grub.

Affected products

VendorProductAffectedFixed
Xen Xen — —

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.

ReleasePackageFixed inAdvisory
Debian 14 xen 4.17.2+55-g0b56bed864-1 —
Debian 13 xen 4.17.2+55-g0b56bed864-1 —
Debian 12 xen 4.17.2+76-ge1f9cb16e2-1~deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 xen No fix yet —
Ubuntu 26.04 LTS xen No fix yet —
Ubuntu 25.10 xen No fix yet —
Ubuntu 24.04 LTS xen No fix yet —
Ubuntu 22.04 LTS xen No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS xen No fix yet —
Ubuntu 18.04 LTS xen No fix yet —
Ubuntu 16.04 LTS xen No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP5 xen 4.17.2_06-150500.3.12.1 SUSE-SU-2023:4475-1, SUSE-SU-2023:4054-1
SLES 15 SP4 xen 4.16.5_06-150400.4.37.1 SUSE-SU-2023:4476-1, SUSE-SU-2023:4055-1
SLES 15 SP3 xen 4.14.6_06-150300.3.57.1 SUSE-SU-2023:4174-1
SLES 15 SP2 xen 4.13.5_06-150200.3.80.1 SUSE-SU-2023:4183-1
SLES 15 SP1 xen 4.12.4_40-150100.3.95.1 SUSE-SU-2023:4184-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 xen 4.12.4_40-3.97.1 SUSE-SU-2023:4185-1
SLES for SAP 15 SP3 xen 4.14.6_06-150300.3.57.1 SUSE-SU-2023:4174-1
SLES for SAP 15 SP2 xen 4.13.5_06-150200.3.80.1 SUSE-SU-2023:4183-1
SLES for SAP 15 SP1 xen 4.12.4_40-150100.3.95.1 SUSE-SU-2023:4184-1
SLES for SAP 12 SP5 xen 4.12.4_40-3.97.1 SUSE-SU-2023:4185-1
SLE Micro 5.5 xen 4.17.2_06-150500.3.12.1 SUSE-SU-2023:4475-1, SUSE-SU-2023:4054-1
SLE Micro 5.4 xen 4.16.5_06-150400.4.37.1 SUSE-SU-2023:4476-1, SUSE-SU-2023:4055-1
SLE Micro 5.3 xen 4.16.5_06-150400.4.37.1 SUSE-SU-2023:4476-1, SUSE-SU-2023:4055-1
SLE Micro 5.2 xen 4.14.6_06-150300.3.57.1 SUSE-SU-2023:4174-1
SLE Micro 5.1 xen 4.14.6_06-150300.3.57.1 SUSE-SU-2023:4174-1
SLE HPC 15 SP3 xen 4.14.6_06-150300.3.57.1 SUSE-SU-2023:4174-1
SLE HPC 15 SP2 xen 4.13.5_06-150200.3.80.1 SUSE-SU-2023:4183-1
SLE HPC 15 SP1 xen 4.12.4_40-150100.3.95.1 SUSE-SU-2023:4184-1
SUSE Manager Server 4.2 xen 4.14.6_06-150300.3.57.1 SUSE-SU-2023:4174-1
SUSE Manager Proxy 4.2 xen 4.14.6_06-150300.3.57.1 SUSE-SU-2023:4174-1
SUSE Enterprise Storage 7.1 xen 4.14.6_06-150300.3.57.1 SUSE-SU-2023:4174-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xen 4.18.0_02-1.1 openSUSE-SU-2024:13442-1
openSUSE Leap 15.5 xen 4.17.2_06-150500.3.12.1 SUSE-SU-2023:4475-1, SUSE-SU-2023:4054-1
openSUSE Leap 15.4 xen 4.16.5_06-150400.4.37.1 SUSE-SU-2023:4476-1, SUSE-SU-2023:4055-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 xen 4.16.5_08-150400.4.40.1 SUSE-SU-2023:4476-1
openSUSE Leap Micro 5.3 xen 4.16.5_08-150400.4.40.1 SUSE-SU-2023:4476-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xen 4.17.2-r3 —
Alpine v3.23 xen 4.17.2-r3 —
Alpine v3.22 xen 4.17.2-r3 —
Alpine v3.21 xen 4.17.2-r3 —
Alpine v3.20 xen 4.17.2-r3 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 xen 4.17.2-r3 —
Alpine v3.18 xen 4.17.2-r3 —
Alpine v3.17 xen 4.16.5-r3 —
Alpine v3.16 xen 4.16.5-r3 —
Alpine v3.15 xen 4.15.5-r3 —

Advisories 10

References