CVE-2018-17848: Out-of-bounds Read

Published Oct 1, 2018
·
Updated

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.

Other sources

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.

Affected Software

4 affected componentsFixes available
go/golang.org/x/net<0.0.0-20190125002852-4b62a64f59f7
0.0.0-20190125002852-4b62a64f59f7
Golang Net<=2018-09-25
Fedoraproject Fedora=28
Fedoraproject Fedora=29

Event History

Oct 1, 2018
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description
May 13, 2022
Advisory Published
via GitHub·01:26 AM

Frequently Asked Questions

1

What is the severity of CVE-2018-17848?

CVE-2018-17848 is considered a high severity vulnerability due to its potential to cause application crashes.

2

How do I fix CVE-2018-17848?

To fix CVE-2018-17848, upgrade to the version 0.0.0-20190125002852-4b62a64f59f7 or later of the html package in Go.

3

Which software is affected by CVE-2018-17848?

CVE-2018-17848 affects the html package (x/net/html) in Go version prior to 0.0.0-20190125002852-4b62a64f59f7.

4

What happens if CVE-2018-17848 is exploited?

Exploitation of CVE-2018-17848 may lead to a panic runtime error, causing a denial of service in applications using the affected html package.

5

Is CVE-2018-17848 applicable to all versions of Go?

CVE-2018-17848 is applicable to specific Go versions up to and including 2018-09-25, and not all versions of Go are impacted.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203