Skip to main content

GNU C Library CVE-2026-18374

| EUVDEUVD-2026-67222 MEDIUM
Out-of-bounds Write (CWE-787)
4.9
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify application passing user-controlled ccs= to fopen
  2. Delivery
    Supply mode string with empty ccs= label
  3. Exploit
    Trigger heap buffer overflow in glibc fopen parser
  4. Execution
    Corrupt heap metadata or adjacent allocation
  5. Impact
    Achieve limited confidentiality/integrity/availability impact in process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following specific conditions: (1) the target system runs glibc version 2.45 or earlier; (2) a vulnerable application calls fopen() with a mode string that includes the ,ccs= extension; (3) the ccs= label value is derived from attacker-controlled input without validation, and an empty string can be supplied. The glibc advisory explicitly states this three-way combination does not appear in common GNU or Linux distribution applications, making standard system binaries non-exploitable. Limiting factors include the local attack vector (AV:L) constraining exploitation to local process influence or physical/logical local access, and the high attack complexity (AC:H) reflecting the narrow conditions. Standard applications using fopen() with hardcoded mode strings (e.g., fopen(path, "r")) are entirely unaffected regardless of glibc version.

Impact

Real-world risk is substantially lower than the product's ubiquity might initially suggest. The CVSS 3.1 vector AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L scores 4.9 (Medium), and each metric is meaningful: the local attack vector and high complexity together require both that a vulnerable application accepts externally supplied ccs= values and passes them unsanitized to fopen(). The glibc advisory authors themselves explicitly state this usage pattern does not appear in common GNU/Linux distribution software. No CISA KEV entry exists, confirming no known active exploitation. No EPSS data was provided, so exploitation probability cannot be quantified from this data set. The C/I/A impact is rated Low across all three dimensions by the vendor, meaning even a successful exploit yields limited process-level damage rather than full system compromise. Impact is further bounded by the S:U (scope unchanged) metric, containing the effect to the faulting process. The primary risk is a narrow class of custom or third-party applications that forward untrusted user input into the fopen mode string's ccs= field without validation.

Exploit ScenarioDerived

An attacker targets a local service or setuid application that accepts a user-supplied file-mode or encoding parameter and passes it directly to fopen() as part of the mode string without sanitizing the ,ccs= label. By supplying a mode string such as 'r,ccs=' (with an empty label after the equals sign), the attacker triggers a heap buffer overflow within glibc's fopen mode-string parser. Depending on heap layout, this could result in limited memory corruption within the calling process, potentially affecting confidentiality, integrity, or availability at the Low level assessed by the vendor. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 27, 2026

Heap buffer overflow in GNU C Library (glibc) 2.45 and earlier triggers when an effectively empty string is passed via the ,ccs= mode-argument extension to fopen(), enabling limited heap memory corruption in applications that expose this code path to externally controlled input. The vendor-assigned CVSS 3.1 score of 4.9 (Medium) with a local attack vector and high complexity accurately reflects the narrow preconditions required. No public exploit code has been identified at time of analysis, and the glibc advisory itself explicitly notes this vulnerable usage pattern is absent from mainstream GNU/Linux applications.

RemediationAI

The primary fix is upgrading glibc to the patched version that resolves commit 129d706d77587e4d6627cc1ebef9be0f7cbc65f0; however, no specific patched release version number is confirmed in the provided input data - the exact fix version must be verified against the upstream advisory at https://sourceware.org/git/?p=glibc.git;a=tree;f=advisories;hb=HEAD and the oss-security disclosure at https://seclists.org/oss-sec/2026/q3/602. As a compensating control prior to patching, audit any application that constructs fopen() mode strings using external input and enforce strict allowlist validation on any ccs= value before it reaches fopen() - rejecting empty strings and permitting only known-valid encoding names (e.g., UTF-8, ISO-8859-1). This input validation at the application boundary eliminates the vulnerable code path without requiring an OS-level glibc update. Note that the glibc advisory authors assess this pattern as rare in mainstream software, so the compensating-control audience is likely limited to custom or specialized applications.

Affected VersionsENISA

glibc 0 <2.45

Affected Packages

euvd glibc fix: 2.45

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The GNU C Library extends the POSIX fopen() mode string with a non-standard ,ccs=ENCODING syntax enabling character-set conversion for wide-character file I/O (e.g., fopen("file", "r,ccs=UTF-8")). When the character-set label following ,ccs= is effectively empty, the internal mode-string parser fails to correctly bound-check the label length before writing into a heap buffer, producing a classic CWE-122 (Heap-based Buffer Overflow). The vulnerable behavior was introduced at upstream commit 129d706d77587e4d6627cc1ebef9be0f7cbc65f0 and is present in all glibc releases through 2.45. No CPE string was included in the provided intelligence, but the affected component is unambiguously the glibc fopen() implementation across all Linux distributions shipping glibc 2.45 or earlier.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 4.9 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 4.9 MEDIUM

Local vector and high complexity because exploitation depends on an application forwarding attacker-controlled input to the fopen ccs= parameter; no elevated attacker privileges are required.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 4.9 MEDIUM

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

3
Patch available
Aug 27, 2026 - 22:03 EUVD
CVSS changed
Aug 27, 2026 - 20:37 NVD
4.9 (MEDIUM)
CVE Published
Aug 27, 2026 - 19:53 oss-security
MEDIUM

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Ubiquitous
glibc is the standard C library on virtually all Linux systems
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Affected
SLES15-SP6-CHOST-BYOS Affected
SLES15-SP6-CHOST-BYOS-Aliyun Affected
SLES15-SP6-CHOST-BYOS-Azure Affected
SLES15-SP6-CHOST-BYOS-EC2 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy