CVE-2023-38252
W3m: out of bounds read in strnew_size() at w3m/str.c
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
4.7
W3m: out of bounds read in strnew_size() at w3m/str.c
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.
- Record
CVE-2023-38252- 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 - Weakness
- CWE-125
- Updated
- 2026-11-07
EUVDEUVD-2023-42072
4.7
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.
- Record
EUVD-2023-42072- 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 - Updated
- 2026-11-07
GitHub AdvisoriesGHSA-h4j6-fwm6-vv32
4.7
An out-of-bounds read flaw was found in w3m, in the Strnew_size function in Str.c. This issue may...
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.
- Record
GHSA-h4j6-fwm6-vv32- 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 - Weakness
- CWE-125
- Updated
- 2026-11-02
NVD
4.7
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.
- Record
CVE-2023-38252- 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 - 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 - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-38252
5.5
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.
- Record
ALPINE-CVE-2023-38252- 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 - Updated
- 2026-11-03
OSV
4.7
W3m: out of bounds read in strnew_size() at w3m/str.c
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.
- Record
CVE-2023-38252- 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 - Weakness
- CWE-125
- Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2023-38252
5.5
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.
- Record
DEBIAN-CVE-2023-38252- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-38252
4.7
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.
- Record
UBUNTU-CVE-2023-38252- 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 - 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 - Updated
- 2026-11-02
OSVMGASA-2024-0105 No score
Updated w3m packages fix security vulnerabilities
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. (CVE-2023-38252) 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. (CVE-2023-38253) 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. (CVE-2023-4255)
- Record
MGASA-2024-0105- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13138-1 No score
w3m-0.5.3+git20230121-2.1 on GA media
These are all security issues fixed in the w3m-0.5.3+git20230121-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13138-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:4439-1 No score
Security update for w3m
This update for w3m fixes the following issues:
- Update to version 0.5.3+git20230121
- 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)
- 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)
- Record
SUSE-SU-2023:4439-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
w3mAlpine:v3.18 |
before 0.5.3.20230718-r0 | 0.5.3.20230718-r0 |
w3mAlpine:v3.19 |
before 0.5.3.20230718-r0 | 0.5.3.20230718-r0 |
w3mAlpine:v3.20 |
before 0.5.3.20230718-r0 | 0.5.3.20230718-r0 |
w3mAlpine:v3.21 |
before 0.5.3.20230718-r0 | 0.5.3.20230718-r0 |
w3mAlpine:v3.22 |
before 0.5.3_git20241203-r0 | 0.5.3_git20241203-r0 |
w3mAlpine:v3.23 |
before 0.5.3_git20241203-r0 | 0.5.3_git20241203-r0 |
w3mAlpine:v3.24 |
before 0.5.3_git20241203-r0 | 0.5.3_git20241203-r0 |
w3mDebian:12 |
All versions, plus listed versions 0.5.3+git20230121-20.5.3+git20230121-2.10.5.3+git20230121-2.20.5.3+git20230121-2.3 |
None known |
w3mDebian:13 |
All versions, plus listed versions 0.5.3+git20230121-2.10.5.3+git20230121-2.20.5.3+git20230121-2.3 |
None known |
w3mDebian:14 |
All versions, plus listed versions 0.5.3+git20230121-2.10.5.3+git20230121-2.20.5.3+git20230121-2.3 |
None known |
Show 12 moreShow less
| Package | Affected | Fixed |
|---|---|---|
w3mMageia:9 From an advisory covering 3 CVEs |
before 0.5.3-13.git20230121.1.mga9 | 0.5.3-13.git20230121.1.mga9 |
w3mSUSE:Linux Enterprise Module for Basesystem 15 SP4 From an advisory covering 2 CVEs |
before 0.5.3+git20230121-150000.3.6.1 | 0.5.3+git20230121-150000.3.6.1 |
w3mSUSE:Linux Enterprise Module for Basesystem 15 SP5 From an advisory covering 2 CVEs |
before 0.5.3+git20230121-150000.3.6.1 | 0.5.3+git20230121-150000.3.6.1 |
w3mopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 0.5.3+git20230121-150000.3.6.1 | 0.5.3+git20230121-150000.3.6.1 |
w3mopenSUSE:Leap 15.5 From an advisory covering 2 CVEs |
before 0.5.3+git20230121-150000.3.6.1 | 0.5.3+git20230121-150000.3.6.1 |
w3mUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 0.5.3-110.5.3-120.5.3-130.5.3-150.5.3-15ubuntu0.10.5.3-15ubuntu0.20.5.3-15ubuntu0.2+esm10.5.3-15ubuntu0.2+esm2 |
None known |
w3mUbuntu:16.04:LTS |
All versions, plus listed versions 0.5.3-240.5.3-250.5.3-260.5.3-26build10.5.3-26ubuntu0.10.5.3-26ubuntu0.2 |
None known |
w3mUbuntu:Pro:18.04:LTS |
before 0.5.3-36ubuntu0.1+esm1, plus listed versions 0.5.3-340.5.3-34.10.5.3-350.5.3-360.5.3-36build10.5.3-36ubuntu0.1 |
0.5.3-36ubuntu0.1+esm1 |
w3mUbuntu:20.04:LTS |
before 0.5.3-37ubuntu0.2, plus listed versions 0.5.3-370.5.3-37ubuntu0.1 |
0.5.3-37ubuntu0.2 |
w3mUbuntu:22.04:LTS |
before 0.5.3+git20210102-6ubuntu0.2, plus listed versions 0.5.3+git20210102-6build10.5.3+git20210102-6build20.5.3+git20210102-6build30.5.3+git20210102-6ubuntu0.1 |
0.5.3+git20210102-6ubuntu0.2 |
w3mUbuntu:24.04:LTS |
before 0.5.3+git20230121-2ubuntu1, plus listed versions 0.5.3+git20230121-2 |
0.5.3+git20230121-2ubuntu1 |
w3mopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 0.5.3+git20230121-2.1 | 0.5.3+git20230121-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-38252 is a medium vulnerability (CVSS 4.7) in Tats W3m, published July 14, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.36%, the 29th percentile. Fixed in w3m 0.5.3.20230718-r0.
References
access.redhat.com/security/cve/CVE-2023-38252
bugzilla.redhat.com/show_bug.cgi?id=2222775
github.com/tats/w3m/issues/270
lists.fedoraproject.org/archives/list/[email protected]/message/AULOBQJLXE2KCT5UVQMKGEFL4GFIAOED
lists.fedoraproject.org/archives/list/[email protected]/message/MKFZQUK7FPWWJQYICDZZ4YWIPUPQ2D3R
lists.fedoraproject.org/archives/list/[email protected]/message/TODROGVCWZ435HQIZE6ARQC5LPQLIA5C
Show 15 moreShow less
nvd.nist.gov/vuln/detail/CVE-2023-38252
github.com/advisories/GHSA-h4j6-fwm6-vv32
security.alpinelinux.org/vuln/CVE-2023-38252
access.redhat.com/downloads/content/package-browser
github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38252.json
security-tracker.debian.org/tracker/CVE-2023-38252
advisories.mageia.org/MGASA-2024-0105.html
bugs.mageia.org/show_bug.cgi?id=33027
suse.com/support/update/announcement/2023/suse-su-20234439-1
bugzilla.suse.com/1213323
bugzilla.suse.com/1213324
suse.com/security/cve/CVE-2023-38252
suse.com/security/cve/CVE-2023-38253
ubuntu.com/security/CVE-2023-38252
cve.org/CVERecord?id=CVE-2023-38252