Home / Tats / W3m / CVE-2018-6198
CVE-2018-6198: is it exploited, and which versions of Tats W3m are affected and fixed?
CVE-2018-6198 is a link following (a symlink lets an attacker reach other files) vulnerability in Tats W3m. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: w3m through 0.5.3, ubuntu linux 12.04, ubuntu linux 14.04 and 2 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.7, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:35 UTC.
What is CVE-2018-6198?
w3m through 0.5.3 does not properly handle temporary files when the ~/.w3m directory is unwritable, which allows a local attacker to craft a symlink attack to overwrite arbitrary files.
From the CVE record by mitre, last updated August 5, 2024, 05:54 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| tats | w3m | through 0.5.3 | application |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 17.10 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:01 UTC.
How severe is CVE-2018-6198?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.7 | CVSS 3.0 | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD |
| Low 3.3 | CVSS 2.0 | AV:L/AC:M/Au:N/C:N/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-6198 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.40% probability of exploitation activity in the next 30 days, percentile 35.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-59 Improper Link Resolution Before File Access
Where are the vendor advisories and references?
- https://bugs.debian.org/888097 x_refsource_CONFIRM
- USN-3555-2 vendor-advisory, x_refsource_UBUNTU
- USN-3555-1 vendor-advisory, x_refsource_UBUNTU
- https://github.com/tats/w3m/commit/18dcbadf2771cdb0c18509b14e4e73505b242753 x_refsource_CONFIRM
- https://salsa.debian.org/debian/w3m/commit/18dcbadf2771cdb0c18509b14e4e73505b242753 x_refsource_CONFIRM
- 102855 vdb-entry, x_refsource_BID
- openSUSE-SU-2019:1142 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- January 24, 2018
- Published
- January 25, 2018, 03:00 UTC
- CVE record updated
- August 5, 2024, 05:54 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:01 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:35 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect W3m?
- Aug 15, 2022CVE-2022-38223 Tats W3m: out-of-bounds write (memory corruption)
- Jan 25, 2018CVE-2018-6197 Tats W3m: NULL pointer dereference (crash)
- Jan 25, 2018CVE-2018-6196 Tats W3m: infinite loop (denial of service)
- Jan 20, 2017CVE-2016-9436 Opensuse Leap: improper input validation
- Jan 20, 2017CVE-2016-9435 Opensuse Leap: improper input validation
- Dec 12, 2016CVE-2016-9633 Tats W3m: n/a
- Dec 12, 2016CVE-2016-9632 Tats W3m: memory corruption (buffer overflow)
- Dec 12, 2016CVE-2016-9631 Tats W3m: NULL pointer dereference (crash)
Questions about CVE-2018-6198
Is CVE-2018-6198 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Tats W3m are affected by CVE-2018-6198?
w3m through 0.5.3, ubuntu linux 12.04, ubuntu linux 14.04, ubuntu linux 16.04 and ubuntu linux 17.10, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2018-6198?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2018-6198?
Medium (4.7, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-6198?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.