CVE-2018-17846
HIGH 7.5CVSS 3.1x/net/html Vulnerable to DoS During HTML Parsing
The html package (aka x/net/html) through 2018-09-25 in Go mishandles <table><math><select><mi><select></table>, leading to an infinite loop during an html.Parse call because inSelectIM and inSelectInTableIM do not comply with a specification.
- Published
- 1 Oct 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-835
- Also known as
- GHSA-vfw5-hrgq-h5wfGO-2020-0014
- Sources
- NVDJSONOSV GHSA-vfw5-hrgq-h5wfJSONOSV GO-2020-0014JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | netcpe:2.3:a:golang:net:*:*:*:*:*:*:*:* |
<= 2018-09-25 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* |
= 28 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* |
= 29 | |
| OSV | Go | golang.org/x/net | < 0.0.0-20190125091013-d26f9f9a57f3 | 0.0.0-20190125091013-d26f9f9a57f3 |
References
- https://github.com/golang/go/issues/27842 · Vendor Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK/
- https://nvd.nist.gov/vuln/detail/CVE-2018-17846 · ADVISORY
- https://go-review.googlesource.com/c/137275 · WEB, FIX
- https://go.dev/issue/27842 · WEB, REPORT
- https://go.googlesource.com/net/+/d26f9f9a57f3fab6a695bec0d84433c2c50f8bbf · WEB, FIX
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK · WEB
- https://pkg.go.dev/vuln/GO-2020-0014 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 1 Oct 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Sep 2023)