{"id":"CVE-2018-6196","aliases":["ALPINE-CVE-2018-6196","DEBIAN-CVE-2018-6196","DLA-2195-1","EUVD-2018-17957","GHSA-rhw8-jfw3-7w97","MGASA-2018-0312","SUSE-SU-2019:0776-1","UBUNTU-CVE-2018-6196","USN-3555-1","openSUSE-SU-2024:11504-1"],"status":"published","title":"w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the...","description":"w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feed_table_block_tag function in table.c does not prevent a negative indent value.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02937,"percentile":0.87192,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-835"],"published":"2018-01-24T00:00:00Z","modified":"2026-10-23T18:03:07Z","fixes":[{"ecosystem":"Alpine:v3.23","package":"w3m","fixed_in":["0.5.3_git20241203-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"w3m","fixed_in":["0.5.3-36"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"w3m","fixed_in":["0.5.3-36"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"w3m","fixed_in":["0.5.3-36"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"w3m","fixed_in":["0.5.3-15ubuntu0.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"w3m","fixed_in":["0.5.3-26ubuntu0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.23","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3_git20241203-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-36"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-36"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-36"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-19+deb8u3"}]}],"versions":["0.5.3-19","0.5.3-19+deb8u1","0.5.3-19+deb8u2"],"bundled":2},{"source":"osv","ecosystem":"Mageia:5","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-13.git20180520.0.mga5"}]}],"bundled":3},{"source":"osv","ecosystem":"Mageia:6","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-13.git20180520.0.mga6"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3.git20161120-161.3.4"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP4","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3.git20161120-161.3.4"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3.git20161120-161.3.4"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3.git20161120-161.3.4"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP4","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3.git20161120-161.3.4"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3.git20161120-161.3.4"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"w3m","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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"w3m","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"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"w3m","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"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"w3m","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"],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"w3m","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3+git20180125-1.14"}]}],"bundled":4}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"tats","product":"w3m"}],"references":[{"url":"https://github.com/tats/w3m/commit/8354763b90490d4105695df52674d0fcef823e92","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://usn.ubuntu.com/3555-2/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/tats/w3m/issues/88","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","fix","report"]},{"url":"https://usn.ubuntu.com/3555-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00028.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/04/msg00025.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6196"},{"url":"https://github.com/advisories/GHSA-rhw8-jfw3-7w97"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-6196","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-6196","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0312.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22504","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20190776-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1077559","tags":["report"]},{"url":"https://bugzilla.suse.com/1077568","tags":["report"]},{"url":"https://bugzilla.suse.com/1077572","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6196","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6197","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6198","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-6196","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3555-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3555-2","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6196","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-6197","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-6198","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2006-6772","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-6196","description":"w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feed_table_block_tag function in table.c does not prevent a negative indent value.","status":"published","published":"2018-01-25T03:00:00Z","modified":"2024-08-05T05:54:53.17Z","updated_at":"2026-11-02T14:35:05.619113Z"}],"euvd":[{"id":"EUVD-2018-17957","description":"w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feed_table_block_tag function in table.c does not prevent a negative indent value.","status":"published","published":"2018-01-25T03:00:00Z","modified":"2024-08-05T05:54:53Z","updated_at":"2026-11-03T02:40:08.595407Z"}],"ghsa":[{"id":"GHSA-rhw8-jfw3-7w97","title":"w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the...","description":"w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feed_table_block_tag function in table.c does not prevent a negative indent value.","status":"published","published":"2022-05-13T01:53:03Z","modified":"2023-02-02T05:02:22Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:51:25.546182Z"}],"nvd":[{"id":"CVE-2018-6196","description":"w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feed_table_block_tag function in table.c does not prevent a negative indent value.","status":"published","published":"2018-01-25T03:29:00.447Z","modified":"2026-06-17T02:01:29.7Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:04:22.897995Z"}],"osv":[{"id":"ALPINE-CVE-2018-6196","description":"w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feed_table_block_tag function in table.c does not prevent a negative indent value.","status":"published","published":"2018-01-25T03:29:00.447Z","modified":"2026-10-23T17:24:47.967050159Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:47.663013Z"},{"id":"CVE-2018-6196","description":"w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feed_table_block_tag function in table.c does not prevent a negative indent value.","status":"published","published":"2018-01-25T03:29:00.447Z","modified":"2026-10-20T13:40:03.401454926Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"DEBIAN-CVE-2018-6196","description":"w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feed_table_block_tag function in table.c does not prevent a negative indent value.","status":"published","published":"2018-01-25T03:29:00.447Z","modified":"2026-10-23T18:03:07.84049981Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-6196","description":"w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feed_table_block_tag function in table.c does not prevent a negative indent value.","status":"published","published":"2018-01-24T00:00:00Z","modified":"2026-02-04T03:49:22.798446Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"DLA-2195-1","title":"w3m - security update","status":"published","published":"2020-04-30T00:00:00Z","modified":"2026-03-09T01:18:44.931902Z","updated_at":"2026-11-02T15:46:10.227108Z"},{"id":"MGASA-2018-0312","title":"Updated w3m packages fix security vulnerability","description":"It was discovered that w3m incorrectly handled certain inputs. An attacker\ncould possibly use this to cause a denial of service (CVE-2018-6196,\nCVE-2018-6197).\n\nIt was discovered that w3m incorrectly handled temporary files. An attacker\ncould possibly use this to overwrite arbitrary files (CVE-2018-6198).\n","status":"published","published":"2018-07-11T21:47:08Z","modified":"2026-04-16T06:26:10.289232819Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"openSUSE-SU-2024:11504-1","title":"w3m-0.5.3+git20180125-1.14 on GA media","description":"These are all security issues fixed in the w3m-0.5.3+git20180125-1.14 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:26:58.138458Z","updated_at":"2026-11-02T16:58:35.195147Z"},{"id":"SUSE-SU-2019:0776-1","title":"Security update for w3m","description":"This update for w3m fixes several issues.\n\nThese security issues were fixed:\n\n- CVE-2018-6196: Prevent infinite recursion in HTMLlineproc0 caused by the feed_table_block_tag function which did not prevent a negative indent value (bsc#1077559)\n- CVE-2018-6197: Prevent NULL pointer dereference in formUpdateBuffer (bsc#1077568)\n- CVE-2018-6198: w3m did not properly handle temporary files when the ~/.w3m directory is unwritable, which allowed a local attacker to craft a symlink attack to overwrite arbitrary files (bsc#1077572)\n","status":"published","published":"2019-03-27T10:39:30Z","modified":"2026-02-04T03:06:44.765405Z","updated_at":"2026-11-02T15:53:45.926331Z"},{"id":"USN-3555-1","title":"w3m vulnerabilities","description":"It was discovered that w3m incorrectly handled certain inputs.\nAn attacker could possibly use this to cause a denial of service.\n(CVE-2018-6196, CVE-2018-6197)\n\nIt was discovered that w3m incorrectly handled temporary files.\nAn attacker could possibly use this to overwrite arbitrary files.\n(CVE-2018-6198)\n","status":"published","published":"2018-02-01T13:25:30Z","modified":"2026-02-10T04:41:16Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
