CVE-2026-40468

Heap buffer overflow in gawk

State
Published
Severity
2.1 Low
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. 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.

Scores

CVSSScoreVectorSource
4.02.1 LowCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:LCERT-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.