# CVE-2018-17143: golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.77%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2018-09-17T14:00:00.000Z
- Modified: 2026-06-17T01:45:25.313Z
- Also known as: GHSA-fcf9-6fv2-fc5v, GO-2022-0193
- Weaknesses: CWE-119
- Assigned by: mitre

## Description

The html package (aka x/net/html) through 2018-09-17 in Go mishandles <template><tBody><isindex/action=0>, leading to a "panic: runtime error" in inBodyIM in parse.go during an html.Parse call.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- golang.org/x/net (Go): before 0.0.0-20180921000356-2f5d2388922f
- golang net: up to 2018-09-17
- fedoraproject fedora: 28; 29

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/golang/go/issues/27704> (exploit, third-party-advisory, web)
- <https://go-review.googlesource.com/c/net/+/136575> (fix, patch, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-17143> (advisory)
- <https://github.com/golang/go> (package)
- <https://go.dev/issue/27704> (report, web)
- <https://go.googlesource.com/net/+/2f5d2388922f370f4355f327fcf4cfe9f5583908> (fix, web)
- <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-2022-0193> (web)

## Sources

- CVE List: [CVE-2018-17143](https://www.cve.org/CVERecord?id=CVE-2018-17143), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-fcf9-6fv2-fc5v](https://github.com/advisories/GHSA-fcf9-6fv2-fc5v), CC-BY-4.0, modified 2024-05-20
- Go Vulnerability Database: [GO-2022-0193](https://pkg.go.dev/vuln/GO-2022-0193), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2018-17143](https://nvd.nist.gov/vuln/detail/CVE-2018-17143), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-17143 · Whole record: https://cve.day/CVE-2018-17143.json · Rebuilt by cve.day 2026-11-25T22:57:39.650Z
