Skip to content
OpenAdvisories
Medium · 4.9 CVE-2026-18374 EUVD-2026-67222GHSA-qg52-8pr2-xj9v

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

Published Aug 27, 2026 · Updated Aug 28, 2026 · Assigned by glibc

Vendor: The GNU C Library Product: glibc Package: eglibc Package: glibc Package: glibc Package: glibc Package: glibc-2.43 Package: glibc-2.43-abi-report Package: glibc-2.43-dev Package: glibc-2.43-iconv Package: glibc-2.43-locale-ca Package: glibc-2.43-locale-de Package: glibc-2.43-locale-en Package: glibc-2.43-locale-es Package: glibc-2.43-locale-extra Package: glibc-2.43-locale-fr Package: glibc-2.43-locale-posix Package: glibc-2.43-locales Package: glibc-2.43-testresults Package: glibc-2.43-tracing Package: glibc-2.44 Package: glibc-2.44-abi-report Package: glibc-2.44-dev Package: glibc-2.44-iconv Package: glibc-2.44-locale-ca Package: glibc-2.44-locale-de Package: glibc-2.44-locale-en Package: glibc-2.44-locale-es Package: glibc-2.44-locale-extra Package: glibc-2.44-locale-fr Package: glibc-2.44-locale-posix Package: glibc-2.44-locales Package: glibc-2.44-testresults Package: glibc-2.44-tracing Package: ld-linux-2.43 Package: ld-linux-2.44 Package: libc-bin-2.43 Package: libc-bin-2.44 Package: libcrypt1-2.43 Package: libcrypt1-2.44 Package: localedef-2.43 Package: localedef-2.44 Package: nscd-2.43 Package: nscd-2.44 Package: nss-db-2.43 Package: nss-db-2.44 Package: nss-hesiod-2.43 Package: nss-hesiod-2.44 Package: pcprofiledump-2.43 Package: pcprofiledump-2.44 Package: posix-libc-utils-2.43 Package: posix-libc-utils-2.44 Package: posix-libc-utils-bin-2.43 Package: posix-libc-utils-bin-2.44 Package: sln-2.43 Package: sln-2.44 Package: sotruss-2.43 Package: sotruss-2.44 Package: tzutils-2.43 Package: tzutils-2.44 Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu Ecosystem: Wolfi

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.

Affected products

VendorProductAffectedFixed
The GNU C Library glibc < 2.45 2.45

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.43-5 —
Debian 13 glibc No fix yet —
Debian 12 glibc No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 glibc 2.44-1ubuntu2.1 USN-9065-1
Ubuntu 26.04 LTS glibc 2.43-2ubuntu2.7 USN-9065-1
Ubuntu 24.04 LTS glibc 2.39-0ubuntu8.12 USN-9065-1
Ubuntu 22.04 LTS glibc 2.35-0ubuntu3.18 USN-9065-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS glibc No fix yet —
Ubuntu Pro 18.04 LTS glibc No fix yet —
Ubuntu Pro 16.04 LTS glibc No fix yet —
Ubuntu Pro 14.04 LTS eglibc No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 glibc +220 2.39-145.el10_2 RHSA-2026:84753
RHEL 9 nscd +214 2.34-283.el9_8 RHSA-2026:79281
RHEL 8 nscd +213 2.28-251.el8_10.48 RHSA-2026:80798
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 glibc +227 2.43-8.5.hum1 RHSA-2026:65339

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 glibc +220 2.39-145.el10_2.alma.1 ALSA-2026:84753
AlmaLinux 9 nscd +214 2.34-283.el9_8 ALSA-2026:79281
AlmaLinux 8 nscd +211 2.28-251.el8_10.48 ALSA-2026:80798

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 glibc 2.39-145.el10_2 RLSA-2026:84753
Rocky Linux 9 glibc 2.34-283.el9_8 RLSA-2026:79281
Rocky Linux 8 glibc 2.28-251.el8_10.48 RLSA-2026:80798
ReleasePackageFixed inAdvisory
SLES 15 SP7 glibc 2.38-150600.14.58.1 SUSE-SU-2026:4250-1
SLES 15 SP6 glibc 2.38-150600.14.58.1 SUSE-SU-2026:4250-1
SLES 15 SP5 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLES 15 SP4 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLES 12 SP5 glibc 2.22-114.52.2 SUSE-SU-2026:4204-1
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 glibc 2.40-160000.7.1 SUSE-SU-2026:23934-1
SLES for SAP 15 SP6 glibc 2.38-150600.14.58.1 SUSE-SU-2026:4250-1
SLES for SAP 15 SP5 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLES for SAP 15 SP4 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLES 16.0 glibc 2.40-160000.7.1 SUSE-SU-2026:23934-1
SLE Micro 6.2 glibc 2.40-160000.7.1 SUSE-SU-2026:23957-1, SUSE-SU-2026:23929-1
SLE Micro 6.1 glibc 2.38-slfo.1.1_10.1 SUSE-SU-2026:23738-1
SLE Micro 6.0 glibc 2.38-15.1 SUSE-SU-2026:23830-1
SLE Micro 5.5 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLE Micro 5.4 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLE Micro 5.3 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLE HPC 15 SP5 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
SLE HPC 15 SP4 glibc 2.31-150300.109.1 SUSE-SU-2026:4591-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed glibc 2.44-2.1 openSUSE-SU-2026:11787-1
openSUSE Leap 16.0 glibc +4 2.40-160000.7.1 openSUSE-SU-2026:21968-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 glibc No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 glibc +220 2.39-145.0.1.el10_2 ELSA-2026-84753
Oracle Linux 9 nscd +214 2.34-283.0.1.el9_8 ELSA-2026-79281
Oracle Linux 8 nscd +213 2.28-251.0.5.el8_10.48 ELSA-2026-80798

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling sln-2.43 +26 2.43-r18 —
Wolfi rolling sln-2.44 +26 2.44-r6 —

Advisories 25

References