CriticalFix available
Request smuggling due to acceptance of invalid chunked data in net/http
Type: advisorySources: OSV
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.
- Products
- golang
- Affected versions
- Not specified
- Fixed versions
- 1.23.8, 1.24.2
- CVEs
- CVE-2025-22871
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 19:52 UTC · Revision 1
Source evidence
Request smuggling due to acceptance of invalid chunked data in net/http
core-osv · Original sourcePublished 10 Apr 2025, 07:19 UTC
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.
osv:BIT-golang-2025-22871
golang
Fixed versions: 1.23.8, 1.24.2
Complete source record
{
"id": "7cc67633196b33015e5f8c4dc46da2e61edd4d5c18c6dd6679cdbc7404e5553a",
"url": "https://osv.dev/vulnerability/BIT-golang-2025-22871",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Request smuggling due to acceptance of invalid chunked data in net/http",
"summary": "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.",
"evidence": "osv:BIT-golang-2025-22871",
"products": [
{
"name": {
"value": "golang",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.23.8",
"evidence": "/affected/0/ranges"
},
{
"value": "1.24.2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "BIT-golang-2025-22871",
"aliases": [
"BIT-golang-2025-22871",
"CVE-2025-22871",
"GHSA-g9pc-8g42-g6vq",
"GO-2025-3563"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.23.8"
},
{
"introduced": "1.24.0-0"
},
{
"fixed": "1.24.2"
}
]
}
],
"package": {
"name": "golang",
"purl": "pkg:bitnami/golang",
"ecosystem": "Bitnami"
},
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"database_specific": {
"source": "https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2025-22871.json"
}
}
],
"modified": "2026-10-16T09:45:17.066798018Z",
"provider": "osv",
"references": [
"https://go.dev/cl/652998",
"https://go.dev/issue/71988",
"https://groups.google.com/g/golang-announce/c/Y2uBTVKjBQk",
"https://nvd.nist.gov/vuln/detail/CVE-2025-22871",
"https://pkg.go.dev/vuln/GO-2025-3563"
],
"provider_metadata": {
"cpes": [
"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"
],
"severity": "Critical"
}
},
"related_cves": [
{
"value": "CVE-2025-22871",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 338360,
"published_at": "2025-04-10T07:19:26.353+00:00"
}