cve.bz

CVE-2018-6198 Link Following

4.7 mediumEPSS 0.4%Fix available

Medium (4.7). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

4.7 medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-6198 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-6198?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-6198?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-6198 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
tats:w3mthrough 0.5.3
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14w3m0.5.3-36DEBIAN-CVE-2018-6198
Ubuntu14.04:LTSw3m0.5.3-15ubuntu0.2UBUNTU-CVE-2018-6198 USN-3555-1
Ubuntu16.04:LTSw3m0.5.3-26ubuntu0.2UBUNTU-CVE-2018-6198 USN-3555-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP3 and 3 morew3m0.5.3.git20161120-161.3.4SUSE-SU-2019:0776-1
openSUSETumbleweedw3m0.5.3+git20180125-1.14openSUSE-SU-2024:11504-1
Alpinev3.8, v3.9, v3.10 and 11 morew3m0.5.3.20180125-r0ALPINE-CVE-2018-6198
Alpinev3.22, v3.23, v3.24w3m0.5.3_git20241203-r0ALPINE-CVE-2018-6198

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5w3mWill not fix
Red Hat Enterprise Linux 6w3mWill not fix
Red Hat Enterprise Linux 8w3mNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-6198.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON