{"id":"CVE-2026-40553","aliases":["CVE-2026-40553"],"related":[],"kind":"vulnerability","state":"published","title":"Stack-based buffer overflow in gawk","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de desbordamiento de búfer ha sido encontrada en el archivo de programa ’extension/readdir.c’ de gawk (rutina ftype()). Este problema podría ser usado para colapsar el programa y potencialmente para lograr la ejecución de código, aunque esto último no ha sido confirmado como factible. Afecta a gawk en las versiones 5.4.0 e inferiores.","source":"nvd"}],"published":"2026-07-13T12:07:56.611Z","modified":"2026-10-24T22:10:00.210Z","severity":{"scorer":"CERT-PL","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"CERT-PL","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"5.4.0","status":"affected"}],"vendor":"GNU","product":"gawk","repo":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"5.4.0"}],"vendor":"fossies","product":"gawk","cpe":"cpe:2.3:a:fossies:gawk:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=cca0366144336b49aaa7d5d949966ce8e2c70843","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert.pl/en/posts/2026/07/CVE-2026-40467","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Michał Majchrowicz (AFINE)","Marcin Wyczechowski (AFINE)"],"assigner":"CERT-PL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-13T13:00:40.324Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40553","url":"https://www.cve.org/CVERecord?id=CVE-2026-40553","licence":"CVE Terms of Use","modified":"2026-07-13T13:00:45.449Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40553","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40553","licence":"Public domain","modified":"2026-10-24T22:10:00.210Z"}],"updatedAt":"2026-11-25T22:59:27.831Z","epss":{"score":0.00291,"percentile":0.23255,"date":"2026-12-01T12:00:22.000Z"}}