Heap buffer overflow in gawk
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Partial Red Hat: 9 fixed, 4 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Red Hat 8 advisories
- RHSA-2026:89197 Released 2026-10-27 · Red Hat rating CriticalOpenShift Container Platform 4.22.20 bug fix and security update
- Red Hat OpenShift Container Platform 4.22 rhcos-aarch64-4.22.9.8.202610241758-0, rhcos-ppc64le-4.22.9.8.202610241758-0, rhcos-s390x-4.22.9.8.202610241758-0 +1
- RHSA-2026:82939 Released 2026-10-14 · Red Hat rating ImportantRed Hat Update Infrastructure 5.3 security update
- Red Hat Update Infrastructure 5 registry.redhat.io/rhui5/cds-kubernetes-rhel9, registry.redhat.io/rhui5/cds-rhel9, registry.redhat.io/rhui5/haproxy-rhel9 +2
- RHSA-2026:79357 Released 2026-10-08 · Red Hat rating ImportantRed Hat Cost Management On-Premise container image update
- Red Hat Cost Management On-Premise 1 registry.redhat.io/costmanagement/costmanagement-ui-rhel10
Show 5 more Red Hat advisories
- RHSA-2026:73511 Released 2026-10-02 · Red Hat rating Moderategawk security update
- Red Hat Enterprise Linux BaseOS (v. 8) gawk-4.2.1-5.el8_10
- RHSA-2026:73512 Released 2026-09-29 · Red Hat rating Moderategawk security update
- Red Hat Enterprise Linux AppStream (v. 9) gawk-all-langpacks-5.1.0-6.el9_8.1
- Red Hat Enterprise Linux BaseOS (v. 9) gawk-5.1.0-6.el9_8.1
- RHSA-2026:73429 Released 2026-09-29 · Red Hat rating Moderategawk security update
- Red Hat Enterprise Linux AppStream (v. 10) gawk-all-langpacks-5.3.0-6.el10_2.1
- Red Hat Enterprise Linux BaseOS (v. 10) gawk-5.3.0-6.el10_2.1
- RHSA-2026:49661 Released 2026-08-03 · Red Hat rating ModerateRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images gawk-5.4.1-1.hum1@aarch64, gawk-5.4.1-1.hum1@src, gawk-5.4.1-1.hum1@x86_64 +6
- RHSA-2026:40041 Released 2026-07-15 · Red Hat rating ModerateRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images gawk-5.4.0-3.1.hum1@aarch64, gawk-5.4.0-3.1.hum1@src, gawk-5.4.0-3.1.hum1@x86_64 +6
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat Cost Management On-Premise 1 | Fixed | RHSA-2026:79357 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:73429 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:73512 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:73429 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2026:73511 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2026:73512 |
| Red Hat Hardened Images | Fixed | RHSA-2026:40041, RHSA-2026:49661 |
| Red Hat OpenShift Container Platform 4.22 | Fixed | RHSA-2026:89197 |
| Red Hat Update Infrastructure 5 | Fixed | RHSA-2026:82939 |
Not affected: 1 product
- Red Hat OpenShift AI (RHOAI)
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40468
- 2026-10-03 Alias added: GHSA-c5xj-c73w-hcgm
- 2026-10-09 Fix available: RHSA-2026:79357 · Red Hat
- 2026-10-09 Fix available: Red Hat Cost Management On-Premise 1 · Red Hat
- 2026-10-16 Fix available: RHSA-2026:82939 · Red Hat
- 2026-10-16 Fix available: Red Hat Update Infrastructure 5 · Red Hat
- 2026-10-29 Fix available: RHSA-2026:89197 · Red Hat
- 2026-10-29 Fix available: Red Hat OpenShift Container Platform 4.22 · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
- 2026-11-06 Affected versions changed · Red Hat
References
More GNU vulnerabilities
- TI-2026-19388 telnetd in GNU Inetutils through 2.7 allows remote authentication bypass via a "-f root"… KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05975 GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed… KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05157 GNU Bash through 4.3 processes trailing strings after function definitions in the values… KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05164 GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the… KEVCVSS 3.1HIGH 8.8
- TI-2023-04522 Glibc: buffer overflow in ld.so leading to privilege escalation KEVCVSS 3.1HIGH 7.8
- TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-40468 · CVE Program
- CVE-2026-40468 · NVD
- FIRST EPSS
- GHSA-c5xj-c73w-hcgm · GitHub Advisory Database · CC BY 4.0
- CVE-2026-40468 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences