cve.bz

CVE-2026-40468 fossies gawk: Year 2038 problem, Y2K38, Y2038, Epochalypse

2.1 lowEPSS 0.2%Fix available

Low (2.1) in fossies gawk. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.

Severity

CVSS 4.0

2.1 low
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:L

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th 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-07-13. 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-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40468 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40468?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40468?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-40468 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
GNU gawkthrough 5.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14gawkno fix listedDEBIAN-CVE-2026-40468
Ubuntu22.04:LTSgawk1:5.1.0-1ubuntu0.2UBUNTU-CVE-2026-40468 USN-8588-1
Ubuntu24.04:LTSgawk1:5.2.1-2ubuntu0.1UBUNTU-CVE-2026-40468 USN-8588-1
Ubuntu26.04:LTSgawk1:5.3.2-1ubuntu1.1UBUNTU-CVE-2026-40468 USN-8588-1
UbuntuPro:14.04:LTSgawk1:4.0.1+dfsg-2.1ubuntu2+esm2UBUNTU-CVE-2026-40468 USN-8588-1
UbuntuPro:16.04:LTSgawk1:4.1.3+dfsg-0.1ubuntu0.1~esm2UBUNTU-CVE-2026-40468 USN-8588-1
UbuntuPro:18.04:LTSgawk1:4.1.4+dfsg-1ubuntu0.1~esm2UBUNTU-CVE-2026-40468 USN-8588-1
UbuntuPro:20.04:LTSgawk1:5.0.1+dfsg-1ubuntu0.1+esm1UBUNTU-CVE-2026-40468 USN-8588-1
Red Hatenterprise_linux:8::baseosgawk, gawk-debuginfo, gawk-debugsource0:4.2.1-5.el8_10RHSA-2026:73511
Red Hatenterprise_linux:9::appstreamgawk-debuginfo, gawk-debugsource, gawk-all-langpacks0:5.1.0-6.el9_8.1RHSA-2026:73512
Red Hatenterprise_linux:9::baseosgawk, gawk-debuginfo, gawk-debugsource0:5.1.0-6.el9_8.1RHSA-2026:73512
Red Hatenterprise_linux:10.2gawk, gawk-debuginfo, gawk-debugsource and 1 more0:5.3.0-6.el10_2.1RHSA-2026:73429
Red Hathummingbird:1gawk, gawk-doc, gawk-devel and 1 more0:5.4.0-3.1.hum1RHSA-2026:40041
Red Hathummingbird:1gawk, gawk-doc, gawk-devel and 1 more0:5.4.1-1.hum1RHSA-2026:49661
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5 and 1 moregawk4.2.1-150000.3.6.1SUSE-SU-2026:3455-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0gawk5.3.2-160000.3.1SUSE-SU-2026:22831-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5gawk4.1.0-5.6.1SUSE-SU-2026:3211-1
SUSELinux Micro 6.0gawk5.3.0-2.1SUSE-SU-2026:23042-1
SUSELinux Micro 6.2gawk5.3.2-160000.3.1SUSE-SU-2026:22767-1
openSUSELeap 16.0gawk5.3.2-160000.3.1openSUSE-SU-2026:21393-1
AlmaLinux8gawk4.2.1-5.el8_10ALSA-2026:73511
AlmaLinux9gawk, gawk-all-langpacks5.1.0-6.el9_8.1ALSA-2026:73512
AlmaLinux10gawk, gawk-all-langpacks5.3.0-6.el10_2.1ALSA-2026:73429
Rocky Linux8gawk0:4.2.1-5.el8_10RLSA-2026:73511
Rocky Linux9gawk0:5.1.0-6.el9_8.1RLSA-2026:73512
Rocky Linux10gawk0:5.3.0-6.el10_2.1RLSA-2026:73429
Azure Linux3gawk5.2.2-2AZL-92289
Alpaquita23gawk5.1.1-r2BELL-CVE-2026-40468
Alpaquita25, streamgawk5.3.2-r3BELL-CVE-2026-40468
BellSoft Hardened Containers23gawk5.1.1-r2BELL-CVE-2026-40468
BellSoft Hardened Containers25, streamgawk5.3.2-r3BELL-CVE-2026-40468

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

Moderate: An integer overflow vulnerability in gawk's builtin.c could allow a local attacker to cause memory exhaustion and overwrite heap metadata. This could lead to system instability or a denial of service on affected Red Hat products, requiring local access to execute a malicious gawk script.

Red Hat's mitigation

Do not execute untrusted awk scripts or process untrusted inputs that could trigger oversized calculations in builtin.c.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10gawk-0:5.3.0-6.el10_2.1Fixed 2026-09-29RHSA-2026:73429
Red Hat Enterprise Linux 8gawk-0:4.2.1-5.el8_10Fixed 2026-10-02RHSA-2026:73511
Red Hat Enterprise Linux 9gawk-0:5.1.0-6.el9_8.1Fixed 2026-09-29RHSA-2026:73512
Red Hat OpenShift Container Platform 4.22openshift/ose-rhel-coreos-9:4.22.9.8.202610241758-0Fixed 2026-10-27RHSA-2026:89197
Red Hat Cost Management On-Premise 1costmanagement/costmanagement-ui-rhel10:1791460851Fixed 2026-10-08RHSA-2026:79357
Red Hat Hardened Imagesgawk-main-5.4.0-3.1.hum1Fixed 2026-07-15RHSA-2026:40041
Red Hat Hardened Imagesgawk-main-5.4.1-1.hum1Fixed 2026-08-03RHSA-2026:49661
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 6gawkOut of support scope
Red Hat Enterprise Linux 7gawkAffected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected

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-40468.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON