CVE-2026-18374

published 27 Aug 2026 · updated 28 Aug 2026

Passing an effectively empty string to the `,ccs=` syntax extension of the mode argument in the `fopen` function in the GNU C Library…

4.9MediumCVSS 4.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.45.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
The GNU C Library<2.452.45

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-18374 severity on Zeptric[![CVE-2026-18374](https://zeptric.io/badge/cve/CVE-2026-18374.svg)](https://zeptric.io/cve/CVE-2026-18374)