CVE-2023-4255
W3m: out-of-bounds write in function checktype() in etc.c (incomplete fix for cve-2022-38223)
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- 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
5.5
W3m: out-of-bounds write in function checktype() in etc.c (incomplete fix for cve-2022-38223)
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.
- Record
CVE-2023-4255- 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-787
- Updated
- 2026-11-02
EUVDEUVD-2023-54126
5.5
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.
- Record
EUVD-2023-54126- 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
GitHub AdvisoriesGHSA-hx3r-ph4g-9px9
5.5
An out-of-bounds write issue has been discovered in the backspace handling of the checkType()...
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.
- Record
GHSA-hx3r-ph4g-9px9- 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-787
- Updated
- 2026-11-02
NVD
5.5
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.
- Record
CVE-2023-4255- 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-787
- Updated
- 2026-11-02
OSV
5.5
W3m: out-of-bounds write in function checktype() in etc.c (incomplete fix for cve-2022-38223)
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.
- Record
CVE-2023-4255- 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-787
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-4255
5.5
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.
- Record
DEBIAN-CVE-2023-4255- 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
Show 4 moreShow less
OSVUBUNTU-CVE-2023-4255
5.5
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.
- Record
UBUNTU-CVE-2023-4255- 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
OSVSUSE-SU-2024:0014-1 No score
Security update for w3m
This update for w3m fixes the following issues:
- CVE-2023-4255: Fixed out-of-bounds write in function checkType() in etc.c (bsc#1218226).
- Record
SUSE-SU-2024:0014-1- Updated
- 2026-11-02
OSVUSN-6580-1 No score
w3m vulnerability
It was discovered that w3m incorrectly handled certain HTML files. An attacker could possibly use this issue to cause a crash or execute arbitrary code.
- Record
USN-6580-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
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 |
before 0.5.3+git20230121-2.1 | 0.5.3+git20230121-2.1 |
w3mDebian:14 |
before 0.5.3+git20230121-2.1 | 0.5.3+git20230121-2.1 |
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 Server 12 SP5 |
before 0.5.3.git20161120-161.9.1 | 0.5.3.git20161120-161.9.1 |
w3mSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 0.5.3.git20161120-161.9.1 | 0.5.3.git20161120-161.9.1 |
w3mUbuntu:Pro:14.04:LTS |
before 0.5.3-15ubuntu0.2+esm2, 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+esm1 |
0.5.3-15ubuntu0.2+esm2 |
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 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-4255 is a medium vulnerability (CVSS 5.5) in Tats W3m, published December 21, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.32%, the 25th percentile. Fixed in w3m 0.5.3+git20230121-2.1.
References
bugzilla.redhat.com/show_bug.cgi?id=2255207
github.com/tats/w3m/commit/edc602651c506aeeb60544b55534dd1722a340d3
github.com/tats/w3m/issues/268
github.com/tats/w3m/pull/273
lists.fedoraproject.org/archives/list/[email protected]/message/AULOBQJLXE2KCT5UVQMKGEFL4GFIAOED
lists.fedoraproject.org/archives/list/[email protected]/message/TODROGVCWZ435HQIZE6ARQC5LPQLIA5C
Show 14 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/MKFZQUK7FPWWJQYICDZZ4YWIPUPQ2D3R
nvd.nist.gov/vuln/detail/CVE-2023-4255
github.com/advisories/GHSA-hx3r-ph4g-9px9
packages.fedoraproject.org
github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4255.json
security-tracker.debian.org/tracker/CVE-2023-4255
advisories.mageia.org/MGASA-2024-0105.html
bugs.mageia.org/show_bug.cgi?id=33027
suse.com/support/update/announcement/2024/suse-su-20240014-1
bugzilla.suse.com/1218226
suse.com/security/cve/CVE-2023-4255
ubuntu.com/security/CVE-2023-4255
ubuntu.com/security/notices/USN-6580-1
cve.org/CVERecord?id=CVE-2023-4255