CVE-2023-38252 json
W3m: out of bounds read in strnew_size() at w3m/str.c
published 2023-07-14 3 y ago modified 2026-11-07 2 d ago also EUVD-2023-42072
- cvss
- 4.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- w3m Ubuntu 20.04 LTS 0.5.3-37ubuntu0.2
- w3m Ubuntu 22.04 LTS 0.5.3+git20210102-6ubuntu0.2
- w3m Ubuntu 24.04 LTS 0.5.3+git20230121-2ubuntu1
- w3m Ubuntu Pro 18.04 LTS 0.5.3-36ubuntu0.1+esm1
ubuntu advisories UBUNTU-CVE-2023-38252
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- w3m SLE Module for Basesystem 15 SP5, SLE Module for Basesystem 15 SP4, openSUSE Leap 15.5 +1 more 0.5.3+git20230121-150000.3.6.1
suse advisories SUSE-SU-2023:4439-1
- w3m openSUSE Tumbleweed 0.5.3+git20230121-2.1
opensuse advisories openSUSE-SU-2024:13138-1
- w3m Alpine 3.21, Alpine 3.20, Alpine 3.19 +1 more 0.5.3.20230718-r0
- w3m Alpine 3.24, Alpine 3.23, Alpine 3.22 0.5.3_git20241203-r0
alpine advisories ALPINE-CVE-2023-38252
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-38252 updated cvss 4.7
w3m: Out of bounds read in Strnew_size() at w3m/Str.c
-
Red Hat Enterprise Linux 6 w3m, w3m-imgaffected: no fix planned “Out of support scope”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.36% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/tats/w3m/issues/270 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux 6
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/tats/w3m/issues/270
exploit, issue-tracking, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2023-38252
vdb-entry, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2222775
issue-tracking, third-party-advisory
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/AULOBQJLXE2KCT5UVQMKGEFL4GFIAOED/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/MKFZQUK7FPWWJQYICDZZ4YWIPUPQ2D3R/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/TODROGVCWZ435HQIZE6ARQC5LPQLIA5C/
Sources
- CVE List CVE-2023-38252
- NVD CVE-2023-38252
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.