CVEfocus › CVE database › CVE-2026-40469

CVE-2026-40469Heap buffer overflow in gawk

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

Integer overflow vulnerability has been found in "builtin.c" program file of gawk (do_sub() routine). This issue could be used to overwrite gawk heap metadata and objects causing the program to crash. It affects 32-bit builds of gawk in versions 5.4.0 and below.

CWE-190

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Debian, 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

3Fixed
7Fix pending
1Will not fix
6Not affected

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-40469
Ubuntu 24.04gawkFixed1:5.2.1-2ubuntu0.1UBUNTU-CVE-2026-40469
Ubuntu 22.04gawkFixed1:5.1.0-1ubuntu0.2UBUNTU-CVE-2026-40469
Ubuntu 20.04gawkFix pending1:5.0.1+dfsg-1ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-40469
Ubuntu 18.04gawkFix pending1:4.1.4+dfsg-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-40469
Ubuntu 16.04gawkFix pending1:4.1.3+dfsg-0.1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-40469
Ubuntu 14.04gawkFix pending1:4.0.1+dfsg-2.1ubuntu2+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-40469
Debian 14gawkFix pendingDEBIAN-CVE-2026-40469
Debian 13gawkFix pendingDEBIAN-CVE-2026-40469
Debian 12gawkFix pendingDEBIAN-CVE-2026-40469
Red Hat Enterprise Linux 10gawkNot affected
Red Hat Enterprise Linux 10gawk-all-langpacksNot affected
Red Hat Enterprise Linux 9gawkNot affected
Red Hat Enterprise Linux 9gawk-all-langpacksNot affected
Red Hat Enterprise Linux 8gawkNot affected
Red Hat Enterprise Linux 7gawkNot affected
Red Hat Enterprise Linux 6gawkWill not fix
Out of support scope

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.