CVE-2026-100310

GNU libextractor before 1.16 Privilege Escalation via LIBEXTRACTOR_PREFIX

Published Sep 25, 2026 CVSS 4.0 · 7.3 High EPSS < 1% KEV · Not listed
Description
GNU libextractor before 1.16 loads plugins from an untrusted search path specified by the LIBEXTRACTOR_PREFIX environment variable without proper privilege checks. A local attacker can exploit this by setting LIBEXTRACTOR_PREFIX to a directory containing a malicious plugin that executes arbitrary code with elevated privileges when loaded by a setuid or setgid program.

Analysis

AI-generated

Technical impact

The vulnerability exists because GNU libextractor loads plug‑in libraries from the directory defined by the LIBEXTRACTOR_PREFIX environment variable without verifying the executor’s privileges. A local attacker can set this variable to a directory containing a malicious plug‑in, and when that plug‑in is loaded by a setuid or setgid program it executes arbitrary code with the elevated privileges of the binary. The exploit therefore allows a non‑privileged user to gain the rights of a privileged account that runs a binary linked to libextractor.

Affected Systems

All installations of GNU libextractor prior to version 1.16 are affected. The vulnerability is present in the base library regardless of operating system or distribution, as long as the library is linked into a setuid or setgid binary.

Risk and Exploitability

The CVSS score of 7.3 indicates a high severity with medium to high impact. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited visibility among known exploits. However, the attack requires local access to a privileged executable that utilizes libextractor. If such a binary exists, an attacker who can set the environment variable for that process can elevate privileges to the level of that binary. The lack of a publicly documented exploit does not reduce the risk once the described conditions are met.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade GNU libextractor to version 1.16 or later, which implements proper privilege checks before loading plugins.
  • If an upgrade cannot be performed immediately, ensure that LIBEXTRACTOR_PREFIX is unset or points to a trusted directory before launching any setuid or setgid binaries that depend on libextractor.
  • Audit all setuid and setgid programs that link to libextractor and remove or replace the library dependency if it is not required for elevated‑privilege functionality.
  • Apply system hardening practices such as restricting local execution of setuid binaries only to properly secured users, and monitor for unexpected privilege changes.

Generated by OpenCVE AI on September 25, 2026 at 20:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description GNU libextractor before 1.16 loads plugins from an untrusted search path specified by the LIBEXTRACTOR_PREFIX environment variable without proper privilege checks. A local attacker can exploit this by setting LIBEXTRACTOR_PREFIX to a directory containing a malicious plugin that executes arbitrary code with elevated privileges when loaded by a setuid or setgid program.
Title GNU libextractor before 1.16 Privilege Escalation via LIBEXTRACTOR_PREFIX
First Time appeared Gnu
Gnu libextractor
Weaknesses CWE-426
CPEs cpe:2.3:a:gnu:libextractor:*:*:*:*:*:*:*:*
Vendors & Products Gnu
Gnu libextractor
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 30, 2026, 12:05 AM
Reserved
Sep 25, 2026, 7:01 PM
Status
Awaiting Analysis
Published
Sep 25, 2026, 8:17 PM
Modified
Sep 30, 2026, 5:31 PM
Severity
Moderate
Public date
Sep 25, 2026, 7:38 PM