
CVE catalog
CVE-2018-6198
w3m: CVE-2018-6198
- Severity
- Medium · CVSS 4.3
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | w3m | sid | 0.5.3+git20230121-2.3 | fixed |
| Debian | w3m | forky | 0.5.3+git20230121-2.3 | fixed |
| Debian | w3m | trixie | 0.5.3+git20230121-2.1 | fixed |
| Debian | w3m | bookworm | 0.5.3+git20230121-2 | fixed |
| Ubuntu | w3m | 14.04 | 0.5.3-11 | vulnerable |
| Ubuntu | w3m | 14.04 | 0.5.3-12 | vulnerable |
| Ubuntu | w3m | 14.04 | 0.5.3-13 | vulnerable |
| Ubuntu | w3m | 14.04 | 0.5.3-15 | vulnerable |
| Ubuntu | w3m | 14.04 | 0.5.3-15ubuntu0.1 | vulnerable |
| Ubuntu | w3m | 14.04 | 0.5.3-15ubuntu0.2 | fixed |
| Ubuntu | w3m | 16.04 | 0.5.3-24 | vulnerable |
| Ubuntu | w3m | 16.04 | 0.5.3-25 | vulnerable |
| Ubuntu | w3m | 16.04 | 0.5.3-26 | vulnerable |
| Ubuntu | w3m | 16.04 | 0.5.3-26build1 | vulnerable |
| Ubuntu | w3m | 16.04 | 0.5.3-26ubuntu0.1 | vulnerable |
| Ubuntu | w3m | 16.04 | 0.5.3-26ubuntu0.2 | fixed |
| Alpine | w3m | 3.23 | 0.5.3_git20241203-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | w3m | source | sid | 0.5.3-36 | unimportant | Not reported | [888097] |
| Debian | w3m | source | forky | 0.5.3-36 | unimportant | Not reported | [888097] |
| Debian | w3m | source | trixie | 0.5.3-36 | unimportant | Not reported | [888097] |
| Debian | w3m | source | bookworm | 0.5.3-36 | unimportant | Not reported | [888097] |
| Ubuntu | w3m | deb | 14.04 | 0.5.3-15ubuntu0.2 | Not reported | UBUNTU-CVE-2018-6198 | Not reported |
| Ubuntu | w3m | deb | 16.04 | 0.5.3-26ubuntu0.2 | Not reported | UBUNTU-CVE-2018-6198 | Not reported |
| Alpine | w3m | apk | 3.23 | 0.5.3_git20241203-r0 | Not reported | ALPINE-CVE-2018-6198 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [w3m]Unknown
Details (2)
0.5.3+git20230121-2· amd64 · bookwormFixed · Fixed:
0.5.3-36dsa · w3m · debian · bookworm; dsa · w3m · debian · 12
0.5.3+git20230121-2· arm64 · bookwormFixed · Fixed:
0.5.3-36dsa · w3m · debian · bookworm; dsa · w3m · debian · 12
- [w3m-img]Unknown
Source package: [w3m]
Details (2)
0.5.3+git20230121-2· amd64 · bookwormFixed · Fixed:
0.5.3-36dsa · w3m · debian · bookworm; dsa · w3m · debian · 12
0.5.3+git20230121-2· arm64 · bookwormFixed · Fixed:
0.5.3-36dsa · w3m · debian · bookworm; dsa · w3m · debian · 12
[Debian 13 (Trixie)]
- [w3m]Unknown
Details (2)
0.5.3+git20230121-2.1· amd64 · trixieFixed · Fixed:
0.5.3-36dsa · w3m · debian · 13
0.5.3+git20230121-2.1· arm64 · trixieFixed · Fixed:
0.5.3-36dsa · w3m · debian · 13
- [w3m-img]Unknown
Source package: [w3m]
Details (2)
0.5.3+git20230121-2.1· amd64 · trixieFixed · Fixed:
0.5.3-36dsa · w3m · debian · 13
0.5.3+git20230121-2.1· arm64 · trixieFixed · Fixed:
0.5.3-36dsa · w3m · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2019_0776-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2018-6198]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-6198]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-6198]
- [https://security-tracker.debian.org/tracker/CVE-2018-6198]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-6198.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]