CVE-2023-24534

Excessive memory allocation in net/http and net/textproto

HIGH
7.5
CVSS Score
Published: April 6, 2023 at 03:50 PM UTC
Updated: June 17, 2026 at 05:39 AM UTC
2 products affected across 2 vendorsGoNet/textproto

Using net/textproto by Go standard library?

Get instant alerts when new vulnerabilities affect net/textproto - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.19.81.20.0 ≤ v < 1.20.3
Affected range stops below 1.19.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.20.3, so it looks safe — our inference, not a vendor statement
v < 1.19.81.20.0-0 ≤ v < 1.20.31.20.0-0
Affected range stops below 1.19.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.20.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card