{"id":"UBUNTU-CVE-2026-40468","details":"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.","modified":"2026-07-15T19:46:48.087717964Z","published":"2026-07-13T13:16:00Z","upstream":["CVE-2026-40468"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-40468"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-40468"}],"affected":[{"package":{"name":"gawk","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/gawk?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.0.1+dfsg-2.1ubuntu2","1:4.0.1+dfsg-2.1ubuntu2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"gawk","binary_version":"1:4.0.1+dfsg-2.1ubuntu2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40468.json"}},{"package":{"name":"gawk","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/gawk?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.1.1+dfsg-1","1:4.1.3+dfsg-0.1","1:4.1.3+dfsg-0.1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"gawk","binary_version":"1:4.1.3+dfsg-0.1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40468.json"}},{"package":{"name":"gawk","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/gawk?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.1.4+dfsg-1","1:4.1.4+dfsg-1build1","1:4.1.4+dfsg-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:4.1.4+dfsg-1ubuntu0.1~esm1","binary_name":"gawk"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40468.json"}},{"package":{"name":"gawk","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gawk?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.2.1+dfsg-1.1build1","1:5.0.1+dfsg-1","1:5.0.1+dfsg-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"gawk","binary_version":"1:5.0.1+dfsg-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40468.json"}},{"package":{"name":"gawk","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/gawk?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:5.1.0-1build1","1:5.1.0-1build2","1:5.1.0-1build3","1:5.1.0-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"gawk","binary_version":"1:5.1.0-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40468.json"}},{"package":{"name":"gawk","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/gawk?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:5.2.1-2","1:5.2.1-2build2","1:5.2.1-2build3"],"ecosystem_specific":{"binaries":[{"binary_name":"gawk","binary_version":"1:5.2.1-2build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40468.json"}},{"package":{"name":"gawk","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/gawk?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:5.3.2-1build1","1:5.3.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"gawk","binary_version":"1:5.3.2-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40468.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}