CVE-2023-45290: Memory exhaustion in Go Request.ParseMultipartForm
CVE-2023-45290 is a resource-exhaustion vulnerability in Go's HTTP multipart-form parsing. Aggregate form-size limits do not constrain memory consumed while reading an individual form line, allowing malicious multipart input containing extremely long lines to trigger arbitrarily large memory allocations. The vulnerable parsing is invoked explicitly through Request.ParseMultipartForm or implicitly through Request.FormValue, Request.PostFormValue, and Request.FormFile. Exploitation can exhaust memory and cause denial of service. The corrected implementation limits the maximum size of individual form lines.
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.
Processing crafted multipart input can consume arbitrarily large amounts of memory, potentially exhausting available memory and disrupting the affected application or service.
Mitigation
If you can’t patch tonight, do this now.
No generally applicable mitigation meeting Red Hat's criteria is available.
Remediation
Patch, then assume compromise.
Apply a vendor-supported Go or affected-product update containing the multipart form-line size-limit fix. Available distribution fixes include Go Toolset 1.21.9 through RHSA-2024:3259 for applicable RHEL 8 deployments and golang-1.19.13-9.el9_2 through RHSA-2024:5075 for applicable RHEL 9.2 offerings. Update affected application packages and container images using their product-specific advisories. Red Hat backports fixes, so an older upstream version number alone does not establish that a vendor package remains vulnerable.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2023-45290 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2023-45290 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-45290?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2023-45290.
- Is there a patch for CVE-2023-45290?
- Apply a vendor-supported Go or affected-product update containing the multipart form-line size-limit fix. Available distribution fixes include Go Toolset 1.21.9 through RHSA-2024:3259 for applicable RHEL 8 deployments and golang-1.19.13-9.el9_2 through RHSA-2024:5075 for applicable RHEL 9.2 offerings.
- How severe is CVE-2023-45290?
- CVE-2023-45290 has a CVSS v3.1 score of 6.5 (Medium) and an EPSS score of 1.4% (72nd percentile) as of Oct 16, 2026.
Recent activity
51 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.