{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40553","assignerOrgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","state":"PUBLISHED","assignerShortName":"CERT-PL","dateReserved":"2026-04-14T09:44:32.553Z","datePublished":"2026-07-13T12:07:56.611Z","dateUpdated":"2026-07-13T13:00:45.449Z"},"containers":{"cna":{"providerMetadata":{"orgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","shortName":"CERT-PL","dateUpdated":"2026-07-13T12:11:30.685Z"},"title":"Stack-based buffer overflow in gawk","datePublic":"2026-07-13T12:07:00.000Z","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","type":"CWE"}]}],"affected":[{"vendor":"GNU","product":"gawk","repo":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/","programFiles":["readdir.c"],"programRoutines":[{"name":"ftype()"}],"versions":[{"status":"affected","version":"0","lessThanOrEqual":"5.4.0","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"Buffer overflow vulnerability has been found in \"extension/readdir.c\" program file of gawk (ftype() routine). This issue could be used to crash the program and potentially to achieve code execution, although the latter has not been confirmed to be feasible. It affects gawk in versions 5.4.0 and below.","supportingMedia":[{"type":"text/html","base64":false,"value":"Buffer overflow vulnerability has been found in \"<span><span>extension/readdir.c</span></span>\" program file of gawk (ftype()&nbsp;<span>routine)</span>. <span>This issue could be used to crash the program and potentially to achieve code execution, although the latter has not been confirmed to be feasible. </span><span>It affects</span>&nbsp;gawk in versions 5.4.0 and below.<br><br>"}]}],"tags":["x_open-source"],"references":[{"url":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=cca0366144336b49aaa7d5d949966ce8e2c70843","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":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","subIntegrityImpact":"LOW","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":"MEDIUM","baseScore":5.1,"vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:L/SI:L/SA:L"}}],"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":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-13T13:00:40.324542Z","id":"CVE-2026-40553","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-13T13:00:45.449Z"}}]}}