cve.bz

CVE-2026-18374 the gnu c library glibc: Out-of-bounds Write

4.9 mediumEPSS 0.1%

Medium (4.9) in the gnu c library glibc. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.9 medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-18374 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-18374?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-18374?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-18374 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The GNU C Library glibcbefore 2.45

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12glibcno fix listedDEBIAN-CVE-2026-18374
Debian13glibc2.41-12+deb13u5DEBIAN-CVE-2026-18374
Debian14glibc2.43-5DEBIAN-CVE-2026-18374
Ubuntu22.04:LTSglibc2.35-0ubuntu3.18UBUNTU-CVE-2026-18374 USN-9065-1
Ubuntu24.04:LTSglibc2.39-0ubuntu8.12UBUNTU-CVE-2026-18374 USN-9065-1
Ubuntu26.04:LTSglibc2.43-2ubuntu2.7UBUNTU-CVE-2026-18374 USN-9065-1
Ubuntu26.10glibc2.44-1ubuntu2.1USN-9065-1
UbuntuPro:14.04:LTSeglibcno fix listedUBUNTU-CVE-2026-18374
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSglibcno fix listedUBUNTU-CVE-2026-18374
Red Hatenterprise_linux:8::appstreamglibc-utils, nscd-debuginfo, glibc-debuginfo and 10 more0:2.28-251.el8_10.48RHSA-2026:80798
Red Hatenterprise_linux:8::baseosnscd, glibc, libnsl and 216 more0:2.28-251.el8_10.48RHSA-2026:80798
Red Hatenterprise_linux:8::crbnss_hesiod, glibc-static, nscd-debuginfo and 12 more0:2.28-251.el8_10.48RHSA-2026:80798
Red Hatenterprise_linux:9::appstreamglibc-doc, glibc-devel, glibc-utils and 12 more0:2.34-283.el9_8RHSA-2026:79281
Red Hatenterprise_linux:9::baseosnscd, glibc, libnsl and 212 more0:2.34-283.el9_8RHSA-2026:79281
Red Hatenterprise_linux:9::crbnss_db, nss_hesiod, glibc-static and 12 more0:2.34-283.el9_8RHSA-2026:79281
Red Hatenterprise_linux:10.2glibc, libnsl, nss_db and 227 more0:2.39-145.el10_2RHSA-2026:84753
Red Hathummingbird:1glibc, libnsl, nss_db and 225 more0:2.43-8.5.hum1RHSA-2026:65339
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreglibc2.31-150300.109.1SUSE-SU-2026:4591-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS and 1 moreglibc2.38-150600.14.58.1SUSE-SU-2026:4250-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5glibc2.22-114.52.2SUSE-SU-2026:4204-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0glibc2.40-160000.7.1SUSE-SU-2026:23934-1
SUSELinux Micro 6.0glibc2.38-15.1SUSE-SU-2026:23830-1
SUSELinux Micro 6.1glibc2.38-slfo.1.1_10.1SUSE-SU-2026:23738-1
SUSELinux Micro 6.2glibc2.40-160000.7.1SUSE-SU-2026:23957-1
SUSELinux Micro Extras 6.2glibc2.40-160000.7.1SUSE-SU-2026:23929-1
openSUSELeap 16.0glibc, glibc-cross-s390x-src, glibc-cross-aarch64-src and 2 more2.40-160000.7.1openSUSE-SU-2026:21968-1
openSUSETumbleweedglibc2.44-2.1openSUSE-SU-2026:11787-1
AlmaLinux8nscd, glibc, libnsl and 209 more2.28-251.el8_10.48ALSA-2026:80798
AlmaLinux9nscd, glibc, libnsl and 212 more2.34-283.el9_8ALSA-2026:79281
AlmaLinux10glibc-doc2.39-145.el10_2.alma.1ALSA-2026:84753
Rocky Linux8glibc0:2.28-251.el8_10.48RLSA-2026:80798
Rocky Linux9glibc0:2.34-283.el9_8RLSA-2026:79281
Rocky Linux10glibc0:2.39-145.el10_2RLSA-2026:84753
Azure Linux3glibcno fix listedAZL-98042
Alpaquita23glibc2.37.0-r27BELL-CVE-2026-18374
Alpaquita25glibc2.39.0-r13BELL-CVE-2026-18374
Alpaquitastreamglibc2.43.0-r7BELL-CVE-2026-18374
BellSoft Hardened Containers23glibc2.37.0-r27BELL-CVE-2026-18374
BellSoft Hardened Containers25glibc2.39.0-r13BELL-CVE-2026-18374
BellSoft Hardened Containersstreamglibc2.43.0-r7BELL-CVE-2026-18374

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability in glibc involves a heap buffer overflow when the `fopen` function processes an attacker-controlled mode string with an effectively empty `,ccs=` extension. Exploitation is highly complex as this specific usage pattern is not common in applications within typical Red Hat Enterprise Linux environments, significantly limiting its practical applicability.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10glibc-0:2.39-145.el10_2Fixed 2026-10-19RHSA-2026:84753
Red Hat Enterprise Linux 8glibc-0:2.28-251.el8_10.48Fixed 2026-10-12RHSA-2026:80798
Red Hat Enterprise Linux 9glibc-0:2.34-283.el9_8Fixed 2026-10-08RHSA-2026:79281
Cost Management 4costmanagement/costmanagement-metrics-rhel9-operator:1793202662Fixed 2026-11-04RHSA-2026:95264
Red Hat Cost Management On-Premise 1costmanagement/costmanagement-ui-rhel10:1792605272Fixed 2026-10-21RHSA-2026:87400
Red Hat Hardened Imagesglibc-main-2.43-8.5.hum1Fixed 2026-09-08RHSA-2026:65339
Red Hat Update Infrastructure 5rhui5/cds-kubernetes-rhel9:1791978534Fixed 2026-10-14RHSA-2026:82939
Red Hat Update Infrastructure 5rhui5/cds-rhel9:1791978528Fixed 2026-10-14RHSA-2026:82939
Red Hat Update Infrastructure 5rhui5/haproxy-rhel9:1791978528Fixed 2026-10-14RHSA-2026:82939
Red Hat Update Infrastructure 5rhui5/installer-rhel9:1791964013Fixed 2026-10-14RHSA-2026:82939
Red Hat Update Infrastructure 5rhui5/rhua-rhel9:1791978693Fixed 2026-10-14RHSA-2026:82939
Red Hat Enterprise Linux 6compat-glibcFix deferred
Red Hat Enterprise Linux 6glibcFix deferred
Red Hat Enterprise Linux 7compat-glibcFix deferred
Red Hat Enterprise Linux 7glibcFix deferred
Red Hat Hardened ImagesfilesystemNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-18374.

References

Check your stackJSON