Security mailing lists by PureSourceCode

CVE-2018-17848

HIGH 7.5CVSS 3.1

golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer

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.

Published
1 Oct 2018
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-119CWE-129
Also known as
CVE-2018-17847GHSA-4r78-hx75-jjj2GHSA-mv93-wvcp-7m7rGO-2022-0197
Sources
NVDJSONOSV GHSA-4r78-hx75-jjj2JSONOSV GHSA-mv93-wvcp-7m7rJSONOSV GO-2022-0197JSON

Scores

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang net
cpe:2.3:a:golang:net:*:*:*:*:*:*:*:*
<= 2018-09-25
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*
= 28
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
= 29
OSV Go golang.org/x/net < 0.0.0-20190125002852-4b62a64f59f7 0.0.0-20190125002852-4b62a64f59f7

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 1 Oct 2018)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.