Skip to main content
EPSS 0.1%top 97%

CVE-2026-18374: Buffer overflow in fopen mode argument processing in The GNU C Library glibc

0
Medium
Published: 09/15/2026 (09/15/2026, 00:00:00 UTC)
Source: CVE Database V5
Vendor/Project: The GNU C Library
Product: glibc

Description

CVE-2026-18374 is a medium severity buffer overflow vulnerability in the GNU C Library (glibc) affecting version 2.45 and earlier. It occurs when an attacker-controlled mode string passed to the fopen function uses the ,ccs= syntax extension with an effectively empty string, potentially causing a heap buffer overflow. This usage pattern is uncommon in typical GNU/Linux applications, and applications should validate user-supplied ccs values before passing them to fopen.

CVSS v3.1

Score 4.9medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected software

The GNU C Library

glibc

Affected versions
>=0 <2.45

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 04:37:56 UTC

Technical Analysis

The vulnerability arises from improper processing of the mode argument in the fopen function of glibc versions 2.45 and earlier. Specifically, passing an effectively empty string to the ,ccs= syntax extension in the mode argument can trigger a heap buffer overflow if the mode string is attacker controlled. This flaw is identified as CWE-787 (Out-of-bounds Write). There is no indication of known exploits in the wild, and the vulnerability requires local attack vector with high attack complexity and no privileges or user interaction. The CVSS 3.1 base score is 4.9 (medium severity).

Potential Impact

Successful exploitation could lead to a heap buffer overflow, potentially causing limited confidentiality, integrity, and availability impacts. However, the attack complexity is high, and the vulnerability requires local access. The impact is limited to scenarios where attacker-controlled input is passed to fopen with the ,ccs= mode syntax, which is not common in typical GNU/Linux applications.

Mitigation Recommendations

No official patch or remediation level has been published yet. Users and developers should avoid passing unvalidated user-supplied values to the ,ccs= syntax extension in fopen mode arguments. Monitor the GNU C Library vendor advisories for updates and apply patches once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
glibc
Date Reserved
2026-07-30T10:48:56.220Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a909ceeacd9273b49b2cd34

Added to database: 08/27/2026, 20:24:14 UTC

Last enriched: 09/10/2026, 04:37:56 UTC

Last updated: 10/11/2026, 18:48:17 UTC

Views: 69

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses