{"id":"JLSEC-2026-787","aliases":["JLSEC-2026-787"],"related":["CVE-2026-40469"],"kind":"vulnerability","state":"published","title":"Integer overflow in gawk's `do_sub()` can cause buffer overflow and denial of service","summary":"Integer overflow vulnerability has been found in \"builtin.c\" program file of gawk (`do_sub()` routine). This issue could be used to overwrite gawk heap metadata and objects causing the program to crash. It affects 32-bit builds of gawk in versions 5.4.0 and below.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"Integer overflow vulnerability has been found in \"builtin.c\" program file of gawk (`do_sub()` routine). This issue could be used to overwrite gawk heap metadata and objects causing the program to crash. It affects 32-bit builds of gawk in versions 5.4.0 and below.","format":"markdown","source":"jlsec"}],"published":"2026-07-25T03:14:11.289Z","modified":"2026-07-25T03:30:03.667Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"Julia Security Advisories","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.4.1+0"}],"ecosystem":"Julia","package":"gawk_jll","purl":"pkg:julia/gawk_jll?uuid=054acbdd-7fbc-53f6-b51a-0fe4f8189fb8","source":"jlsec"}],"references":[{"url":"https://cert.pl/en/posts/2026/07/CVE-2026-40467","tags":["web"],"sources":["jlsec"]},{"url":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=ae1b2d508f46913269a9e62aceda3636afe8147b","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-787","url":"https://osv.dev/vulnerability/JLSEC-2026-787","licence":"CC-BY-4.0","modified":"2026-07-25T03:30:03.667Z"}],"updatedAt":"2026-11-25T22:56:26.237Z"}