CVE-2026-18374
[committed] Document CVE-2026-18374 and new CVSS tag
- Severity
- medium CVSS 4.9 (v3.1)
- Affects
- glibc · The GNU C Library
- Weakness
- CWE-787 Out-of-bounds write
- Published
- 27 August 2026 by glibc
- First seen on our lists
- 27 August 2026
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.
Our coverage
- glibc patches heap overflow in fopen ccs= handling
- glibc patches heap overflow in fopen ccs= charset handling
- glibc fixes heap overflow in fopen ccs= charset handling
- glibc patches heap overflow in fopen charset mode handling
- glibc plugs heap overflow in fopen ccs= charset handling
On the lists
- [PATCH 5/5] advisories: add first affected version for GLIBC-SA-2026-0015
- [PATCH v2] Record CVE-2026-18374 fix
- [PATCH] Record CVE-2026-18374 fix
- [PATCH v7] libio: Fix CVE-2026-18374 heap buffer overflow in ccs= handling
- [PATCH] libio: Fix CVE-2026-18374 heap buffer overflow in ccs= handling
- [PATCH] libio: Fix heap overflow in fopen ",ccs=" handling [BZ #34574]
- [PATCH v5] libio: Fix CVE-2026-18374 heap buffer overflow in ccs= handling
- [PATCH v4] libio: Fix CVE-2026-18374 heap buffer overflow in ccs= handling
- Monday Patch Queue Review update (2026-08-31)
- [PATCH v3] libio: Fix CVE-2026-18374 heap buffer overflow in ccs= handling
- [PATCH v2] libio: Fix CVE-2026-18374 - fopen heap buffer overflow with empty ccs=
- [PATCH] libio: Fix CVE-2026-18374 - fopen heap buffer overflow with empty ccs=
- [oss-security] The GNU C Library security advisory update for 2026-08-27
- [committed] Document CVE-2026-18374 and new CVSS tag