CVE-2026-40468
gawk: gawk: Memory corruption via integer overflow
Overview
Description
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.
Source: OX vulnerability database
Severity
9.1 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness: CWE-190
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | gawk_jll | <5.4.1+0 | 5.4.1+0 |
Open a package to see all its vulnerabilities.
Operating systems · 36 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | gawk | 0:5.2.2-2.azl3 |
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | gawk | 4.2.1-5.el8_10 |
| 9 | gawk +1 | 5.1.0-6.el9_8.1 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | gawk +5 | 5.3.2-5.ph5 |
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | gawk +2 | affected | — |
| 8 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 8 | gawk | 0:4.2.1-5.el8_10 | RHSA-2026:73511 |
| 9 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 9 | gawk +1 | 0:5.1.0-6.el9_8.1 | RHSA-2026:73512 |
SUSE Linux Enterprise 3 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | gawk | 4.1.0-5.6.1 | SUSE-SU-2026:3211-1 |
| 15.7 | gawk | 4.2.1-150000.3.6.1 | SUSE-SU-2026:3455-1 |
| 16.0 | gawk | 5.3.2-160000.3.1 | SUSE-SU-2026:22831-1 |
SUSE Linux Enterprise Micro 5 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | gawk | 4.2.1-150000.3.6.1 | SUSE-SU-2026:3455-1 |
| 5.4 | gawk | 4.2.1-150000.3.6.1 | SUSE-SU-2026:3455-1 |
| 5.5 | gawk | 4.2.1-150000.3.6.1 | SUSE-SU-2026:3455-1 |
| 6.0 | gawk | 5.3.0-2.1 | SUSE-SU-2026:23042-1 |
| 6.2 | gawk | 5.3.2-160000.3.1 | SUSE-SU-2026:22767-1 |
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | gawk | 4.2.1-5.el8_10 |
| 9 | gawk +1 | 5.1.0-6.el9_8.1 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | gawk +5 | 5.1.0-3.amzn2023.0.4 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | gawk | affected |
| 12 | gawk | affected |
| 13 | gawk | affected |
| 14 | gawk | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| gawk | 1:5.2.1-2+e1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | gawk | 5.3.2-160000.3.1 | openSUSE-SU-2026:21393-1 |
rocky 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | gawk | 5.3.0-6.el10_2.1 |
| 8 | gawk | 4.2.1-5.el8_10 |
| 9 | gawk | 5.1.0-6.el9_8.1 |
seal Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | gawk +1 | 4.0.2-4.el7_3.1+sp999 |
| 9 | gawk +1 | 5.1.0-6.el9+sp999 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | gawk | 1:4.1.4+dfsg-1ubuntu0.1~esm2 |
| 20.04-ESM | gawk | 1:5.0.1+dfsg-1ubuntu0.1+esm1 |
| 22.04 | gawk | 1:5.1.0-1ubuntu0.2 |
| 24.04 | gawk | 1:5.2.1-2ubuntu0.1 |
| 26.04 | gawk | 1:5.3.2-1ubuntu1.1 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:73511
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:73512
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-40468
- bugzilla.redhat.com https://bugzilla.redhat.com/2499655
- bugzilla.redhat.com https://bugzilla.redhat.com/2499657
- bugzilla.redhat.com https://bugzilla.redhat.com/2499658
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2499655
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2499658
- cert.pl https://cert.pl/en/posts/2026/07/CVE-2026-40467
- cgit.git.savannah.gnu.org https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=062f2f2581b991362c046f7f2e238ffa34e6f8c7
Show all 20 references
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-40467
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-40468
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-73512.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:73511
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-40468.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-73512.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-40468
- ubuntu.com https://ubuntu.com/security/notices/USN-8588-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-40468
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.