{"id":"UBUNTU-CVE-2018-6198","details":"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.","modified":"2026-01-30T01:15:49.212105Z","published":"2018-01-24T00:00:00Z","related":["USN-3555-1","USN-3555-2"],"upstream":["CVE-2018-6198"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-6198"},{"type":"REPORT","url":"https://github.com/tats/w3m/commit/18dcbadf2771cdb0c18509b14e4e73505b242753"},{"type":"REPORT","url":"https://bugs.debian.org/888097"},{"type":"REPORT","url":"https://salsa.debian.org/debian/w3m/commit/18dcbadf2771cdb0c18509b14e4e73505b242753"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3555-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3555-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-6198"}],"affected":[{"package":{"name":"w3m","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/w3m@0.5.3-15ubuntu0.2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-15ubuntu0.2"}]}],"versions":["0.5.3-11","0.5.3-12","0.5.3-13","0.5.3-15","0.5.3-15ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.5.3-15ubuntu0.2","binary_name":"w3m"},{"binary_version":"0.5.3-15ubuntu0.2","binary_name":"w3m-img"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-6198.json"}},{"package":{"name":"w3m","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/w3m@0.5.3-26ubuntu0.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-26ubuntu0.2"}]}],"versions":["0.5.3-24","0.5.3-25","0.5.3-26","0.5.3-26build1","0.5.3-26ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.5.3-26ubuntu0.2","binary_name":"w3m"},{"binary_version":"0.5.3-26ubuntu0.2","binary_name":"w3m-img"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-6198.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"low"}]}