Integer Overflow or Wraparound Affecting gawk package, versions <1:5.2.1-2+e1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.2% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-GAWK-17964453
  • published14 Jul 2026
  • disclosed13 Jul 2026

Introduced: 13 Jul 2026

CVE-2026-40468  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Echo:latest gawk to version 1:5.2.1-2+e1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gawk package and not the gawk package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1