# CVE-2023-24534: Excessive memory allocation in net/http and net/textproto

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.89%, higher than 80% of CVEs (2026-12-01)
- Published: 2023-04-05T21:04:28.000Z
- Modified: 2026-09-08T08:47:48.431Z
- Also known as: GO-2023-1704, BIT-GOLANG-2023-24534
- Related: CGA-w6x4-26hf-4qw6
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Go

## Description

HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service. Certain unusual patterns of input data can cause the common function used to parse HTTP and MIME headers to allocate substantially more memory than required to hold the parsed headers. An attacker can exploit this behavior to cause an HTTP server to allocate large amounts of memory from a small request, potentially leading to memory exhaustion and a denial of service. With fix, header parsing now correctly allocates only the memory required to hold parsed headers.

(As written by CVE List.)

## Affected

- net/textproto: before 1.19.8; from 1.20.0-0 before 1.20.3
- stdlib (Go): before 1.19.8; from 1.20.0-0 before 1.20.3
- golang go: before 1.19.8; from 1.20.0 before 1.20.3
- golang (Bitnami): before 1.19.8; from 1.20.0 before 1.20.3

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://go.dev/issue/58975> (advisory, issue-tracking, report, vendor-advisory)
- <https://go.dev/cl/481994> (advisory, fix, patch, vendor-advisory)
- <https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8> (fix, mailing-list, patch, web)
- <https://pkg.go.dev/vuln/GO-2023-1704> (advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20230526-0007/> (web)
- <https://security.gentoo.org/glsa/202311-09> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-24534> (web)

## Sources

- CVE List: [CVE-2023-24534](https://www.cve.org/CVERecord?id=CVE-2023-24534), CVE Terms of Use, modified 2025-02-13
- Go Vulnerability Database: [GO-2023-1704](https://pkg.go.dev/vuln/GO-2023-1704), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-24534](https://nvd.nist.gov/vuln/detail/CVE-2023-24534), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2023-24534](https://osv.dev/vulnerability/BIT-GOLANG-2023-24534), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-24534 · Whole record: https://cve.day/CVE-2023-24534.json · Rebuilt by cve.day 2026-11-25T22:58:23.286Z
