CVE-2018-6196

Source
https://cve.org/CVERecord?id=CVE-2018-6196
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6196.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-6196
Downstream
Related
Published
2018-01-25T03:29:00.447Z
Modified
2026-07-08T20:30:31.194448Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

w3m through 0.5.3 is prone to an infinite recursion flaw in HTMLlineproc0 because the feedtableblock_tag function in table.c does not prevent a negative indent value.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "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"
                }
            ],
            "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:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING",
            "vendor_product": "canonical:ubuntu_linux"
        }
    ]
}
References

Affected packages

Git / github.com/tats/w3m

Affected ranges

Type
GIT
Repo
https://github.com/tats/w3m
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
Show details
{
    "cpe": "cpe:2.3:a:tats:w3m:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.5.3"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

upstream/0.*
upstream/0.1.10+0.1.11pre+kokb23
upstream/0.3
upstream/0.5.1
upstream/0.5.2
upstream/0.5.3
v0.*
v0.5.3+debian-19
v0.5.3+git20150203
v0.5.3+git20150509
v0.5.3+git20150623
v0.5.3+git20150720
v0.5.3+git20150811
v0.5.3+git20151010
v0.5.3+git20151119
v0.5.3+git20160228
v0.5.3+git20160511
v0.5.3+git20160718
v0.5.3+git20161009
v0.5.3+git20161031
v0.5.3+git20161120
v0.5.3+git20170102

Database specific

vanir_signatures_modified
"2026-07-08T20:30:31Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6196.json"
vanir_signatures
[
    {
        "signature_type": "Function",
        "target": {
            "file": "table.c",
            "function": "feed_table_block_tag"
        },
        "deprecated": false,
        "digest": {
            "length": 837.0,
            "function_hash": "278690477708259092384061663626912926247"
        },
        "signature_version": "v1",
        "source": "https://github.com/tats/w3m/commit/8354763b90490d4105695df52674d0fcef823e92",
        "id": "CVE-2018-6196-0c94ae60"
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "table.c"
        },
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "231221962090317999890985321835188342336",
                "118916730262232336109454661041128337328",
                "166230395138077676149499068463892012324",
                "104065997999367729875709519296307791262",
                "192457102866877763703738991838686581090",
                "293925181627931240598191685329173744191",
                "181746325681245394942630939017618190698",
                "225439380327822606701522193529102835607"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/tats/w3m/commit/8354763b90490d4105695df52674d0fcef823e92",
        "id": "CVE-2018-6196-2fc2f8b5"
    }
]