High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-6196
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:28 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-6196
Complete source record
{
"id": "fd38a8e4b36c195095f0f4675d61d0f1b49c4537813cdd2c8cd6b332af82865f",
"url": "https://osv.dev/vulnerability/CVE-2018-6196",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-6196",
"summary": "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.",
"evidence": "osv:CVE-2018-6196",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-6196",
"aliases": [
"CVE-2018-6196"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/tats/w3m",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "5397d09e585a1938fb64bc9c5cd5daed1959eb90"
},
{
"fixed": "8354763b90490d4105695df52674d0fcef823e92"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:tats:w3m:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.5.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "8354763b90490d4105695df52674d0fcef823e92"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"upstream/0.5.3",
"upstream/0.5.2",
"upstream/0.5.1",
"upstream/0.3",
"upstream/0.1.10+0.1.11pre+kokb23"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6196.json",
"vanir_signatures": [
{
"id": "CVE-2018-6196-0c94ae60",
"digest": {
"length": 837,
"function_hash": "278690477708259092384061663626912926247"
},
"source": "https://github.com/tats/w3m/commit/8354763b90490d4105695df52674d0fcef823e92",
"target": {
"file": "table.c",
"function": "feed_table_block_tag"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2018-6196-2fc2f8b5",
"digest": {
"threshold": 0.9,
"line_hashes": [
"231221962090317999890985321835188342336",
"118916730262232336109454661041128337328",
"166230395138077676149499068463892012324",
"104065997999367729875709519296307791262",
"192457102866877763703738991838686581090",
"293925181627931240598191685329173744191",
"181746325681245394942630939017618190698",
"225439380327822606701522193529102835607"
]
},
"source": "https://github.com/tats/w3m/commit/8354763b90490d4105695df52674d0fcef823e92",
"target": {
"file": "table.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:40:03Z"
}
}
],
"modified": "2026-10-20T13:40:03.401454926Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2020/04/msg00025.html",
"https://usn.ubuntu.com/3555-1/",
"https://usn.ubuntu.com/3555-2/",
"https://github.com/tats/w3m/commit/8354763b90490d4105695df52674d0fcef823e92",
"https://github.com/tats/w3m/issues/88"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "12.04"
},
{
"last_affected": "12.04"
},
{
"introduced": "14.04"
},
{
"last_affected": "14.04"
},
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "17.10"
},
{
"last_affected": "17.10"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-6196",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387938,
"published_at": "2018-01-25T03:29:00.447+00:00"
}