Integer overflow vulnerability has been found in builtin.c program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Gawk | Fossies | * | 5.4.0 (including) |
| Red Hat Enterprise Linux 10 | RedHat | gawk-0:5.3.0-6.el10_2.1 | * |
| Red Hat Enterprise Linux 8 | RedHat | gawk-0:4.2.1-5.el8_10 | * |
| Red Hat Enterprise Linux 9 | RedHat | gawk-0:5.1.0-6.el9_8.1 | * |
| Red Hat Enterprise Linux 9 | RedHat | gawk-0:5.1.0-6.el9_8.1 | * |
| Red Hat OpenShift Container Platform 4.22 | RedHat | openshift/ose-rhel-coreos-9:4.22.9.8.202610241758-0 | * |
| Red Hat Cost Management On-Premise 1 | RedHat | costmanagement/costmanagement-ui-rhel10:1791460851 | * |
| Red Hat Hardened Images | RedHat | gawk-main-5.4.0-3.1.hum1 | * |
| Red Hat Hardened Images | RedHat | gawk-main-5.4.1-1.hum1 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/cds-kubernetes-rhel9:1791978534 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/cds-rhel9:1791978528 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/haproxy-rhel9:1791978528 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/installer-rhel9:1791964013 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/rhua-rhel9:1791978693 | * |
| Gawk | Ubuntu | esm-infra-legacy/trusty | * |
| Gawk | Ubuntu | esm-infra-legacy/xenial | * |
| Gawk | Ubuntu | esm-infra/bionic | * |
| Gawk | Ubuntu | esm-infra/focal | * |
| Gawk | Ubuntu | jammy | * |
| Gawk | Ubuntu | noble | * |
| Gawk | Ubuntu | resolute | * |