CVE-2026-40469

Heap buffer overflow in gawk

State
Published
Severity
5.1 Medium
Published
Jul 13, 2026
Updated
Jul 13, 2026
Reserved
Apr 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.1 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NCERT-PL

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
gawkGNU
  • 5.4.0 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.