# CVE-2026-40468: Heap buffer overflow in gawk

CVE-2026-40468 is fixed in 6 products on 1 platform, first by gawk 1:5.3.2-1ubuntu1.1, released July 13, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-40468
- Priority: Routine
- CVSS: 6.2 (Low)
- EPSS: 0.0020
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 13, 2026
- Weakness: Integer Overflow or Wraparound
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40468

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gawk RHEL 10 | 5.3.0-6.el10_2.1 | [RHSA-2026:73429](https://patchblox.com/security/data/fix/linux/rhsa-2026-73429.md) | Jul 13, 2026 |
| Linux | gawk RHEL 8 | 0:4.2.1-5.el8_10 | [RHSA-2026:73511](https://patchblox.com/security/data/fix/linux/rhsa-2026-73511.md) | Oct 2, 2026 |
| Linux | gawk RHEL 9 | 0:5.1.0-6.el9_8.1 | [RHSA-2026:73512](https://patchblox.com/security/data/fix/linux/rhsa-2026-73512.md) | Sep 30, 2026 |
| Linux | gawk Ubuntu 18.04.6 LTS (bionic) | 1:4.1.4+dfsg-1ubuntu0.1~esm2 | [gawk 1:4.1.4+dfsg-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-gawk-1-4.1.4-dfsg-1ubuntu0.1-esm2.md) | Jul 24, 2026 |
| Linux | gawk Ubuntu 20.04 LTS (focal) | 1:5.0.1+dfsg-1ubuntu0.1+esm1 | [gawk 1:5.0.1+dfsg-1ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-gawk-1-5.0.1-dfsg-1ubuntu0.1-esm1.md) | Jul 24, 2026 |
| Linux | gawk Ubuntu 22.04.1 LTS (jammy) | 1:5.1.0-1ubuntu0.2 | [gawk 1:5.1.0-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-gawk-1-5.1.0-1ubuntu0.2.md) | Jul 24, 2026 |
| Linux | gawk Ubuntu 24.04.5 LTS (noble) | 1:5.2.1-2ubuntu0.1 | [gawk 1:5.2.1-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-gawk-1-5.2.1-2ubuntu0.1.md) | Jul 24, 2026 |
| Linux | gawk Ubuntu 26.04.1 LTS (resolute) | 1:5.3.2-1ubuntu1.1 | [gawk 1:5.3.2-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-gawk-1-5.3.2-1ubuntu1.1.md) | Jul 13, 2026 |
| Linux | gawk almalinux 10 | 5.3.0-6.el10_2.1 | [ALSA-2026:73429](https://patchblox.com/security/data/fix/linux/alsa-2026-73429.md) | Sep 29, 2026 |
| Linux | gawk almalinux 8 | 4.2.1-5.el8_10 | [ALSA-2026:73511](https://patchblox.com/security/data/fix/linux/alsa-2026-73511.md) | Sep 29, 2026 |
| Linux | gawk almalinux 9 | 5.1.0-6.el9_8.1 | [ALSA-2026:73512](https://patchblox.com/security/data/fix/linux/alsa-2026-73512.md) | Sep 29, 2026 |
| Linux | gawk amzn 2023 | 5.1.0-3.amzn2023.0.4 | [ALAS2023-2026-2035](https://patchblox.com/security/data/fix/linux/alas2023-2026-2035.md) | Aug 3, 2026 |
| Linux | gawk ol 10 | 0:5.3.0-6.el10_2.1 | [ELSA-2026-73429](https://patchblox.com/security/data/fix/linux/elsa-2026-73429.md) | Sep 30, 2026 |
| Linux | gawk ol 8 | 0:4.2.1-5.el8_10 | [ELSA-2026-73511](https://patchblox.com/security/data/fix/linux/elsa-2026-73511.md) | Sep 30, 2026 |
| Linux | gawk ol 9 | 0:5.1.0-6.el9_8.1 | [ELSA-2026-73512](https://patchblox.com/security/data/fix/linux/elsa-2026-73512.md) | Sep 30, 2026 |
| Linux | gawk opensuse-leap 16.0 | 5.3.2-160000.3.1 | [OPENSUSE-SU-2026:21393-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21393-1.md) | Jul 20, 2026 |
| Linux | gawk rocky 10 | 0:5.3.0-6.el10_2.1 | [RLSA-2026:73429](https://patchblox.com/security/data/fix/linux/rlsa-2026-73429.md) | Sep 30, 2026 |
| Linux | gawk rocky 8 | 0:4.2.1-5.el8_10 | [RLSA-2026:73511](https://patchblox.com/security/data/fix/linux/rlsa-2026-73511.md) | Oct 2, 2026 |
| Linux | gawk rocky 9 | 0:5.1.0-6.el9_8.1 | [RLSA-2026:73512](https://patchblox.com/security/data/fix/linux/rlsa-2026-73512.md) | Sep 30, 2026 |
| Linux | gawk sles 15.7 | 4.2.1-150000.3.6.1 | [SUSE-SU-2026:3455-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3455-1.md) | Aug 3, 2026 |
| Linux | gawk sles 16.0 | 5.3.2-160000.3.1 | [SUSE-SU-2026:22831-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22831-1.md) | Jul 20, 2026 |
| Linux | gawk-all-langpacks RHEL 9 | 0:5.1.0-6.el9_8.1 | [RHSA-2026:73512](https://patchblox.com/security/data/fix/linux/rhsa-2026-73512.md) | Sep 30, 2026 |
| Linux | gawk-all-langpacks almalinux 10 | 5.3.0-6.el10_2.1 | [ALSA-2026:73429](https://patchblox.com/security/data/fix/linux/alsa-2026-73429.md) | Sep 29, 2026 |
| Linux | gawk-all-langpacks almalinux 9 | 5.1.0-6.el9_8.1 | [ALSA-2026:73512](https://patchblox.com/security/data/fix/linux/alsa-2026-73512.md) | Sep 29, 2026 |
| Linux | gawk-all-langpacks amzn 2023 | 5.1.0-3.amzn2023.0.4 | [ALAS2023-2026-2035](https://patchblox.com/security/data/fix/linux/alas2023-2026-2035.md) | Aug 3, 2026 |
| Linux | gawk-all-langpacks ol 10 | 0:5.3.0-6.el10_2.1 | [ELSA-2026-73429](https://patchblox.com/security/data/fix/linux/elsa-2026-73429.md) | Sep 30, 2026 |
| Linux | gawk-all-langpacks ol 9 | 0:5.1.0-6.el9_8.1 | [ELSA-2026-73512](https://patchblox.com/security/data/fix/linux/elsa-2026-73512.md) | Sep 30, 2026 |
| Linux | gawk-debuginfo amzn 2023 | 5.1.0-3.amzn2023.0.4 | [ALAS2023-2026-2035](https://patchblox.com/security/data/fix/linux/alas2023-2026-2035.md) | Aug 3, 2026 |
| Linux | gawk-debugsource amzn 2023 | 5.1.0-3.amzn2023.0.4 | [ALAS2023-2026-2035](https://patchblox.com/security/data/fix/linux/alas2023-2026-2035.md) | Aug 3, 2026 |
| Linux | gawk-devel amzn 2023 | 5.1.0-3.amzn2023.0.4 | [ALAS2023-2026-2035](https://patchblox.com/security/data/fix/linux/alas2023-2026-2035.md) | Aug 3, 2026 |
| Linux | gawk-doc amzn 2023 | 5.1.0-3.amzn2023.0.4 | [ALAS2023-2026-2035](https://patchblox.com/security/data/fix/linux/alas2023-2026-2035.md) | Aug 3, 2026 |

---

Data as of 2026-11-07T06:34:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
