NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
HIGH severity

CVE-2018-17142 — x/net

HIGH

CVE-2018-17142 is a high-severity (CVSS 7.5) NULL Pointer Dereference vulnerability in golang.org/x/net. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for golang.org/x/net — see the affected versions and patch details below.

golang.org/x/net/html NULL Pointer Dereference vulnerability

Also known asGO-2022-0192
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
1 known
Exploitation data as of Nov 2, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
2.4%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs84th percentile — riskier than 84% of all scored CVEsHighest risk
0.00%1.16%2.31%3.46%0.7%2.4%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐹golang.org/x/net

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

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

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogolang.org/x/netall versions0.0.0-20180925071336-cf3bd585ca2ago get golang.org/x/net@v0.0.0-20180925071336-cf3bd585ca2a

Affected Products

2 products · 3 configurations
OS
fedorafedoraproject
2 versions
2829
Application
netgolang
≤ 2018-09-17
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for golang.org/x/net, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update golang.org/x/net to 0.0.0-20180925071336-cf3bd585ca2a or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-17142 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

The html package (aka x/net/html) through 2018-09-17 in Go mishandles <math><template><mo><template>, leading to a "panic: runtime error" in parseCurrentToken in parse.go during an html.Parse call
O3 Security · Impact-Aware SCA

Is CVE-2018-17142 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2018-17142: x/net — Fix Available