4.9Medium

CVE-2026-18374

The GNU C Library glibc Published: (2 months ago)

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.

Weakness (CWE): CWE-787

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
The GNU C Library glibc < 2.45

Ubuntu fixes

  • USN-9065-1 GNU C Library vulnerabilities Ubuntu 26.10, 26.04, 24.04, 22.04 · 12.11.2026 · glibc

References and patches