CVEfocus › CVE database › CVE-2026-40467

CVE-2026-40467Use after free in gawk

CVSS 5.1 MediumEPSS 0.3% (higher than 20% of CVEs)Published 2026-07-13Updated 2026-07-13Assigner: CERT-PL

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.

CWE-416

What to do

Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

16Fixed
8Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04gawkFixed1:5.3.2-1ubuntu1.1UBUNTU-CVE-2026-40467
Ubuntu 24.04gawkFixed1:5.2.1-2ubuntu0.1UBUNTU-CVE-2026-40467
Ubuntu 22.04gawkFixed1:5.1.0-1ubuntu0.2UBUNTU-CVE-2026-40467
Ubuntu 20.04gawkFix pending1:5.0.1+dfsg-1ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-40467
Ubuntu 18.04gawkFix pending1:4.1.4+dfsg-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-40467
Ubuntu 16.04gawkFix pending1:4.1.3+dfsg-0.1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-40467
Ubuntu 14.04gawkFix pending1:4.0.1+dfsg-2.1ubuntu2+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-40467
Debian 14gawkFix pendingDEBIAN-CVE-2026-40467
Debian 13gawkFix pendingDEBIAN-CVE-2026-40467
Debian 12gawkFix pendingDEBIAN-CVE-2026-40467
Red Hat Enterprise Linux 10gawkFixed0:5.3.0-6.el10_2.1RHSA-2026:73429
Red Hat Enterprise Linux 10gawk-all-langpacksFixed0:5.3.0-6.el10_2.1RHSA-2026:73429
Red Hat Enterprise Linux 9gawkFixed0:5.1.0-6.el9_8.1RHSA-2026:73512
Red Hat Enterprise Linux 9gawk-all-langpacksFixed0:5.1.0-6.el9_8.1RHSA-2026:73512
Red Hat Enterprise Linux 8gawkFixed0:4.2.1-5.el8_10RHSA-2026:73511
Red Hat Enterprise Linux 7gawkFix pending
Affected
Red Hat Enterprise Linux 6gawkWill not fix
Out of support scope
AlmaLinux 10gawkFixed5.3.0-6.el10_2.1ALSA-2026:73429
AlmaLinux 10gawk-all-langpacksFixed5.3.0-6.el10_2.1ALSA-2026:73429
AlmaLinux 9gawkFixed5.1.0-6.el9_8.1ALSA-2026:73512
AlmaLinux 9gawk-all-langpacksFixed5.1.0-6.el9_8.1ALSA-2026:73512
AlmaLinux 8gawkFixed4.2.1-5.el8_10ALSA-2026:73511
Rocky Linux 10gawkFixed0:5.3.0-6.el10_2.1RLSA-2026:73429
Rocky Linux 9gawkFixed0:5.1.0-6.el9_8.1RLSA-2026:73512
Rocky Linux 8gawkFixed0:4.2.1-5.el8_10RLSA-2026:73511

What the vendor says

As published in the CVE record by CERT-PL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.