ZeroDay Brief
CVE-2026-18374

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…

CVSS
4.9Medium
Chance of exploitation (EPSS)
—
Published
Aug 27, 2026
In the news
1 story

What to do

A moderate memory corruption flaw that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 2.45

Affected versions
The Gnu C Library Glibc
Before 2.45

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.

CWE-787

Affected products

Get alerts for these →

No product list yet. It usually appears within a few days of publication.

Timeline 21

Latest change: Nessus plugin 386076: Oracle Linux 8 : glibc (ELSA-2026-500668) (Nov 24, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Thu, Nov 12, 2026

  1. AdvisoryUSN-9065-1: GNU C Library vulnerabilitiesUbuntu · 14:08 UTC

Thu, Aug 27, 2026

  1. CVECVE-2026-18374 published (CVSS 4.9)CVE Program · 20:17 UTC

References 3

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”