Skip to main content
No exploitation reportedFix available

CVE-2018-17848

No exploitation reported by the sources we read.

  • Published2018-10-01
  • Fixed in0.0.0-20190125002852-4b62a64f59f7
  • WeaknessCWE-129

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

The html package (aka x/net/html) through 2018-09-25 in Go mishandles <math><template><mn><b></template>, leading to a "panic: runtime error" (index out of range) in (*insertionModeStack).pop in node.go, called from inHeadIM, during an html.Parse call.

Timeline

dates in UTC
  1. 2018-10-0108:29CVE publishedNVD

Versions per branch

OSV · NVD
golang.org/x/net
BranchAffectedFixed in
0.0< 0.0.0-20190125002852-4b62a64f59f70.0.0-20190125002852-4b62a64f59f7
Fedoraproject fedora
BranchAffectedFixed in
28.x= 28no fix published
29.x= 29no fix published
Golang net
BranchAffectedFixed in
2018.x≤ 2018-09-25no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • heyWolfiall versions · fixed in 0.1.4-r3
  • heyChainguardall versions · fixed in 0.1.4-r3

Vendor advisories

  • CVE-2018-17848 Red Hat Product Security3 known affected

    golang-org-x-net-html: index out of range in (*insertionModeStack).pop in node.go causes runtime panic during html.Parse() call

    golang-googlecode-net-devel as a component of Red Hat OpenStack Platform 9 (Mitaka) Operational Tools · grafana as a component of Red Hat Storage 3 · grafana.src as a component of Red Hat Storage 3

Full record on NVD

Fix

  1. Update golang.org/x/net to 0.0.0-20190125002852-4b62a64f59f7
  2. No fix planned, says the vendor Red Hat Product Security CVE-2018-17848 · 3 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2018-10-01
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2018-17848?

The html package (aka x/net/html) through 2018-09-25 in Go mishandles <math><template><mn><b></template>, leading to a "panic: runtime error" (index out of range) in (*insertionModeStack).pop in node.go, called from inHeadIM, during an html.Parse call.

Is CVE-2018-17848 actively exploited?

Active exploitation of CVE-2018-17848 has not been confirmed. Its EPSS score was 2.2% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-17848?

CVE-2018-17848 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running golang.org/x/net? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record