Description
libregf through 20260526 contains a heap out-of-bounds read in libregf_value_item_read_value_data() because it bounds value data size without subtracting the 4-byte old-format cell offset. Attackers can supply a crafted version 1.0/1.1 REGF hive with a value data cell ending its hive bin to leak adjacent heap bytes or crash parsers like regfexport and plaso.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| libyal | libregf | ≤ 20260526 | — |
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 | libregf | No fix yet | — |
| Debian 13 | libregf | No fix yet | — |
| Debian 12 | libregf | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libregf | No fix yet | — |
| Ubuntu 26.04 LTS | libregf | No fix yet | — |
| Ubuntu 24.04 LTS | libregf | No fix yet | — |
| Ubuntu 22.04 LTS | libregf | No fix yet | — |
| Ubuntu 20.04 LTS | libregf | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libregf | No fix yet | — |
| Ubuntu 16.04 LTS | libregf | No fix yet | — |
References
- https://hackmd.io/@haind-pwn/libregf-value-data-offset-oob-read technical-description exploit
- https://github.com/libyal/libregf/blob/1a4bd856484263caa4a5e0d6ba377c3dc69150c7/libregf/libregf_value_item.c#L789-L935 technical-description
- https://github.com/libyal/libregf product
- VulnCheck Advisory: libregf through 20260526 Heap Out-of-Bounds Read via libregf_value_item_read_value_data third-party-advisory