CVE-2025-22871

Request smuggling due to acceptance of invalid chunked data in net/http

State
Published
Severity
9.1 Critical
Published
Apr 8, 2025
Updated
May 12, 2026
Reserved
Jan 8, 2025

Read the record on cve.org

Description

The net/http package improperly accepts a bare LF as a line terminator in chunked data chunk-size lines. This can permit request smuggling if a net/http server is used in conjunction with a server that incorrectly accepts a bare LF as part of a chunk-ext.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
net/http/internalGo standard library
  • before 1.23.8Affected
  • 1.24.0-0 to before 1.24.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.