Description
GNU libextractor before 1.15 contains a stack-based buffer overflow vulnerability in the process_star_office function that sizes a variable-length stack array from attacker-controlled OLE2 stream data. Attackers can craft malicious StarOffice documents that allocate up to 4 MB on the stack, causing stack overflow and crashing any application extracting metadata from the document.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GNU | libextractor | < 1.15 | 1.15 |
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 | libextractor | 1:1.17-1 | — |
| Debian 13 | libextractor | No fix yet | — |
| Debian 12 | libextractor | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libextractor | No fix yet | — |
| Ubuntu 26.04 LTS | libextractor | No fix yet | — |
| Ubuntu 24.04 LTS | libextractor | No fix yet | — |
| Ubuntu 22.04 LTS | libextractor | No fix yet | — |
| Ubuntu 20.04 LTS | libextractor | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libextractor | No fix yet | — |
| Ubuntu 16.04 LTS | libextractor | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libextractor | No fix yet | — |
References
- https://github.com/Haitam-lazaar/libextractor-ole2-rce exploit third-party-advisory
- https://git.gnunet.org/gnunet/libextractor/commit/04004eb19033e093938138b09befdf31e71e8522.html patch
- https://git.gnunet.org/gnunet/libextractor/commit/2781c7e9095f4ddaff4f535d69342f3903b18422.html patch
- https://www.gnu.org/software/libextractor/ product
- VulnCheck Advisory: GNU libextractor before 1.15 Stack Overflow via OLE2 third-party-advisory