# CVE-2023-4255: W3m: out-of-bounds write in function checktype() in etc.c (incomplete fix for cve-2022-38223)

- Severity: Medium 5.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-21T16:08:39.691Z
- Modified: 2026-06-17T06:37:25.357Z
- Weaknesses: CWE-787
- Assigned by: redhat

## Description

An out-of-bounds write issue has been discovered in the backspace handling of the checkType() function in etc.c within the W3M application. This vulnerability is triggered by supplying a specially crafted HTML file to the w3m binary. Exploitation of this flaw could lead to application crashes, resulting in a denial of service condition.

(As written by CVE List.)

## Affected

- w3m: no versions given
- tats w3m: 0.5.3+git20230121-1; 0.5.3+git20230121-2; 0.5.3+git20230129
- fedoraproject extra_packages_for_enterprise_linux: 8.0
- fedoraproject fedora: 39

## Every score

- redhat: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/tats/w3m/issues/268> (exploit, issue-tracking, patch)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2255207> (issue-tracking, third-party-advisory)
- <https://github.com/tats/w3m/commit/edc602651c506aeeb60544b55534dd1722a340d3> (patch)
- <https://github.com/tats/w3m/pull/273> (issue-tracking, patch)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AULOBQJLXE2KCT5UVQMKGEFL4GFIAOED/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TODROGVCWZ435HQIZE6ARQC5LPQLIA5C/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKFZQUK7FPWWJQYICDZZ4YWIPUPQ2D3R/>

## Sources

- CVE List: [CVE-2023-4255](https://www.cve.org/CVERecord?id=CVE-2023-4255), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2023-4255](https://nvd.nist.gov/vuln/detail/CVE-2023-4255), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-4255 · Whole record: https://cve.day/CVE-2023-4255.json · Rebuilt by cve.day 2026-11-25T22:58:31.595Z
