libphdi through 20260902 Heap Out-of-Bounds Read via Extent Data File Path
Impact
libphdi through 20260902 contains a heap out-of-bounds read vulnerability in libphdi_data_files_get_extent_data_file_path that uses the directory prefix length instead of the basename length. Attackers can supply a crafted Parallels disk image descriptor with a long directory prefix and short basename to crash the process or expose adjacent heap memory.
Source excerpt · VulnCheckAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
libyal · libphdi
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 0 through 20260902 (inclusive) | affected |
Original source description
libphdi through 20260902 contains a heap out-of-bounds read vulnerability in libphdi_data_files_get_extent_data_file_path that uses the directory prefix length instead of the basename length. Attackers can supply a crafted Parallels disk image descriptor with a long directory prefix and short basename to crash the process or expose adjacent heap memory.
References
- Source reference github.com/libyal/libphdi/issues/6
- Source reference github.com/libyal/libphdi
- Patch github.com/libyal/libphdi/commit/61e3e1f6b4c5e15ce827b11858ba51f0dba254e3
- Source reference github.com/libyal/libphdi/blob/20260902/libphdi/libphdi_data_files.c
- Source reference hackmd.io/@haindpwn/libphdi-extent-data-file-path-heap-oob-read
- Security advisory www.vulncheck.com/advisories/libphdi-through-20260902-heap-out-of-bounds-read-via-extent-data-file-path