{"id":"CVE-2023-4156","aliases":["AZL-30045","BELL-CVE-2023-4156","CLSA-2024-1712176685","CLSA-2025-1751619853","CLSA-2026-1777030298","CLSA-2026-1777888717","CLSA-2026-1792508988","CLSA-2026-1792612080","DEBIAN-CVE-2023-4156","EUVD-2023-54036","GHSA-8p8g-pp68-479w","OESA-2023-1575","SUSE-SU-2023:3431-1","SUSE-SU-2023:3440-1","UBUNTU-CVE-2023-4156","USN-6373-1"],"status":"published","title":"Heap out of bound read in builtin.c","description":"A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.","severity":{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00415,"percentile":0.36115,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2023-08-08T00:00:00Z","modified":"2026-10-26T18:02:49Z","fixes":[{"ecosystem":"Azure Linux:2","package":"gawk","fixed_in":["5.1.1-1"],"sources":["osv"]},{"ecosystem":"TuxCare:CentOS:7","package":"gawk","fixed_in":["4.0.2-4.el7_3.1.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"TuxCare:AlmaLinux:9.2","package":"gawk","fixed_in":["5.1.0-6.el9.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"TuxCare:AlmaLinux:9.2","package":"gawk-all-langpacks","fixed_in":["5.1.0-6.el9.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"TuxCare:AlmaLinux:9.2","package":"gawk-devel","fixed_in":["5.1.0-6.el9.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"TuxCare:AlmaLinux:9.2","package":"gawk-doc","fixed_in":["5.1.0-6.el9.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk","fixed_in":["5.1.0-6.el9.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk-all-langpacks","fixed_in":["5.1.0-6.el9.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk-devel","fixed_in":["5.1.0-6.el9.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk-doc","fixed_in":["5.1.0-6.el9.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"TuxCare:OracleLinux:7","package":"gawk","fixed_in":["4.0.2-4.el7_3.1.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"gawk","fixed_in":["1:5.2.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gawk","fixed_in":["1:5.2.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gawk","fixed_in":["1:5.2.1-1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP1","package":"gawk","fixed_in":["5.0.1-5.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP3","package":"gawk","fixed_in":["5.0.1-5.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS","package":"gawk","fixed_in":["5.1.1-5.oe2203sp2"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP1","package":"gawk","fixed_in":["5.1.1-5.oe2203sp1"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP2","package":"gawk","fixed_in":["5.1.1-5.oe2203sp2"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"gawk","fixed_in":["4.1.0-5.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"gawk","fixed_in":["4.1.0-5.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","package":"gawk","fixed_in":["4.2.1-150000.3.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","package":"gawk","fixed_in":["4.2.1-150000.3.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","package":"gawk","fixed_in":["4.2.1-150000.3.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","package":"gawk","fixed_in":["4.2.1-150000.3.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Manager Proxy 4.2","package":"gawk","fixed_in":["4.2.1-150000.3.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Manager Server 4.2","package":"gawk","fixed_in":["4.2.1-150000.3.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","package":"gawk","fixed_in":["4.2.1-150000.3.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","package":"gawk","fixed_in":["4.2.1-150000.3.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap Micro 5.3","package":"gawk","fixed_in":["4.2.1-150000.3.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap Micro 5.4","package":"gawk","fixed_in":["4.2.1-150000.3.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.4","package":"gawk","fixed_in":["4.2.1-150000.3.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.5","package":"gawk","fixed_in":["4.2.1-150000.3.3.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gawk","fixed_in":["1:4.0.1+dfsg-2.1ubuntu2+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gawk","fixed_in":["1:4.1.3+dfsg-0.1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gawk","fixed_in":["1:4.1.4+dfsg-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"gawk","fixed_in":["1:5.0.1+dfsg-1ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"gawk","fixed_in":["1:5.1.0-1ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:2","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.1-1"}]}]},{"source":"osv","ecosystem":"TuxCare:CentOS:7","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-4.el7_3.1.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"gawk-all-langpacks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"gawk-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"gawk-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk-all-langpacks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"gawk-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-6.el9.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"TuxCare:OracleLinux:7","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-4.el7_3.1.tuxcare.els1"}]}]},{"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"},{"fixed":"1:5.2.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.2.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.2.1-1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.1-5.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP3","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.1-5.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.1-5.oe2203sp2"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.1-5.oe2203sp1"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP2","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.1-5.oe2203sp2"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.0-5.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.0-5.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.3","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-150000.3.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.4","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-150000.3.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-150000.3.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-150000.3.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Manager Proxy 4.2","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-150000.3.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Manager Server 4.2","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-150000.3.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.1","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-150000.3.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.2","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-150000.3.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap Micro 5.3","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-150000.3.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap Micro 5.4","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-150000.3.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-150000.3.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-150000.3.3.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.0.1+dfsg-2.1ubuntu2+esm1"}]}],"versions":["1:4.0.1+dfsg-2.1ubuntu2"]},{"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~esm1"}]}],"versions":["1:4.1.1+dfsg-1","1:4.1.3+dfsg-0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.4+dfsg-1ubuntu0.1~esm1"}]}],"versions":["1:4.1.4+dfsg-1","1:4.1.4+dfsg-1build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.0.1+dfsg-1ubuntu0.1"}]}],"versions":["1:4.2.1+dfsg-1.1build1","1:5.0.1+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.1.0-1ubuntu0.1"}]}],"versions":["1:5.1.0-1build1","1:5.1.0-1build2","1:5.1.0-1build3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.0.1+dfsg-2.1ubuntu2+esm1"}]}],"versions":["1:4.0.1+dfsg-2.1ubuntu2"]},{"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~esm1"}]}],"versions":["1:4.1.1+dfsg-1","1:4.1.3+dfsg-0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.4+dfsg-1ubuntu0.1~esm1"}]}],"versions":["1:4.1.4+dfsg-1","1:4.1.4+dfsg-1build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.0.1+dfsg-1ubuntu0.1"}]}],"versions":["1:4.2.1+dfsg-1.1build1","1:5.0.1+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"gawk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.1.0-1ubuntu0.1"}]}],"versions":["1:5.1.0-1build1","1:5.1.0-1build2","1:5.1.0-1build3"]}],"products":[{"vendor":"fedora","product":"fedora"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"gnu","product":"gawk"},{"vendor":"red hat","product":"red hat enterprise linux 6"},{"vendor":"red hat","product":"red hat enterprise linux 7"},{"vendor":"red hat","product":"red hat enterprise linux 8"},{"vendor":"red hat","product":"red hat enterprise linux 9"},{"vendor":"redhat","product":"enterprise_linux"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-4156","tags":["vdb-entry","x_refsource_REDHAT","x_transferred","Exploit","Issue Tracking","Release Notes","Third Party Advisory","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2215930","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Exploit","Issue Tracking","Release Notes","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4156","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-8p8g-pp68-479w"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2023-4156","tags":["advisory"]},{"url":"https://errata.tuxcare.com/centos7-els/CLSA-2024-1712176685.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2025-1751619853.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1777030298.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/oraclelinux7els/CLSA-2026-1777888717.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/centos6els/CLSA-2026-1792508988.html","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40468","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40469","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/oraclelinux6els/CLSA-2026-1792612080.html","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-4156","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1575","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20233431-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1214025","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2023-4156","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20233440-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-4156","tags":["report"]},{"url":"https://mail.gnu.org/archive/html/bug-gawk/2022-08/msg00000.html","tags":["report"]},{"url":"https://mail.gnu.org/archive/html/bug-gawk/2022-08/msg00023.html","tags":["report"]},{"url":"https://git.savannah.gnu.org/gitweb/?p=gawk.git;a=commitdiff;h=e709eb829448ce040087a3fc5481db6bfcaae212","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6373-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-4156","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-4156","title":"Heap out of bound read in builtin.c","description":"A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.","status":"published","published":"2023-09-25T17:20:19.377Z","modified":"2024-09-24T15:36:52.766Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:35:30.116696Z"}],"euvd":[{"id":"EUVD-2023-54036","description":"A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.","status":"published","published":"2023-09-25T17:20:19Z","modified":"2024-09-24T15:36:52Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L","level":"medium"}],"updated_at":"2026-11-03T00:28:15.73715Z"}],"ghsa":[{"id":"GHSA-8p8g-pp68-479w","title":"A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to...","description":"A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.","status":"published","published":"2023-09-25T18:30:51Z","modified":"2024-04-04T07:50:53Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:56:55.413626Z"}],"nvd":[{"id":"CVE-2023-4156","description":"A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.","status":"published","published":"2023-09-25T18:15:11.013Z","modified":"2026-06-17T06:37:11.89Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:08:31.699785Z"}],"osv":[{"id":"AZL-30045","title":"CVE-2023-4156 affecting package gawk for versions less than 5.1.1-1","description":"A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.","status":"published","published":"2023-09-25T18:15:11Z","modified":"2026-04-21T04:26:02.163523Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:03.46006Z"},{"id":"BELL-CVE-2023-4156","title":"CVE-2023-4156 does not affect BellSoft software","status":"withdrawn","published":"2023-09-25T18:15:00Z","modified":"2026-01-26T09:45:41.610684Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:17.742221Z"},{"id":"CVE-2023-4156","description":"A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.","status":"published","published":"2023-09-25T18:15:11.013Z","modified":"2026-03-15T22:47:21.005555Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:33.244128Z"},{"id":"DEBIAN-CVE-2023-4156","description":"A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.","status":"published","published":"2023-09-25T18:15:11.013Z","modified":"2026-10-26T18:02:49.590266446Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:39.980321Z"},{"id":"OESA-2023-1575","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):\r\n\r\nA heap out of bound read issue exists in builtin.c of gawk prior to version 5.1.1. The array \u0026quot;the_args\u0026quot; takes an unsafe index \u0026quot;val\u0026quot;, while it does not validate the index to ensure the index refers to a valid position in the array (e.g., exceedingly large or negative). The vulnerability can cause crash of the software and might be used by attackers to read sensitive information.\r\n\r\nhttps://mail.gnu.org/archive/html/bug-gawk/2022-08/msg00000.html\nhttps://mail.gnu.org/archive/html/bug-gawk/2022-08/msg00023.html\nhttps://fossies.org/linux/gawk/ChangeLog#470 (Line: 470-475)(CVE-2023-4156)","status":"published","published":"2023-09-02T11:06:01Z","modified":"2026-08-18T01:17:52.557987728Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-02T15:52:40.328856Z"},{"id":"UBUNTU-CVE-2023-4156","description":"A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.","status":"published","published":"2023-08-08T00:00:00Z","modified":"2026-02-04T03:48:22.803536Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T16:54:22.741943Z"},{"id":"CLSA-2024-1712176685","title":"gawk: Fix of CVE-2023-4156","description":"- Fix CVE-2023-4156: builtin.c (format_tree): When collecting positional field\n  widths or precisions, check for wrap around to negative values.","status":"published","published":"2024-04-03T20:38:08Z","modified":"2026-06-01T00:33:03.79418296Z","updated_at":"2026-11-02T15:43:40.88185Z"},{"id":"CLSA-2025-1751619853","title":"gawk: Fix of CVE-2023-4156","description":"- CVE-2023-4156: fix heap out-of-bounds read flaw in builtin.c to prevent\n  potential crash and information leakage","status":"published","published":"2025-07-04T09:04:18Z","modified":"2026-06-01T00:31:06.368742065Z","updated_at":"2026-11-02T15:43:41.66212Z"},{"id":"CLSA-2026-1777030298","title":"gawk: Fix of CVE-2023-4156","description":"- CVE-2023-4156: fix heap out-of-bounds read flaw in builtin.c to prevent\n  potential crash and information leakage","status":"published","published":"2026-04-24T11:31:42Z","modified":"2026-06-01T00:32:48.695776172Z","updated_at":"2026-11-02T15:43:44.384419Z"},{"id":"CLSA-2026-1777888717","title":"gawk: Fix of CVE-2023-4156","description":"- Fix CVE-2023-4156: builtin.c (format_tree): When collecting positional field\n  widths or precisions, check for wrap around to negative values.","status":"published","published":"2026-05-04T10:31:50Z","modified":"2026-06-01T00:33:27.350395495Z","updated_at":"2026-11-02T15:43:44.737408Z"},{"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":"SUSE-SU-2023:3431-1","title":"Security update for gawk","description":"This update for gawk fixes the following issues:\n\n- CVE-2023-4156: Fix a heap out of bound read by validating the index into argument list. (bsc#1214025)\n","status":"published","published":"2023-08-24T11:53:56Z","modified":"2025-05-02T04:35:23.940401Z","updated_at":"2026-11-02T15:53:53.440387Z"},{"id":"SUSE-SU-2023:3440-1","title":"Security update for gawk","description":"This update for gawk fixes the following issues:\n\n- CVE-2023-4156: Fix a heap out of bound read by validating the index into argument list. (bsc#1214025)\n","status":"published","published":"2023-08-28T06:57:26Z","modified":"2026-02-04T04:12:43.888358Z","updated_at":"2026-11-02T15:53:53.440387Z"},{"id":"USN-6373-1","title":"gawk vulnerability","description":"It was discovered that gawk could be made to read out of bounds when\nprocessing certain inputs. If a user or an automated system were tricked\ninto opening a specially crafted input, an attacker could possibly use\nthis issue to cause a denial of service.\n","status":"published","published":"2023-09-14T18:55:29Z","modified":"2026-06-29T13:50:57.402395645Z","updated_at":"2026-11-02T16:58:17.305935Z"}]}}
