{"id":"JLSEC-2026-787","summary":"Integer overflow in gawk's `do_sub()` can cause buffer overflow and denial of service","details":"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.","modified":"2026-07-25T03:30:03.667289875Z","published":"2026-07-25T03:14:11.289Z","upstream":["CVE-2026-40469"],"database_specific":{"license":"CC-BY-4.0","sources":[{"id":"CVE-2026-40469","imported":"2026-07-24T13:47:27.325Z","modified":"2026-07-14T01:11:18.520Z","published":"2026-07-13T13:16:37.033Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-40469","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40469","database_specific":{"status":"Analyzed"}}]},"references":[{"type":"WEB","url":"https://cert.pl/en/posts/2026/07/CVE-2026-40467"},{"type":"WEB","url":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=ae1b2d508f46913269a9e62aceda3636afe8147b"}],"affected":[{"package":{"name":"gawk_jll","ecosystem":"Julia","purl":"pkg:julia/gawk_jll?uuid=054acbdd-7fbc-53f6-b51a-0fe4f8189fb8"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.4.1+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-787.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}