CVE-2024-45338: Algorithmic denial of service in Go x/net HTML parsing
CVE-2024-45338 is a denial-of-service vulnerability in the Go x/net HTML parser. Specially crafted case-insensitive content causes the Parse functions to process input non-linearly relative to its length, resulting in extremely slow parsing and excessive resource consumption. Applications that pass attacker-controlled HTML to the affected parsing functions can become unresponsive.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can exhaust processing resources, severely delay HTML parsing, and disrupt application availability. Network-reachable applications may be attacked without authentication or user interaction when they expose the vulnerable parsing functionality to untrusted input. No confidentiality or integrity impact is identified.
Mitigation
If you can’t patch tonight, do this now.
Where patching cannot be immediately completed, prevent untrusted or unauthenticated users from submitting HTML to affected parsing paths, enforce strict request and document-size limits before parsing, and apply CPU, execution-time, and concurrency limits to parsing workloads to constrain resource exhaustion.
Remediation
Patch, then assume compromise.
Update golang.org/x/net to version 0.33.0 or later, then rebuild and redeploy applications that embed the affected dependency. For vendor-maintained packages and container images, apply the relevant security updates, which may contain backported fixes without adopting the upstream version number. Ubuntu 22.04 LTS users should update golang-golang-x-net-dev to 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2024-45338 exploited in the wild?
- As of Nov 20, 2026, Mallory has no reports of CVE-2024-45338 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-45338?
- As of Nov 20, 2026, Mallory has found no public exploit for CVE-2024-45338.
- Is there a patch for CVE-2024-45338?
- Update golang.org/x/net to version 0.33.0 or later, then rebuild and redeploy applications that embed the affected dependency. For vendor-maintained packages and container images, apply the relevant security updates, which may contain backported fixes without adopting the upstream version number.
- How severe is CVE-2024-45338?
- CVE-2024-45338 has a CVSS v3.1 score of 5.3 (Medium) and an EPSS score of 1.5% (74th percentile) as of Nov 20, 2026.
Recent activity
89 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.