Multipart form parsing can consume large amounts of CPU and memory when processing form inputs containing very large numbers of parts. This stems from several causes: 1. mime/multipart.Reader.ReadForm limits the total memory a parsed multipart form can consume. ReadForm can undercount the amount of memory consumed, leading it to accept larger inputs than intended. 2. Limiting total memory does not account for increased pressure on the garbage collector from large numbers of small allocations in forms with many parts. 3. ReadForm can allocate a large number of short-lived buffers, further increasing pressure on the garbage collector. The combination of these factors can permit an attacker to cause an program that parses multipart forms to consume large amounts of CPU and memory, potentially resulting in a denial of service. This affects programs that use mime/multipart.Reader.ReadForm, as well as form parsing in the net/http package with the Request methods FormFile, FormValue, ParseMultipartForm, and PostFormValue. With fix, ReadForm now does a better job of estimating the memory consumption of parsed forms, and performs many fewer short-lived allocations. In addition, the fixed mime/multipart.Reader imposes the following limits on the size of parsed forms: 1. Forms parsed with ReadForm may contain no more than 1000 parts. This limit may be adjusted with the environment variable GODEBUG=multipartmaxparts=. 2. Form parts parsed with NextPart and NextRawPart may contain no more than 10,000 header fields. In addition, forms parsed with ReadForm may contain no more than 10,000 header fields across all parts. This limit may be adjusted with the environment variable GODEBUG=multipartmaxheaders=.
CVE-2023-24536
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2023-04-06. NVD baseline CVSS 7.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 70.8%
- KEV
- Not listed
Published
April 6, 2023
Last Modified
February 12, 2025
References (16)
- security@golanghttps://go.dev/cl/482075
- security@golanghttps://go.dev/cl/482076
- security@golanghttps://go.dev/cl/482077
- security@golanghttps://go.dev/issue/59153
- security@golanghttps://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8
- security@golanghttps://pkg.go.dev/vuln/GO-2023-1705
- security@golanghttps://security.gentoo.org/glsa/202311-09
- security@golanghttps://security.netapp.com/advisory/ntap-20230526-0007/
- af854a3a-2127-422b-91ae-364da2661108https://go.dev/cl/482075
- af854a3a-2127-422b-91ae-364da2661108https://go.dev/cl/482076
- af854a3a-2127-422b-91ae-364da2661108https://go.dev/cl/482077
- af854a3a-2127-422b-91ae-364da2661108https://go.dev/issue/59153
- af854a3a-2127-422b-91ae-364da2661108https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8
- af854a3a-2127-422b-91ae-364da2661108https://pkg.go.dev/vuln/GO-2023-1705
- af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202311-09
Vendor Advisories for CVE-2023-24536(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2024:2944Red Hat Product SecurityHigh
Red Hat Security Advisory: AMQ Broker 7.12.0.OPR.1.GA Container Images release and security update
- RHSA-2023:6939Red Hat Product SecurityMedium
Red Hat Security Advisory: container-tools:rhel8 security and bug fix update
- RHSA-2023:6938Red Hat Product SecurityMedium
Red Hat Security Advisory: container-tools:4.0 security and bug fix update
- RHSA-2023:6346Red Hat Product SecurityMedium
Red Hat Security Advisory: toolbox security and bug fix update
- RHSA-2023:6402Red Hat Product SecurityMedium
Red Hat Security Advisory: containernetworking-plugins security and bug fix update
- RHSA-2023:6474Red Hat Product SecurityMedium
Red Hat Security Advisory: podman security, bug fix, and enhancement update
- RHSA-2023:6473Red Hat Product SecurityMedium
Red Hat Security Advisory: buildah security update
- RHSA-2023:6363Red Hat Product SecurityMedium
Red Hat Security Advisory: skopeo security update
- +12 more
Patch Availability(30)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| stdlib | — | 1.20.3 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(12)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2023-245362025-09-04
Excessive resource consumption in net/http, net/textproto and mime/multipart
- Red HatRHSA-2023:3167MODERATE2023-04-04
RHSA-2023:3167 — Moderate
- Red HatRHSA-2023:3318MODERATE2023-04-04
RHSA-2023:3318 — Moderate
- Red HatRHSA-2023:3319MODERATE2023-04-04
RHSA-2023:3319 — Moderate
- Red HatRHSA-2023:3367MODERATE2023-04-04
RHSA-2023:3367 — Moderate
- Red HatRHSA-2023:3445MODERATE2023-04-04
RHSA-2023:3445 — Moderate
- Red HatRHSA-2023:3450MODERATE2023-04-04
RHSA-2023:3450 — Moderate
- Red HatRHSA-2023:3455MODERATE2023-04-04
RHSA-2023:3455 — Moderate
- Red HatRHSA-2023:3536MODERATE2023-04-04
RHSA-2023:3536 — Moderate
- Red HatRHSA-2023:3540MODERATE2023-04-04
RHSA-2023:3540 — Moderate
- Red HatRHSA-2023:3624MODERATE2023-04-04
RHSA-2023:3624 — Moderate
- Red HatRHSA-2023:4335MODERATE2023-04-04
RHSA-2023:4335 — Moderate
Data Freshness Timeline
(refreshed 8× in last 7d / 46× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-02 16:58 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 01:04 UTCOSV refresh
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
Show 63 moreShow fewer
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-14 23:16 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 11:47 UTCOSV refresh
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-25 03:39 UTCEG score recompute
- 2026-05-25 03:39 UTCVendor advisory
- 2026-05-25 03:39 UTCGHSA enrichment
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc · redhat
Same CWE
10 shownCWE-400
Frequently asked(5)
What is CVE-2023-24536?
When was CVE-2023-24536 disclosed?
Is CVE-2023-24536 actively exploited?
What is the CVSS score of CVE-2023-24536?
How do I remediate CVE-2023-24536?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-24536
Is Your Infrastructure Affected by CVE-2023-24536?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.