{"id":"CVE-2026-40469","aliases":["BELL-CVE-2026-40469","CLSA-2026-1784217178","CLSA-2026-1784217991","CLSA-2026-1784303038","CLSA-2026-1784623908","CLSA-2026-1787229301","CLSA-2026-1792441187","CLSA-2026-1792508988","CLSA-2026-1792612080","DEBIAN-CVE-2026-40469","EUVD-2026-43494","GHSA-5x2x-26c9-4q5x","JLSEC-2026-787","MGASA-2026-0427","OESA-2026-3160","OESA-2026-3161","OESA-2026-3164","RHSA-2026:40041","RHSA-2026:49661","UBUNTU-CVE-2026-40469","USN-8588-1"],"status":"published","title":"Heap buffer overflow in gawk","description":"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.","severity":{"version":"4.0","score":5.1,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00213,"percentile":0.11712,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2026-07-13T12:07:55Z","modified":"2026-10-31T10:30:31Z","fixes":[{"ecosystem":"Alpaquita:23","package":"gawk","fixed_in":["5.1.1-r2"],"sources":["osv"]},{"ecosystem":"Alpaquita:25","package":"gawk","fixed_in":["5.3.2-r3"],"sources":["osv"]},{"ecosystem":"Alpaquita:stream","package":"gawk","fixed_in":["5.3.2-r3"],"sources":["osv"]},{"ecosystem":"BellSoft Hardened Containers:23","package":"gawk","fixed_in":["5.1.1-r2"],"sources":["osv"]},{"ecosystem":"BellSoft Hardened Containers:25","package":"gawk","fixed_in":["5.3.2-r3"],"sources":["osv"]},{"ecosystem":"BellSoft Hardened Containers:stream","package":"gawk","fixed_in":["5.3.2-r3"],"sources":["osv"]},{"ecosystem":"TuxCare:CentOS:7","package":"gawk","fixed_in":["4.0.2-4.el7_3.1.tuxcare.els3"],"sources":["osv"]},{"ecosystem":"TuxCare:OracleLinux:7","package":"gawk","fixed_in":["4.0.2-4.el7_3.1.tuxcare.els3"],"sources":["osv"]},{"ecosystem":"TuxCare:RHEL:7","package":"gawk","fixed_in":["4.0.2-4.el7_3.1.tuxcare.els3"],"sources":["osv"]},{"ecosystem":"Julia","package":"gawk_jll","fixed_in":["5.4.1+0"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gawk","fixed_in":["1:4.0.1+dfsg-2.1ubuntu2+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gawk","fixed_in":["1:4.1.3+dfsg-0.1ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gawk","fixed_in":["1:4.1.4+dfsg-1ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"gawk","fixed_in":["1:5.0.1+dfsg-1ubuntu0.1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"gawk","fixed_in":["1:5.1.0-1ubuntu0.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"gawk","fixed_in":["1:5.2.1-2ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:26.04:LTS","package":"gawk","fixed_in":["1:5.3.2-1ubuntu1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpaquita:23","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.1-r1"},{"fixed":"5.1.1-r2"}]}]},{"source":"osv","ecosystem":"Alpaquita:25","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.2-r1"},{"fixed":"5.3.2-r3"}]}]},{"source":"osv","ecosystem":"Alpaquita:stream","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.1-r1"},{"fixed":"5.3.2-r3"}]}]},{"source":"osv","ecosystem":"BellSoft Hardened Containers:23","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.1-r1"},{"fixed":"5.1.1-r2"}]}]},{"source":"osv","ecosystem":"BellSoft Hardened Containers:25","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.2-r1"},{"fixed":"5.3.2-r3"}]}]},{"source":"osv","ecosystem":"BellSoft Hardened Containers:stream","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.1-r1"},{"fixed":"5.3.2-r3"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els2"}]}],"bundled":3},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk-all-langpacks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els2"}]}],"bundled":3},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els2"}]}],"bundled":3},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els2"}]}],"bundled":3},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els2"}]}],"bundled":3},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"gawk-all-langpacks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els2"}]}],"bundled":3},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"gawk-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els2"}]}],"bundled":3},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"gawk-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els2"}]}],"bundled":3},{"source":"osv","ecosystem":"TuxCare:CentOS:7","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-4.el7_3.1.tuxcare.els3"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9_6.tuxcare.els2"}]}],"bundled":4},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk-all-langpacks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9_6.tuxcare.els2"}]}],"bundled":4},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9_6.tuxcare.els2"}]}],"bundled":4},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9_6.tuxcare.els2"}]}],"bundled":4},{"source":"osv","ecosystem":"TuxCare:OracleLinux:7","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-4.el7_3.1.tuxcare.els3"}]}]},{"source":"osv","ecosystem":"TuxCare:RHEL:7","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-4.el7_3.1.tuxcare.els3"}]}]},{"source":"osv","ecosystem":"TuxCare:CentOS:6","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.7-10.el6_7.3.tuxcare.els2"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:OracleLinux:6","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.7-10.el6_7.3.tuxcare.els2"}]}],"bundled":2},{"source":"osv","ecosystem":"Debian:12","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:5.2.1-2","1:5.3.2-1"]},{"source":"osv","ecosystem":"Debian:13","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:5.2.1-2","1:5.3.2-1"]},{"source":"osv","ecosystem":"Debian:14","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:5.2.1-2","1:5.3.2-1"]},{"source":"osv","ecosystem":"Julia","package":"gawk_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.4.1+0"}]}]},{"source":"osv","ecosystem":"Mageia:10","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.2-2.1.mga10"}]}],"bundled":4},{"source":"osv","ecosystem":"Mageia:9","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2-1.1.mga9"}]}],"bundled":4},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP3","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2-3.oe2403sp3"}]}],"bundled":4},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP4","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2-3.oe2403sp4"}]}],"bundled":4},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP1","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2-3.oe2403sp1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.4.0-3.1.hum1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"gawk-all-langpacks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.4.0-3.1.hum1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"gawk-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.4.0-3.1.hum1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"gawk-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.4.0-3.1.hum1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.4.1-1.hum1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"gawk-all-langpacks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.4.1-1.hum1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"gawk-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.4.1-1.hum1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"gawk-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.4.1-1.hum1"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.0.1+dfsg-2.1ubuntu2+esm2"}]}],"versions":["1:4.0.1+dfsg-2.1ubuntu2","1:4.0.1+dfsg-2.1ubuntu2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.3+dfsg-0.1ubuntu0.1~esm2"}]}],"versions":["1:4.1.1+dfsg-1","1:4.1.3+dfsg-0.1","1:4.1.3+dfsg-0.1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.4+dfsg-1ubuntu0.1~esm2"}]}],"versions":["1:4.1.4+dfsg-1","1:4.1.4+dfsg-1build1","1:4.1.4+dfsg-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.0.1+dfsg-1ubuntu0.1+esm1"}]}],"versions":["1:4.2.1+dfsg-1.1build1","1:5.0.1+dfsg-1","1:5.0.1+dfsg-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.1.0-1ubuntu0.2"}]}],"versions":["1:5.1.0-1build1","1:5.1.0-1build2","1:5.1.0-1build3","1:5.1.0-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.2.1-2ubuntu0.1"}]}],"versions":["1:5.2.1-2","1:5.2.1-2build2","1:5.2.1-2build3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.3.2-1ubuntu1.1"}]}],"versions":["1:5.3.2-1build1","1:5.3.2-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.0.1+dfsg-2.1ubuntu2+esm2"}]}],"versions":["1:4.0.1+dfsg-2.1ubuntu2","1:4.0.1+dfsg-2.1ubuntu2+esm1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.3+dfsg-0.1ubuntu0.1~esm2"}]}],"versions":["1:4.1.1+dfsg-1","1:4.1.3+dfsg-0.1","1:4.1.3+dfsg-0.1ubuntu0.1~esm1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.4+dfsg-1ubuntu0.1~esm2"}]}],"versions":["1:4.1.4+dfsg-1","1:4.1.4+dfsg-1build1","1:4.1.4+dfsg-1ubuntu0.1~esm1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.0.1+dfsg-1ubuntu0.1+esm1"}]}],"versions":["1:4.2.1+dfsg-1.1build1","1:5.0.1+dfsg-1","1:5.0.1+dfsg-1ubuntu0.1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.1.0-1ubuntu0.2"}]}],"versions":["1:5.1.0-1build1","1:5.1.0-1build2","1:5.1.0-1build3","1:5.1.0-1ubuntu0.1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.2.1-2ubuntu0.1"}]}],"versions":["1:5.2.1-2","1:5.2.1-2build2","1:5.2.1-2build3"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.3.2-1ubuntu1.1"}]}],"versions":["1:5.3.2-1build1","1:5.3.2-1ubuntu1"],"bundled":4}],"products":[{"vendor":"fossies","product":"gawk"},{"vendor":"gnu","product":"gawk"},{"vendor":"microsoft","product":"gawk"}],"references":[{"url":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=ae1b2d508f46913269a9e62aceda3636afe8147b","tags":["patch","Patch","fix","web","article"]},{"url":"https://cert.pl/en/posts/2026/07/CVE-2026-40467","tags":["third-party-advisory","Third Party Advisory","advisory","web","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40469","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5x2x-26c9-4q5x"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2026-40469","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1784217178.html","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40467","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40553","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1784217991.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/centos7els/CLSA-2026-1784303038.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1784623908.html","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40468","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/oraclelinux7els/CLSA-2026-1787229301.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/rhel7els/CLSA-2026-1792441187.html","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4156","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/centos6els/CLSA-2026-1792508988.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/oraclelinux6els/CLSA-2026-1792612080.html","tags":["advisory"]},{"url":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40469.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-40469","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0427.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=35997","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8588-1","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-3160","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-3161","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-3164","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:40041","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40553","tags":["report"]},{"url":"https://access.redhat.com/security/updates/classification/","tags":["article"]},{"url":"https://images.redhat.com/","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40468","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40467","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40469","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_40041.json","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2499658","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40467","tags":["advisory"]},{"url":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=a2d18c74109e41bec29a23098eba2e00057286d8","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2499655","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40468","tags":["advisory"]},{"url":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=062f2f2581b991362c046f7f2e238ffa34e6f8c7","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2499656","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40469","tags":["advisory","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2499657","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40553","tags":["advisory"]},{"url":"https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=cca0366144336b49aaa7d5d949966ce8e2c70843","tags":["article"]},{"url":"https://access.redhat.com/errata/RHSA-2026:49661","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_49661.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-40469","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-40467","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-40468","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-40553","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-40469","title":"Heap buffer overflow in gawk","description":"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.","status":"published","published":"2026-07-13T12:07:55.692Z","modified":"2026-07-13T13:01:07.29Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium","assessor":"cna"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T13:43:11.445168Z"}],"euvd":[{"id":"EUVD-2026-43494","description":"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.","status":"published","published":"2026-07-13T12:07:55Z","modified":"2026-07-13T13:01:07Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium"}],"updated_at":"2026-11-02T18:20:02.308684Z"}],"ghsa":[{"id":"GHSA-5x2x-26c9-4q5x","title":"Integer overflow vulnerability has been found in \"builtin.c\" program file of gawk (do_sub()...","description":"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.","status":"published","published":"2026-07-13T15:31:48Z","modified":"2026-07-14T03:31:34Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:09:27.031Z"}],"nvd":[{"id":"CVE-2026-40469","description":"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.","status":"published","published":"2026-07-13T13:16:37.033Z","modified":"2026-10-24T22:10:00.21Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium","assessor":"secondary"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:12:29.114188Z"}],"osv":[{"id":"BELL-CVE-2026-40469","status":"published","published":"2026-07-16T06:04:16.237449Z","modified":"2026-07-21T07:15:05.450692845Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:28:23.844435Z"},{"id":"CVE-2026-40469","title":"Heap buffer overflow in gawk","description":"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.","status":"published","published":"2026-07-13T12:07:55.692Z","modified":"2026-11-09T10:45:44.666172189Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium"}],"cwes":["CWE-190"],"updated_at":"2026-11-08T02:58:43.240183Z"},{"id":"DEBIAN-CVE-2026-40469","description":"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.","status":"published","published":"2026-07-13T13:16:37.033Z","modified":"2026-10-25T09:47:35.658074228Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:54.892385Z"},{"id":"JLSEC-2026-787","title":"Integer overflow in gawk's `do_sub()` can cause buffer overflow and denial of service","description":"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.","status":"published","published":"2026-07-25T03:14:11.289Z","modified":"2026-07-25T03:30:03.667289875Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"},{"version":"4.0","score":5.1,"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","level":"medium"}],"updated_at":"2026-11-02T15:47:19.003546Z"},{"id":"OESA-2026-3160","title":"gawk security update","description":"The gawk package is the GNU implementation of awk. The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.\r\n\r\nSecurity Fix(es):\n\nUse After Free vulnerability has been found in \u0026quot;io.c\u0026quot; program file of gawk (do_getline_redir() routine). This issue may lead to a crash. It affects gawk in versions 5.4.0 and below.(CVE-2026-40467)\n\nInteger overflow vulnerability has been found in \u0026quot;builtin.c\u0026quot; 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.(CVE-2026-40468)\n\nInteger overflow vulnerability has been found in \u0026quot;builtin.c\u0026quot; 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.(CVE-2026-40469)\n\nBuffer overflow vulnerability has been found in \u0026quot;extension/readdir.c\u0026quot; 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.(CVE-2026-40553)","status":"published","published":"2026-07-24T11:12:02Z","modified":"2026-08-18T01:21:24.651565353Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:46.823443Z"},{"id":"OESA-2026-3161","title":"gawk security update","description":"The gawk package is the GNU implementation of awk. The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.\r\n\r\nSecurity Fix(es):\n\nUse After Free vulnerability has been found in \u0026quot;io.c\u0026quot; program file of gawk (do_getline_redir() routine). This issue may lead to a crash. It affects gawk in versions 5.4.0 and below.(CVE-2026-40467)\n\nInteger overflow vulnerability has been found in \u0026quot;builtin.c\u0026quot; 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.(CVE-2026-40468)\n\nInteger overflow vulnerability has been found in \u0026quot;builtin.c\u0026quot; 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.(CVE-2026-40469)\n\nBuffer overflow vulnerability has been found in \u0026quot;extension/readdir.c\u0026quot; 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.(CVE-2026-40553)","status":"published","published":"2026-07-24T11:12:02Z","modified":"2026-08-18T01:21:23.831958633Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:46.823443Z"},{"id":"OESA-2026-3164","title":"gawk security update","description":"The gawk package is the GNU implementation of awk. The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.\r\n\r\nSecurity Fix(es):\n\nUse After Free vulnerability has been found in \u0026quot;io.c\u0026quot; program file of gawk (do_getline_redir() routine). This issue may lead to a crash. It affects gawk in versions 5.4.0 and below.(CVE-2026-40467)\n\nInteger overflow vulnerability has been found in \u0026quot;builtin.c\u0026quot; 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.(CVE-2026-40468)\n\nInteger overflow vulnerability has been found in \u0026quot;builtin.c\u0026quot; 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.(CVE-2026-40469)\n\nBuffer overflow vulnerability has been found in \u0026quot;extension/readdir.c\u0026quot; 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.(CVE-2026-40553)","status":"published","published":"2026-07-24T11:12:02Z","modified":"2026-08-18T01:21:24.751225095Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:46.823443Z"},{"id":"RHSA-2026:40041","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update","status":"published","published":"2026-07-18T10:11:39Z","modified":"2026-10-15T10:18:50Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:20.491441Z"},{"id":"RHSA-2026:49661","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update","status":"published","published":"2026-08-05T10:37:07Z","modified":"2026-10-15T10:20:20Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:20.984762Z"},{"id":"UBUNTU-CVE-2026-40469","description":"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.","status":"published","published":"2026-07-13T13:16:00Z","modified":"2026-07-23T01:15:34.681997894Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:56:16.686388Z"},{"id":"CLSA-2026-1784217178","title":"gawk: Fix of 3 CVEs","description":"- CVE-2026-40467: fix use-after-free in do_getline_redir() in io.c (redir_exp dereferenced after being freed)\n- CVE-2026-40553: fix stack buffer overflow in ftype() in the readdir extension (unbounded path concatenation before stat())\n- CVE-2026-40469: fix integer overflow in do_sub() in builtin.c (64-bit overflow check on the result-buffer size prevents heap corruption in sub/gsub/gensub replacement expansion on 32-bit builds)","status":"published","published":"2026-07-16T15:53:25Z","modified":"2026-10-26T09:43:34.32694521Z","updated_at":"2026-11-02T15:43:46.151924Z"},{"id":"CLSA-2026-1784217991","title":"gawk: Fix of 3 CVEs","description":"- CVE-2026-40467: fix use-after-free in do_getline_redir() in io.c (redir_exp dereferenced after being freed)\n- CVE-2026-40553: fix stack buffer overflow in ftype() in the readdir extension (unbounded path concatenation before stat())\n- CVE-2026-40469: fix integer overflow in do_sub() in builtin.c (64-bit overflow check on the result-buffer size prevents heap corruption in sub/gsub/gensub replacement expansion on 32-bit builds)","status":"published","published":"2026-07-16T16:06:58Z","modified":"2026-10-26T09:43:41.707772206Z","updated_at":"2026-11-02T15:43:46.151924Z"},{"id":"CLSA-2026-1784303038","title":"gawk: Fix of CVE-2026-40469","description":"- Fix CVE-2026-40469: integer overflow in substitution result buffer sizing","status":"published","published":"2026-07-22T14:15:29Z","modified":"2026-10-26T09:31:42.207904545Z","updated_at":"2026-11-02T15:43:46.151924Z"},{"id":"CLSA-2026-1784623908","title":"gawk: Fix of CVE-2026-40468","description":"- CVE-2026-40467: fix use-after-free in do_getline_redir() in io.c (redir_exp dereferenced after being freed)\n- CVE-2026-40553: fix stack buffer overflow in ftype() in the readdir extension (unbounded path concatenation before stat())\n- CVE-2026-40469: fix integer overflow in do_sub() in builtin.c (64-bit overflow check on the result-buffer size prevents heap corruption in sub/gsub/gensub replacement expansion on 32-bit builds)","status":"published","published":"2026-07-21T08:52:12Z","modified":"2026-10-26T09:43:38.554458356Z","updated_at":"2026-11-02T15:43:46.482572Z"},{"id":"CLSA-2026-1787229301","title":"gawk: Fix of 2 CVEs","description":"- Fix CVE-2026-40469: integer overflow in substitution result buffer sizing","status":"published","published":"2026-08-20T12:35:12Z","modified":"2026-10-26T09:31:56.003397389Z","updated_at":"2026-11-02T15:43:47.20725Z"},{"id":"CLSA-2026-1792441187","title":"gawk: Fix of 3 CVEs","description":"- Fix CVE-2026-40469: integer overflow in substitution result buffer sizing","status":"published","published":"2026-10-19T20:19:59Z","modified":"2026-10-26T09:32:01.211002623Z","updated_at":"2026-11-02T15:43:54.119956Z"},{"id":"CLSA-2026-1792508988","title":"gawk: Fix of 3 CVEs","description":"- CVE-2023-4156: builtin.c (format_tree): when collecting positional field widths or precisions, check for wrap around to negative values\n- CVE-2026-40469: builtin.c (sub_common): check for overflow in the result buffer size calculation using 64-bit math, failing with a fatal error instead of corrupting the heap on 32-bit builds","status":"published","published":"2026-10-20T16:53:03Z","modified":"2026-10-26T09:31:40.997209332Z","updated_at":"2026-11-02T15:43:54.378946Z"},{"id":"CLSA-2026-1792612080","title":"gawk: Fix of 3 CVEs","description":"- CVE-2023-4156: builtin.c (format_tree): when collecting positional field widths or precisions, check for wrap around to negative values\n- CVE-2026-40469: builtin.c (sub_common): check for overflow in the result buffer size calculation using 64-bit math, failing with a fatal error instead of corrupting the heap on 32-bit builds","status":"published","published":"2026-10-21T19:48:12Z","modified":"2026-10-26T09:31:55.010102369Z","updated_at":"2026-11-02T15:43:54.672859Z"},{"id":"MGASA-2026-0427","title":"Updated gawk packages fix security vulnerabilities","description":"Use after free in gawk. (CVE-2026-40467)\nHeap buffer overflow in gawk. (CVE-2026-40468)\nHeap buffer overflow in gawk. (CVE-2026-40469)\nStack-based buffer overflow in gawk. (CVE-2026-40553)\n","status":"published","published":"2026-09-20T04:25:32Z","modified":"2026-09-20T04:30:03.399833241Z","updated_at":"2026-11-02T15:49:43.795591Z"},{"id":"USN-8588-1","title":"gawk vulnerabilities","description":"It was discovered that Gawk incorrectly handled memory when processing\ninput using the getline redirection. An attacker could possibly use\nthis issue to cause a denial of service. (CVE-2026-40467)\n\nIt was discovered that Gawk incorrectly handled certain integer\ncalculations when allocating memory. An attacker could possibly use\nthis issue to cause a denial of service or overwrite heap memory with\nattacker-controlled data. (CVE-2026-40468)\n\nIt was discovered that Gawk incorrectly handled certain integer\ncalculations when performing substitutions. An attacker could possibly\nuse this issue to cause a denial of service. (CVE-2026-40469)\n\nIt was discovered that Gawk incorrectly handled memory when reading\ndirectory entries. An attacker could possibly use this issue to cause\na denial of service or execute arbitrary code. This issue only affected\nUbuntu 26.04 LTS. (CVE-2026-40553)","status":"published","published":"2026-07-22T16:29:49Z","modified":"2026-07-23T01:29:27.5557699Z","updated_at":"2026-11-02T16:58:25.103481Z"}]}}
