Description
libewf through 20260924 contains a heap out-of-bounds read vulnerability in libewf_lef_extended_attribute_read_data() because UTF-16 name and value sizes are validated before being doubled. Attackers can supply a crafted .L01/.Lx01 file with oversized 'ea' metadata counts to crash the application or leak uninitialized heap memory through extended attributes.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| libyal | libewf | ≤ 20260924 | — |
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 | libewf | No fix yet | — |
| Debian 13 | libewf | No fix yet | — |
| Debian 12 | libewf | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libewf | No fix yet | — |
| Ubuntu 26.04 LTS | libewf | No fix yet | — |
| Ubuntu 24.04 LTS | libewf | No fix yet | — |
| Ubuntu 22.04 LTS | libewf | No fix yet | — |
| Ubuntu 20.04 LTS | libewf | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libewf | No fix yet | — |
| Ubuntu 16.04 LTS | libewf | No fix yet | — |
References
- https://hackmd.io/@haind-pwn/libewf-lef-extended-attribute-utf16-size-oob-read technical-description exploit
- https://github.com/libyal/libewf/blob/d76fd0bb21601e2969bc88ffdaeb861023f6a5b2/libewf/libewf_lef_extended_attribute.c#L362-L408 technical-description
- https://github.com/libyal/libewf/blob/d76fd0bb21601e2969bc88ffdaeb861023f6a5b2/libewf/libewf_lef_extended_attribute.c#L456-L560 technical-description
- https://github.com/libyal/libewf product
- VulnCheck Advisory: libewf through 20260924 Heap Out-of-Bounds Read via L01 Extended Attribute Parsing third-party-advisory