CVEfocus › CVE database › CVE-2023-38252

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

CVSS 4.7 MediumEPSS 0.4% (higher than 27% of CVEs)Published 2023-07-14Updated 2026-11-07Assigner: redhat

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.

CWE-125

What to do

Fixed builds are available from Alpine, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
3Fix pending
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04w3mFixed0.5.3+git20230121-2ubuntu1UBUNTU-CVE-2023-38252
Ubuntu 22.04w3mFixed0.5.3+git20210102-6ubuntu0.2UBUNTU-CVE-2023-38252
Ubuntu 20.04w3mFixed0.5.3-37ubuntu0.2UBUNTU-CVE-2023-38252
Ubuntu 18.04w3mFix pending0.5.3-36ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-38252
Ubuntu 16.04w3mFix pendingUBUNTU-CVE-2023-38252
Ubuntu 14.04w3mFix pendingUBUNTU-CVE-2023-38252
Debian 14w3mWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2023-38252
Debian 13w3mWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2023-38252
Debian 12w3mWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2023-38252
Red Hat Enterprise Linux 6w3mWill not fix
Out of support scope
Red Hat Enterprise Linux 6w3m-imgWill not fix
Out of support scope
Alpine Linux 3.24w3mFixed0.5.3_git20241203-r0ALPINE-CVE-2023-38252
Alpine Linux 3.23w3mFixed0.5.3_git20241203-r0ALPINE-CVE-2023-38252
Alpine Linux 3.22w3mFixed0.5.3_git20241203-r0ALPINE-CVE-2023-38252
Alpine Linux 3.21w3mFixed0.5.3.20230718-r0ALPINE-CVE-2023-38252
Alpine Linux 3.20w3mFixed0.5.3.20230718-r0ALPINE-CVE-2023-38252
Alpine Linux 3.19w3mFixed0.5.3.20230718-r0ALPINE-CVE-2023-38252
Alpine Linux 3.18w3mFixed0.5.3.20230718-r0ALPINE-CVE-2023-38252

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.