# CVE-2026-40467: Use after free in gawk

CVE-2026-40467 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-40467
- Priority: Routine
- CVSS: 6.2 (Moderate)
- EPSS: 0.0021
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 13, 2026
- Weakness: Use After Free
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40467

## Description

Use After Free vulnerability has been found in "io.c" program file of gawk (do_getline_redir() routine). This issue may lead to a crash. 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-08T13:06:02Z 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

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
