Guest-to-host escalation via libfsimage stack overflow
Published Jan 5, 2024 · Updated Nov 4, 2025
Stack buffer overflow in Xen libfsimage affects all Xen versions and allows guest OS users using pygrub to gain host control. Pygrub passes guest-controlled disk images to libfsimage, whose legacy XFS parsing code writes beyond a stack buffer while inspecting crafted filesystem data. Exploitation requires a guest configured to boot with pygrub; successful corruption raises the guest to domain-construction-tool privileges, normally control of the host.
Summary
What happened
Stack buffer overflow in Xen libfsimage affects all Xen versions and allows guest OS users using pygrub to gain host control. Pygrub passes guest-controlled disk images to libfsimage, whose legacy XFS parsing code writes beyond a stack buffer while inspecting crafted filesystem data. Exploitation requires a guest configured to boot with pygrub; successful corruption raises the guest to domain-construction-tool privileges, normally control of the host.
The record
- CVE
- CVE-2023-34325
- Published
- Jan 5, 2024
- Updated
- Nov 4, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-787, T1611
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 5, 2024CVE publishedPublication date reported by the CVE source.
- Nov 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo