{"id":"CVE-2026-40468","state":"PUBLISHED","title":"Heap buffer overflow in gawk","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.","publishedAt":"2026-07-13T12:07:54.910Z","updatedAt":"2026-07-13T13:01:29.711Z","severity":{"score":2.1,"label":"Low","version":"4.0","vector":"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","source":"CERT-PL"},"assigner":"CERT-PL","products":["GNU gawk"],"affected":[{"vendor":"GNU","product":"gawk","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"5.4.0","versionType":"semver"}],"repo":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/","programFiles":["builtin.c"]}],"references":["https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=062f2f2581b991362c046f7f2e238ffa34e6f8c7","https://cert.pl/en/posts/2026/07/CVE-2026-40467"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40468.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40468","state":"PUBLISHED","datePublished":"2026-07-13T12:07:54.910Z","dateUpdated":"2026-07-13T13:01:29.711Z","assignerShortName":"CERT-PL","assignerOrgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","dateReserved":"2026-04-13T14:44:55.647Z"},"containers":{"cna":{"title":"Heap buffer overflow in gawk","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"GNU","product":"gawk","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"5.4.0","versionType":"semver"}],"repo":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/","programFiles":["builtin.c"]}],"references":[{"url":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=062f2f2581b991362c046f7f2e238ffa34e6f8c7","tags":["patch"]},{"url":"https://cert.pl/en/posts/2026/07/CVE-2026-40467","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subAvailabilityImpact":"LOW","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"LOW","baseScore":2.1,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","lang":"en","description":"CWE-190 Integer Overflow or Wraparound","type":"CWE"}]}],"providerMetadata":{"shortName":"CERT-PL","orgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","dateUpdated":"2026-07-13T12:11:06.272Z"},"datePublic":"2026-07-13T12:07:00.000Z","tags":["x_open-source"],"configurations":[{"lang":"en","value":"An operating system hosting the vulnerable program must have at least 6GB of available memory.","supportingMedia":[{"type":"text/html","base64":false,"value":"An operating system hosting the vulnerable program must have at least 6GB of available memory.&nbsp;"}]}],"credits":[{"lang":"en","value":"Michał Majchrowicz (AFINE)","type":"finder"},{"lang":"en","value":"Marcin Wyczechowski (AFINE)","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-13T13:01:23.431213Z","id":"CVE-2026-40468","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-13T13:01:29.711Z"}}]}}}