# CVE-2023-38252: W3m: out of bounds read in strnew_size() at w3m/str.c

- Severity: Medium 4.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/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.30%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-07-14T17:06:20.732Z
- Modified: 2026-11-07T12:17:27.660Z
- Weaknesses: CWE-125
- Assigned by: redhat

## Description

An out-of-bounds read flaw was found in w3m, in the Strnew_size function in Str.c. This issue may allow an attacker to cause a denial of service through a crafted HTML file.

(As written by CVE List.)

## Affected

- w3m: no versions given
- tats w3m: 0.5.3+git20230121
- fedoraproject extra_packages_for_enterprise_linux: 8.0
- fedoraproject fedora: 38
- redhat enterprise_linux: 6.0

## Every score

- redhat: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/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/270> (exploit, issue-tracking, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-38252> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2222775> (issue-tracking, third-party-advisory)
- <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/MKFZQUK7FPWWJQYICDZZ4YWIPUPQ2D3R/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TODROGVCWZ435HQIZE6ARQC5LPQLIA5C/>

## Sources

- CVE List: [CVE-2023-38252](https://www.cve.org/CVERecord?id=CVE-2023-38252), CVE Terms of Use, modified 2026-11-07
- NVD: [CVE-2023-38252](https://nvd.nist.gov/vuln/detail/CVE-2023-38252), Public domain, modified 2026-11-07

---

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