
CVE catalog
CVE-2026-40467
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.
- Severity
- Medium · CVSS 5.1
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.21% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | gawk | sid | 1:5.3.2-1 | vulnerable |
| Debian | gawk | forky | 1:5.3.2-1 | vulnerable |
| Debian | gawk | trixie | 1:5.2.1-2 | vulnerable |
| Debian | gawk | bookworm | 1:5.2.1-2 | vulnerable |
| Cpe | gawk | Not reported | Not reported | vulnerable |
| Ubuntu | gawk | noble | 1:5.2.1-2ubuntu0.1 | fixed |
| Suse | gawk | linux micro 6.0 | 5.3.0-2.1 | fixed |
| Suse | gawk | linux enterprise micro 5.3 | 4.2.1-150000.3.6.1 | fixed |
| Suse | gawk | linux enterprise micro 5.4 | 4.2.1-150000.3.6.1 | fixed |
| Suse | gawk | linux enterprise micro 5.5 | 4.2.1-150000.3.6.1 | fixed |
| Suse | gawk | linux enterprise module for basesystem 15 sp7 | 4.2.1-150000.3.6.1 | fixed |
| Suse | gawk | linux enterprise server 16.0 | 5.3.2-160000.3.1 | fixed |
| Suse | gawk | linux enterprise server for sap applications 16.0 | 5.3.2-160000.3.1 | fixed |
| Opensuse | gawk | leap 16.0 | 5.3.2-160000.3.1 | fixed |
| Suse | gawk | linux micro 6.2 | 5.3.2-160000.3.1 | fixed |
| Ubuntu | gawk | pro | 1:4.2.1+dfsg-1.1build1 | vulnerable |
| Ubuntu | gawk | pro | 1:5.0.1+dfsg-1 | vulnerable |
| Ubuntu | gawk | pro | 1:5.0.1+dfsg-1ubuntu0.1 | vulnerable |
| Ubuntu | gawk | pro | 1:5.0.1+dfsg-1ubuntu0.1+esm1 | fixed |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1build1 | vulnerable |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1build2 | vulnerable |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1build3 | vulnerable |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1ubuntu0.1 | vulnerable |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1ubuntu0.2 | fixed |
| Ubuntu | gawk | 24.04 | 1:5.2.1-2 | vulnerable |
| Ubuntu | gawk | 24.04 | 1:5.2.1-2build2 | vulnerable |
| Ubuntu | gawk | 24.04 | 1:5.2.1-2build3 | vulnerable |
| Ubuntu | gawk | 24.04 | 1:5.2.1-2ubuntu0.1 | fixed |
| Ubuntu | gawk | 26.04 | 1:5.3.2-1build1 | vulnerable |
| Ubuntu | gawk | 26.04 | 1:5.3.2-1ubuntu1 | vulnerable |
| Ubuntu | gawk | 26.04 | 1:5.3.2-1ubuntu1.1 | fixed |
| Ubuntu | gawk | pro | 1:4.2.1+dfsg-1.1build1 | vulnerable |
| Ubuntu | gawk | pro | 1:5.0.1+dfsg-1 | vulnerable |
| Ubuntu | gawk | pro | 1:5.0.1+dfsg-1ubuntu0.1 | vulnerable |
| Ubuntu | gawk | pro | 1:5.0.1+dfsg-1ubuntu0.1+esm1 | fixed |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1build1 | vulnerable |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1build2 | vulnerable |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1build3 | vulnerable |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1ubuntu0.1 | vulnerable |
| Ubuntu | gawk | 22.04 | 1:5.1.0-1ubuntu0.2 | fixed |
| Ubuntu | gawk | 24.04 | 1:5.2.1-2 | vulnerable |
| Ubuntu | gawk | 24.04 | 1:5.2.1-2build2 | vulnerable |
| Ubuntu | gawk | 24.04 | 1:5.2.1-2build3 | vulnerable |
| Ubuntu | gawk | 24.04 | 1:5.2.1-2ubuntu0.1 | fixed |
| Ubuntu | gawk | 26.04 | 1:5.3.2-1build1 | vulnerable |
| Ubuntu | gawk | 26.04 | 1:5.3.2-1ubuntu1 | vulnerable |
| Ubuntu | gawk | 26.04 | 1:5.3.2-1ubuntu1.1 | fixed |
| Cpe | gawk | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | gawk | source | sid | (unfixed) | not yet assigned | Not reported | [1142071] |
| Debian | gawk | source | forky | (unfixed) | not yet assigned | Not reported | [1142071] |
| Debian | gawk | source | trixie | (unfixed) | not yet assigned | Not reported | [1142071] |
| Debian | gawk | source | bookworm | (unfixed) | not yet assigned | Not reported | [1142071] |
| Ubuntu | gawk | deb | noble | 1:5.2.1-2ubuntu0.1 | Not reported | Not reported | Not reported |
| Suse | gawk | rpm | linux micro 6.0 | 5.3.0-2.1 | Not reported | SUSE-SU-2026:23042-1 | Not reported |
| Suse | gawk | rpm | linux enterprise micro 5.3 | 4.2.1-150000.3.6.1 | Not reported | SUSE-SU-2026:3455-1 | Not reported |
| Suse | gawk | rpm | linux enterprise micro 5.4 | 4.2.1-150000.3.6.1 | Not reported | SUSE-SU-2026:3455-1 | Not reported |
| Suse | gawk | rpm | linux enterprise micro 5.5 | 4.2.1-150000.3.6.1 | Not reported | SUSE-SU-2026:3455-1 | Not reported |
| Suse | gawk | rpm | linux enterprise module for basesystem 15 sp7 | 4.2.1-150000.3.6.1 | Not reported | SUSE-SU-2026:3455-1 | Not reported |
| Suse | gawk | rpm | linux enterprise server 16.0 | 5.3.2-160000.3.1 | Not reported | SUSE-SU-2026:22831-1 | Not reported |
| Suse | gawk | rpm | linux enterprise server for sap applications 16.0 | 5.3.2-160000.3.1 | Not reported | SUSE-SU-2026:22831-1 | Not reported |
| Opensuse | gawk | rpm | leap 16.0 | 5.3.2-160000.3.1 | Not reported | OPENSUSE-SU-2026:21393-1 | Not reported |
| Suse | gawk | rpm | linux micro 6.2 | 5.3.2-160000.3.1 | Not reported | SUSE-SU-2026:22767-1 | Not reported |
| Ubuntu | gawk | deb | pro | 1:5.0.1+dfsg-1ubuntu0.1+esm1 | Not reported | USN-8588-1 | Not reported |
| Ubuntu | gawk | deb | 22.04 | 1:5.1.0-1ubuntu0.2 | Not reported | USN-8588-1 | Not reported |
| Ubuntu | gawk | deb | 24.04 | 1:5.2.1-2ubuntu0.1 | Not reported | USN-8588-1 | Not reported |
| Ubuntu | gawk | deb | 26.04 | 1:5.3.2-1ubuntu1.1 | Not reported | USN-8588-1 | Not reported |
| Ubuntu | gawk | deb | pro | 1:5.0.1+dfsg-1ubuntu0.1+esm1 | Not reported | UBUNTU-CVE-2026-40467 | Not reported |
| Ubuntu | gawk | deb | 22.04 | 1:5.1.0-1ubuntu0.2 | Not reported | UBUNTU-CVE-2026-40467 | Not reported |
| Ubuntu | gawk | deb | 24.04 | 1:5.2.1-2ubuntu0.1 | Not reported | UBUNTU-CVE-2026-40467 | Not reported |
| Ubuntu | gawk | deb | 26.04 | 1:5.3.2-1ubuntu1.1 | Not reported | UBUNTU-CVE-2026-40467 | Not reported |
Notes
[trixie] gawk: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [gawk]Affected
Details (2)
1:5.2.1-2· amd64 · bookwormAffected
nvd · gawk · debian · bookworm; nvd · gawk · debian · 12
1:5.2.1-2· arm64 · bookwormAffected
nvd · gawk · debian · bookworm; nvd · gawk · debian · 12
[Debian 13 (Trixie)]
Observed:
References
- [https://cert.pl/en/posts/2026/07/CVE-2026-40467]
- [https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=a2d18c74109e41bec29a23098eba2e00057286d8]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3455-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40467]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-40467]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22767-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22831-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23042-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:3455-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-40467]
- [https://osv.dev/vulnerability/USN-8588-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21393-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-40467]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40467.json]
- [https://ubuntu.com/security/notices/USN-8588-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3649.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]