Description
Passing an effectively empty string to the `,ccs=` syntax extension of the mode argument in the `fopen` function in the GNU C Library version 2.45 or earlier may result in a heap buffer overflow when the mode string input to the function is attacker controlled.



This usage pattern is not seen in applications in common GNU/Linux distributions and applications that process user-supplied values for `ccs` should not pass them through without validation.
Published: 2026-08-27
Score: 4.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Passing an effectively empty string to the ,ccs= syntax extension in the mode argument of fopen triggers a heap buffer overflow in glibc versions 2.45 or earlier. The vulnerability can corrupt heap memory and lead to program instability or undefined behavior; the CVE description does not specify successful code execution.

Affected Systems

The GNU C Library (glibc) is affected. All installations using glibc version 2.45 or earlier contain the flaw, while newer releases are not reported to be vulnerable.

Risk and Exploitability

The CVSS score of 4.9 indicates a moderate severity impact. EPSS is not available and the issue is not listed in CISA KEV, suggesting no widespread exploitation detected. The likely attack vector is application-level, where an application passes a user‑controlled mode string containing the ,ccs= extension, possibly with an empty or malicious value, to fopen. Exploitation requires the vulnerable code to execute with privileges sufficient to exploit heap corruption, but no evidence of active exploitation is present.

Generated by OpenCVE AI on August 28, 2026 at 06:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a glibc update (e.g., 2.46 or later) that includes the heap buffer overflow fix for the fopen ccs extension.
  • Audit the application code that constructs mode strings containing the ,ccs= extension and validate or sanitize any user‑supplied data to prevent empty or malicious values from being passed to fopen.
  • If the ccs extension is not required, remove it from mode strings or enforce strict input constraints to eliminate the vector.

Generated by OpenCVE AI on August 28, 2026 at 06:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 28 Aug 2026 05:45:00 +0000

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

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description Passing an effectively empty string to the `,ccs=` syntax extension of the mode argument in the `fopen` function in the GNU C Library version 2.45 or earlier may result in a heap buffer overflow when the mode string input to the function is attacker controlled. This usage pattern is not seen in applications in common GNU/Linux distributions and applications that process user-supplied values for `ccs` should not pass them through without validation.
Weaknesses CWE-787
References
Metrics cvssV3_1

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


Subscriptions

The Gnu C Library Glibc
cve-icon MITRE

Status: PUBLISHED

Assigner: glibc

Published:

Updated: 2026-08-28T15:37:10.821Z

Reserved: 2026-07-30T10:48:56.220Z

Link: CVE-2026-18374

cve-icon Vulnrichment

Updated: 2026-08-27T22:21:53.526Z

cve-icon NVD

Status : Received

Published: 2026-08-27T20:17:03.553

Modified: 2026-08-28T20:17:22.863

Link: CVE-2026-18374

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T06:30:18Z

Weaknesses