Vulnerabilities / CVE-2026-40469

critical

CVE-2026-40469

gawk: gawk: Denial of Service due to integer overflow

Published Modified CWE 190
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Red Hat2.8CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Julia5.1CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium), Julia (medium), Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 5.0gawk, gawk-all-langpacks, gawk-bin and 3 more5.3.2-5.ph5
debian 11gawkno fix listed
debian 12gawkno fix listed
debian 13gawkno fix listed
debian 14gawkno fix listed
echogawk1:5.2.1-2+e1
julia::Julia Ecosystem Security Advisoriesgawk_jll5.4.1+0
rapidfort alpine 3.20gawkno fix listed
rapidfort alpine 3.21gawkno fix listed
rapidfort alpine 3.22gawkno fix listed
rapidfort alpine 3.23gawkno fix listed
rapidfort alpine 3.24gawkno fix listed
Show all 48 entries from 29 sources
SourcePackageFixed in
Photon OS 5.0gawk5.3.2-5.ph5
Photon OS 5.0gawk-all-langpacks5.3.2-5.ph5
Photon OS 5.0gawk-bin5.3.2-5.ph5
Photon OS 5.0gawk-devel5.3.2-5.ph5
Photon OS 5.0gawk-doc5.3.2-5.ph5
Photon OS 5.0gawk-extras5.3.2-5.ph5
debian 11gawkno fix listed
debian 12gawkno fix listed
debian 13gawkno fix listed
debian 14gawkno fix listed
echogawk1:5.2.1-2+e1
julia::Julia Ecosystem Security Advisoriesgawk_jll5.4.1+0
rapidfort alpine 3.20gawkno fix listed
rapidfort alpine 3.21gawkno fix listed
rapidfort alpine 3.22gawkno fix listed
rapidfort alpine 3.23gawkno fix listed
rapidfort alpine 3.24gawkno fix listed
rapidfort debian 12gawkno fix listed
rapidfort debian 13gawkno fix listed
rapidfort fedora 41gawk0:5.3.0-5.fc41
rapidfort fedora 41rf-gawk0:5.3.0-5.fc41
rapidfort fedora 43gawk0:5.3.2-3.fc43
rapidfort fedora 43gawk-all-langpacks5.3.2-3.fc43
rapidfort fedora 43gawk-devel5.3.2-3.fc43
rapidfort fedora 43gawk-doc5.3.2-3.fc43
rapidfort fedora 43rf-gawk0:5.3.2-3.fc43
rapidfort fedora 43rf-gawk-all-langpacks5.3.2-3.fc43
rapidfort fedora 43rf-gawk-devel5.3.2-3.fc43
rapidfort fedora 43rf-gawk-doc5.3.2-3.fc43
rapidfort Oracle Linuxrf-gawk5.4.1-10.rf
rapidfort Oracle Linuxrf-gawk-all-langpacks5.4.1-10.rf
rapidfort Oracle Linuxrf-gawk-devel5.4.1-10.rf
rapidfort Oracle Linuxrf-gawk-doc5.4.1-10.rf
rapidfort rockyrf-gawk0:5.4.1-10.rf
rapidfort rockyrf-gawk-all-langpacks0:5.4.1-10.rf
rapidfort ubuntu 20.04gawk1:5.1.0-1ubuntu0.2, 1:5.2.1-2ubuntu0.1, 1:5.3.2-1ubuntu1.1
rapidfort ubuntu 22.04gawk1:5.1.0-1ubuntu0.2, 1:5.2.1-2ubuntu0.1, 1:5.3.2-1ubuntu1.1
rapidfort ubuntu 24.04gawk1:5.1.0-1ubuntu0.2, 1:5.2.1-2ubuntu0.1, 1:5.3.2-1ubuntu1.1
Red Hatgawkno fix listed
seal Red Hat 7gawk4.0.2-4.el7_3.1+sp999
seal Red Hat 7seal-gawk4.0.2-4.el7_3.1+sp999
seal Red Hat 9gawk5.1.0-6.el9+sp999
seal Red Hat 9seal-gawk5.1.0-6.el9+sp999
ubuntu 18.04-ESMgawk1:4.1.4+dfsg-1ubuntu0.1~esm2
ubuntu 20.04-ESMgawk1:5.0.1+dfsg-1ubuntu0.1+esm1
ubuntu 22.04gawk1:5.1.0-1ubuntu0.2
ubuntu 24.04gawk1:5.2.1-2ubuntu0.1
ubuntu 26.04gawk1:5.3.2-1ubuntu1.1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.