# CVE-2026-40469: Heap buffer overflow in gawk

- Severity: Medium 5.1 (CVSS:4.0, scored by CERT-PL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-07-13T12:07:55.692Z
- Modified: 2026-10-24T22:10:00.210Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

## 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.

(As written by CVE List.)

## Affected

- GNU gawk: up to 5.4.0
- fossies gawk: up to 5.4.0

## Every score

- CERT-PL: CVSS:4.0 5.1 Medium `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`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=ae1b2d508f46913269a9e62aceda3636afe8147b> (patch)
- <https://cert.pl/en/posts/2026/07/CVE-2026-40467> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-40469](https://www.cve.org/CVERecord?id=CVE-2026-40469), CVE Terms of Use, modified 2026-07-13
- NVD: [CVE-2026-40469](https://nvd.nist.gov/vuln/detail/CVE-2026-40469), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-40469 · Whole record: https://cve.day/CVE-2026-40469.json · Rebuilt by cve.day 2026-11-25T22:59:27.831Z
