CVE-2018-6197 json
w3m through 0.5.3 is prone to a NULL pointer dereference flaw in formUpdateBuffer in form.c.
published 8y ago modified 4mo ago also EUVD-2018-17958
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.4%
- EPSS 4.4% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
w3m through 0.5.3 is prone to a NULL pointer dereference flaw in formUpdateBuffer in form.c.
Patch / fix
- w3m Debian 14, Debian 13, Debian 12 0.5.3-36
debian advisories DEBIAN-CVE-2018-6197
- w3m Ubuntu 14.04 LTS 0.5.3-15ubuntu0.2
- w3m Ubuntu 16.04 LTS 0.5.3-26ubuntu0.2
ubuntu advisories UBUNTU-CVE-2018-6197
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- w3m SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES 12 SP4 +3 more 0.5.3.git20161120-161.3.4
suse advisories SUSE-SU-2019:0776-1
- w3m openSUSE Tumbleweed 0.5.3+git20180125-1.14
opensuse advisories openSUSE-SU-2024:11504-1
- w3m Alpine 3.21, Alpine 3.20, Alpine 3.19 +11 more 0.5.3.20180125-r0
- w3m Alpine 3.24, Alpine 3.23, Alpine 3.22 0.5.3_git20241203-r0
alpine advisories ALPINE-CVE-2018-6197
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/tats/w3m@7fdc83b commit
- github.com/tats/w3m/issues/89 advisory
Is CVE-2018-6197 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-6197 updated cvss 3.3
w3m: Null pointer dereference in formUpdateBuffer in form.c
-
Red Hat Enterprise Linux 5 w3m Red Hat Enterprise Linux 6 w3m, w3m-imgaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 8 w3m, w3m-imgnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.39% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/tats/w3m/issues/89 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/tats/w3m/commit/7fdc83b0364005a0b5ed869230dd81752ba022e8
patch, third-party-advisory
-
github.com
/tats/w3m/issues/89
exploit, patch, third-party-advisory
-
usn.ubuntu.com
/3555-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3555-1/
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-04/msg00028.html
vendor-advisory
-
securityfocus.com
/bid/102846
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/04/msg00025.html
mailing-list
Sources
- CVE List CVE-2018-6197
- NVD CVE-2018-6197
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.