w3m through 0.5.3 is prone to a NULL pointer dereference flaw in formUpdateBuffer in form.c.
{
"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:*:*:*:*:*:*:*"
],
"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"
}
],
"source": "CPE_STRING",
"vendor_product": "canonical:ubuntu_linux"
}
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "0.5.3"
}
],
"cpe": "cpe:2.3:a:tats:w3m:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
]
}"2026-07-08T16:41:03Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6197.json"
[
{
"signature_type": "Line",
"target": {
"file": "form.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"234083330726384299542122429291717521713",
"180102379785573203008743059088392771803",
"215493450600643236728018898545971092305",
"51040730011497186161360051698764107823"
],
"threshold": 0.9
},
"id": "CVE-2018-6197-436a941a",
"source": "https://github.com/tats/w3m/commit/7fdc83b0364005a0b5ed869230dd81752ba022e8",
"signature_version": "v1"
},
{
"signature_type": "Function",
"target": {
"file": "form.c",
"function": "formUpdateBuffer"
},
"deprecated": false,
"digest": {
"length": 2652.0,
"function_hash": "337574361585344692693781186140243649189"
},
"id": "CVE-2018-6197-a2d2436b",
"source": "https://github.com/tats/w3m/commit/7fdc83b0364005a0b5ed869230dd81752ba022e8",
"signature_version": "v1"
}
]