CVE-2026-95818

AT_SECURE program buffer overflow via $ORIGIN processing

Published Sep 22, 2026 CVSS 3.1 · 3.6 Low EPSS < 1% KEV · Not listed
Description
A stack-based buffer overflow in the dynamic loader (ld.so) of the GNU C Library (glibc) versions 2.14 through 2.44 allows a local attacker to crash or corrupt the memory of setuid/setgid (AT_SECURE) programs.

When such a program's DT_RPATH or DT_RUNPATH begins with $ORIGIN and is followed by NUL or '/' the loader both reads past the end of the path buffer and writes past the end of a stack-allocated internal buffer. The corrupted loader stack can lead to a loader crash (denial of service) and limited disclosure of process memory.

Analysis

AI-generated

Technical impact

A stack‑based buffer overflow exists in the dynamic loader of the GNU C Library for versions 2.14 through 2.44. The flaw is triggered when a setuid or setgid program has a DT_RPATH or DT_RUNPATH that begins with $ORIGIN and is followed by a NUL or a slash. In this scenario the loader reads beyond the end of the path string and writes beyond the end of an internal stack buffer. This corrupts the loader’s stack and can cause a crash (denial of service) or a limited disclosure of process memory.

Affected Systems

The affected library is glibc versions 2.14 through 2.44. Any local user who can execute a setuid or setgid binary that contains a vulnerable RPATH or RUNPATH may trigger the overflow. Systems that rely on these glibc versions and have such privileged programs are at risk.

Risk and Exploitability

The CVSS score of 3.6 indicates moderate severity, and the EPSS score is not available, so the likelihood of exploitation is uncertain. The vulnerability can only be exploited from a local context, requiring the attacker to run a setuid/setgid application that uses $ORIGIN in its runtime library path. It is not listed in the CISA KEV catalog, indicating no widespread exploitation is known, but the stack corruption introduces a risk of denial of service and potential local information disclosure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the GNU C Library to a version newer than 2.44 (e.g., 2.45 or later) to eliminate the flaw.
  • Remove or modify any setuid/setgid programs that reference $ORIGIN in their DT_RPATH or DT_RUNPATH; use non‑privileged versions or change the path handling.
  • Audit the system for setuid/setgid binaries that use $ORIGIN, eliminate unnecessary privileged programs, and enforce policies that restrict creating such binaries.

Generated by OpenCVE AI on September 23, 2026 at 02:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9065-1 GNU C Library vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared The Gnu C Library
The Gnu C Library glibc
Vendors & Products The Gnu C Library
The Gnu C Library glibc
Type Values Removed Values Added
Description A stack-based buffer overflow in the dynamic loader (ld.so) of the GNU C Library (glibc) versions 2.14 through 2.44 allows a local attacker to crash or corrupt the memory of setuid/setgid (AT_SECURE) programs. When such a program's DT_RPATH or DT_RUNPATH begins with $ORIGIN and is followed by NUL or '/' the loader both reads past the end of the path buffer and writes past the end of a stack-allocated internal buffer. The corrupted loader stack can lead to a loader crash (denial of service) and limited disclosure of process memory.
Title AT_SECURE program buffer overflow via $ORIGIN processing
Weaknesses CWE-121
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-121

    Stack-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
glibc
Published
Updated
Sep 22, 2026, 6:21 PM
Reserved
Sep 22, 2026, 3:51 PM
Status
Awaiting Analysis
Published
Sep 22, 2026, 5:17 PM
Modified
Sep 22, 2026, 7:56 PM
Severity
Moderate
Public date
Sep 22, 2026, 4:50 PM