{"id":"CVE-2023-38253","aliases":["ALPINE-CVE-2023-38253","DEBIAN-CVE-2023-38253","EUVD-2023-42073","GHSA-rrg6-f895-jq87","MGASA-2024-0105","SUSE-SU-2023:4439-1","UBUNTU-CVE-2023-38253","openSUSE-SU-2024:13138-1"],"status":"published","title":"W3m: out of bounds read in growbuf_to_str() at w3m/indep.c","description":"An out-of-bounds read flaw was found in w3m, in the growbuf_to_Str function in indep.c. This issue may allow an attacker to cause a denial of service through a crafted HTML file.","severity":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00358,"percentile":0.29834,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2023-07-14T17:07:01Z","modified":"2026-11-03T06:32:43Z","fixes":[{"ecosystem":"Alpine:v3.18","package":"w3m","fixed_in":["0.5.3.20230718-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"w3m","fixed_in":["0.5.3.20230718-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"w3m","fixed_in":["0.5.3.20230718-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"w3m","fixed_in":["0.5.3.20230718-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"w3m","fixed_in":["0.5.3_git20241203-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"w3m","fixed_in":["0.5.3_git20241203-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"w3m","fixed_in":["0.5.3_git20241203-r0"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"w3m","fixed_in":["0.5.3-36ubuntu0.1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"w3m","fixed_in":["0.5.3-37ubuntu0.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"w3m","fixed_in":["0.5.3+git20210102-6ubuntu0.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"w3m","fixed_in":["0.5.3+git20230121-2ubuntu1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.18","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3.20230718-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3.20230718-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3.20230718-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3.20230718-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3_git20241203-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3_git20241203-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3_git20241203-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.3+git20230121-2","0.5.3+git20230121-2.1","0.5.3+git20230121-2.2","0.5.3+git20230121-2.3"]},{"source":"osv","ecosystem":"Debian:13","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.3+git20230121-2.1","0.5.3+git20230121-2.2","0.5.3+git20230121-2.3"]},{"source":"osv","ecosystem":"Debian:14","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.3+git20230121-2.1","0.5.3+git20230121-2.2","0.5.3+git20230121-2.3"]},{"source":"osv","ecosystem":"Mageia:9","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-13.git20230121.1.mga9"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3+git20230121-150000.3.6.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3+git20230121-150000.3.6.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3+git20230121-150000.3.6.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3+git20230121-150000.3.6.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.3-11","0.5.3-12","0.5.3-13","0.5.3-15","0.5.3-15ubuntu0.1","0.5.3-15ubuntu0.2","0.5.3-15ubuntu0.2+esm1","0.5.3-15ubuntu0.2+esm2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.3-24","0.5.3-25","0.5.3-26","0.5.3-26build1","0.5.3-26ubuntu0.1","0.5.3-26ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-36ubuntu0.1+esm1"}]}],"versions":["0.5.3-34","0.5.3-34.1","0.5.3-35","0.5.3-36","0.5.3-36build1","0.5.3-36ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-37ubuntu0.2"}]}],"versions":["0.5.3-37","0.5.3-37ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3+git20210102-6ubuntu0.2"}]}],"versions":["0.5.3+git20210102-6build1","0.5.3+git20210102-6build2","0.5.3+git20210102-6build3","0.5.3+git20210102-6ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3+git20230121-2ubuntu1"}]}],"versions":["0.5.3+git20230121-2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3+git20230121-2.1"}]}],"bundled":2}],"products":[{"vendor":"fedora","product":"extra packages for enterprise linux"},{"vendor":"fedora","product":"fedora"},{"vendor":"fedoraproject","product":"extra_packages_for_enterprise_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"red hat","product":"red hat enterprise linux 6"},{"vendor":"redhat","product":"enterprise_linux"},{"vendor":"tats","product":"w3m"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-38253","tags":["vdb-entry","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2222779","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/tats/w3m/issues/271","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AULOBQJLXE2KCT5UVQMKGEFL4GFIAOED/","tags":["x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TODROGVCWZ435HQIZE6ARQC5LPQLIA5C/","tags":["x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKFZQUK7FPWWJQYICDZZ4YWIPUPQ2D3R/","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38253","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AULOBQJLXE2KCT5UVQMKGEFL4GFIAOED"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKFZQUK7FPWWJQYICDZZ4YWIPUPQ2D3R"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TODROGVCWZ435HQIZE6ARQC5LPQLIA5C"},{"url":"https://github.com/advisories/GHSA-rrg6-f895-jq87"},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-38253","tags":["advisory"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://packages.fedoraproject.org/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38253.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-38253","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2024-0105.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33027","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20234439-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1213323","tags":["report"]},{"url":"https://bugzilla.suse.com/1213324","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2023-38252","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-38253","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2023-38253","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-38253","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2023-38253","title":"W3m: out of bounds read in growbuf_to_str() at w3m/indep.c","description":"An out-of-bounds read flaw was found in w3m, in the growbuf_to_Str function in indep.c. This issue may allow an attacker to cause a denial of service through a crafted HTML file.","status":"published","published":"2023-07-14T17:07:01.468Z","modified":"2025-02-13T17:01:49.231Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:35:29.381004Z"}],"euvd":[{"id":"EUVD-2023-42073","description":"An out-of-bounds read flaw was found in w3m, in the growbuf_to_Str function in indep.c. This issue may allow an attacker to cause a denial of service through a crafted HTML file.","status":"published","published":"2023-07-14T17:07:01Z","modified":"2025-02-13T17:01:49Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T00:03:49.604577Z"}],"ghsa":[{"id":"GHSA-rrg6-f895-jq87","title":"An out-of-bounds read flaw was found in w3m, in the growbuf_to_Str function in indep.c. This...","description":"An out-of-bounds read flaw was found in w3m, in the growbuf_to_Str function in indep.c. This issue may allow an attacker to cause a denial of service through a crafted HTML file.","status":"published","published":"2023-07-14T18:31:03Z","modified":"2024-03-27T03:31:16Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:55:43.067988Z"}],"nvd":[{"id":"CVE-2023-38253","description":"An out-of-bounds read flaw was found in w3m, in the growbuf_to_Str function in indep.c. This issue may allow an attacker to cause a denial of service through a crafted HTML file.","status":"published","published":"2023-07-14T18:15:11.047Z","modified":"2026-06-17T06:09:45.97Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:08:17.044696Z"}],"osv":[{"id":"ALPINE-CVE-2023-38253","description":"An out-of-bounds read flaw was found in w3m, in the growbuf_to_Str function in indep.c. This issue may allow an attacker to cause a denial of service through a crafted HTML file.","status":"published","published":"2023-07-14T18:15:11.047Z","modified":"2026-11-03T06:32:43.142488011Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:17:02.90744Z"},{"id":"CVE-2023-38253","title":"W3m: out of bounds read in growbuf_to_str() at w3m/indep.c","description":"An out-of-bounds read flaw was found in w3m, in the growbuf_to_Str function in indep.c. This issue may allow an attacker to cause a denial of service through a crafted HTML file.","status":"published","published":"2023-07-14T17:07:01.468Z","modified":"2026-10-28T02:30:50.730873113Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:44:32.922049Z"},{"id":"DEBIAN-CVE-2023-38253","description":"An out-of-bounds read flaw was found in w3m, in the growbuf_to_Str function in indep.c. This issue may allow an attacker to cause a denial of service through a crafted HTML file.","status":"published","published":"2023-07-14T18:15:11.047Z","modified":"2026-10-26T18:01:52.781879341Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:39.980321Z"},{"id":"UBUNTU-CVE-2023-38253","description":"An out-of-bounds read flaw was found in w3m, in the growbuf_to_Str function in indep.c. This issue may allow an attacker to cause a denial of service through a crafted HTML file.","status":"published","published":"2023-07-14T18:15:00Z","modified":"2025-10-24T05:02:08Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:54:21.882004Z"},{"id":"MGASA-2024-0105","title":"Updated w3m packages fix security vulnerabilities","description":"An out-of-bounds read flaw was found in w3m, in the Strnew_size function\nin Str.c. This issue may allow an attacker to cause a denial of service\nthrough a crafted HTML file. (CVE-2023-38252)\nAn out-of-bounds read flaw was found in w3m, in the growbuf_to_Str\nfunction in indep.c. This issue may allow an attacker to cause a denial\nof service through a crafted HTML file. (CVE-2023-38253)\nAn out-of-bounds write issue has been discovered in the backspace\nhandling of the checkType() function in etc.c within the W3M\napplication. This vulnerability is triggered by supplying a specially\ncrafted HTML file to the w3m binary. Exploitation of this flaw could\nlead to application crashes, resulting in a denial of service condition.\n(CVE-2023-4255)\n","status":"published","published":"2024-04-01T19:50:27Z","modified":"2026-04-16T04:42:54.700418957Z","updated_at":"2026-11-02T15:49:42.684501Z"},{"id":"openSUSE-SU-2024:13138-1","title":"w3m-0.5.3+git20230121-2.1 on GA media","description":"These are all security issues fixed in the w3m-0.5.3+git20230121-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:35:21.394673Z","updated_at":"2026-11-02T16:58:36.025801Z"},{"id":"SUSE-SU-2023:4439-1","title":"Security update for w3m","description":"This update for w3m fixes the following issues:\n\n- Update to version 0.5.3+git20230121\n- CVE-2023-38252: Fixed an out-of-bounds write in function Strnew_size that allows attackers to cause a denial of service via a crafted HTML file. (bsc#1213324)\n- CVE-2023-38253: Fixed an out-of-bounds write in function growbuf_to_Str that allows attackers to cause a denial of service via a crafted HTML file. (bsc#1213323)\n","status":"published","published":"2023-11-14T12:43:47Z","modified":"2026-02-04T03:14:20.853938Z","updated_at":"2026-11-02T15:53:53.865042Z"}]}}
