Skip to main content
VulnerabilityPublished Updated

CVE-2025-22871: Golang 1.10 · The net/http package improperly accepts a bare LF as a line terminator in chunked data

Affects golang-1.10Source GCVE Database

0
Compare
Authoritative record:CVE-2025-22871· Critical 9.1

Not known to be exploited · CVSS 9.1 Critical.

Data as of 9 Nov 2026, 14:33 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Apr 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSgolang-1.21pkg:deb/ubuntu/golang-1.21?arch=source&distro=nobleOther threatsAffected
  • 1.21.1-1 – 1.21.9-1ubuntu0.1
11 affected builds
Fixed in–
Ubuntu 24.04 LTSgolang-1.22pkg:deb/ubuntu/golang-1.22?arch=source&distro=nobleOther threatsAffected
  • 1.22.0-1 – 1.22~rc1-2
11 affected builds
Fixed in–
Ubuntu 24.04 LTSgolang-1.23pkg:deb/ubuntu/golang-1.23?arch=source&distro=nobleOther threatsAffected
  • =1.23.1-1~24.04
  • =1.23.1-1~24.04.1
Fixed in–
Ubuntu 22.04 LTSgolang-1.17pkg:deb/ubuntu/golang-1.17?arch=source&distro=jammyOther threatsAffected
  • 1.17-1ubuntu2 – 1.17.13-3ubuntu1.3
6 affected builds
Fixed in–
Ubuntu 22.04 LTSgolang-1.18pkg:deb/ubuntu/golang-1.18?arch=source&distro=jammyOther threatsAffected
  • 1.18-1ubuntu1 – 1.18~rc1-1ubuntu1
9 affected builds
Fixed in–
Ubuntu 22.04 LTSgolang-1.20pkg:deb/ubuntu/golang-1.20?arch=source&distro=jammyOther threatsAffected
  • =1.20.3-1ubuntu0.1~22.04
  • =1.20.3-1ubuntu0.1~22.04.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should monitor official Go and Ubuntu security advisories for updates and apply patches once available. Until then, consider deploying additional HTTP request validation or using intermediary proxies that enforce strict HTTP protocol compliance.

Description

A vulnerability in the Go programming language net/http package versions including 1.10 and several Ubuntu package versions improperly accepts a bare line feed (LF) as a line terminator in chunked data chunk-size lines. This flaw can enable HTTP request smuggling when the net/http server is used alongside another server that also incorrectly accepts bare LF in chunk extensions. The vulnerability has a critical CVSS score of 9.1.

References

Community reviews

Loading reviews…