Re: CVE-2026-100310: GNU libextractor < 1.16 Privilege Escalation via LIBEXTRACTOR_PREFIX
Simon McVittie questions whether libextractor CVE-2026-100310 is a realistic setuid privilege escalation.
On oss-security, Simon McVittie replied about CVE-2026-100310, a claimed privilege escalation in GNU libextractor before 1.16 via the LIBEXTRACTOR_PREFIX environment variable. He asked whether the library was ever advertised as safe for setuid, setgid, or other privileged processes. Package descriptions present it as a metadata library for file-sharing networks, file managers, and web-indexing bots. He argues those are not typical setuid use cases, limiting practical impact.
- CVE-2026-100310 affects GNU libextractor before 1.16.
- Claimed issue is privilege escalation via LIBEXTRACTOR_PREFIX.
- McVittie doubts the library was meant for setuid or setgid use.
- Described uses are metadata extraction for file tools and indexing bots.
Vulnerabilities mentionedAll →
- CVE-2026-1003107.3—Untrusted plugin search path in GNU libextractorpublished · GNU libextractor
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-100310 | Untrusted plugin search path in GNU libextractor GNU libextractor before 1.16 loads plugins from a directory given by the LIBEXTRACTOR_PREFIX environment variable without checking whether the process is running with elevated privileges. A local attacker who can set that variable can point it at a directory containing a malicious plugin. When a setuid or setgid program then loads libextractor, the plugin runs as arbitrary code with the program's elevated privileges. The issue affects systems that ship vulnerable libextractor and use it from privileged binaries; ordinary unprivileged use does not by itself yield escalation. It is not listed in CISA KEV, and no public proof-of-concept is known. Do: Upgrade GNU libextractor to 1.16 or later on every host that ships it. Until then, do not run setuid or setgid programs that load libextractor, and prevent untrusted users from setting LIBEXTRACTOR_PREFIX for those processes. Inventory setuid/setgid binaries and confirm whether they link libextractor. |
Posted by Simon McVittie on Sep 26 Was this library advertised as being safe for use in setuid, setgid or otherwise privileged processes? Looking at its description in my package manager ("provides developers of file-sharing networks, file managers, and WWW-indexing bots with a universal library to obtain meta-data about files") I don't immediately see why it would be appropriate for a setuid program to use this. I think it's going to scale incredibly...
This source does not provide full text. Read it at seclists.org.