Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2025-22871
PHP vulnerability analysis and mitigation

Overview

CVE-2025-22871 is a security vulnerability discovered in Go's net/http package. The vulnerability was disclosed on April 1, 2025, affecting Go versions before 1.23.8 and before 1.24.2. The issue involves the net/http package improperly accepting a bare LF (Line Feed) as a line terminator in chunked data chunk-size lines (Go Announce, NVD).

Technical details

The vulnerability exists in the net/http package's handling of chunked transfer encoding. Specifically, the package incorrectly accepts data containing an invalid chunk-size line terminated by a bare LF. This implementation flaw could lead to request smuggling when the net/http server is used in conjunction with a server that incorrectly interprets a bare LF in a chunk extension as part of the extension (OSS Security, Go Issue).

Impact

The vulnerability can enable request smuggling attacks when the affected Go net/http server is used in combination with other servers that incorrectly handle bare LF characters in chunk extensions. This could potentially lead to unauthorized access or manipulation of HTTP requests (Go Vuln).

Exploitability

The vulnerability requires specific conditions to be exploited, particularly the presence of a server or proxy that incorrectly interprets a bare LF in a chunk extension. Credit for discovering this vulnerability goes to Jeppe Bonde Weikop (Go Announce).

Mitigation and workarounds

The issue has been fixed in Go versions 1.23.8 and 1.24.2. The fix involves modifying the net/http package to reject chunk-size lines containing a bare LF. Users are advised to upgrade to these patched versions to mitigate the vulnerability (Go Announce).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

golang-1.19

Affected

trixie

golang-1.24: 1.24.2-1

Fixed

Ubuntu

Affected

bionic (esm-apps)

golang-1.8

Affected

bionic (esm-infra)

golang-1.10

Affected

devel

golang-1.23

Not Affected

focal (esm-apps)

golang-1.16

Affected

focal (esm-infra)

golang-1.13

Affected

jammy

golang-1.23

Affected

jammy (esm-apps)

golang-1.23

Affected

noble

golang-1.23

Affected

RHEL / CentOS

Fixed

OpenShift

el8:cri-o-0:1.25.5-31.rhaos4.12.git53dc492.el8.src

Fixed

RHEL 8

:appstream:git-lfs-0:3.4.1-5.el8_10.src

Fixed

RHEL 9

:appstream:buildah-1:1.26.9-1.el9_0.1.src

Fixed

RHEL 10

buildah-2:1.39.4-2.el10_0.src

Fixed

Alpine

Fixed

edge

go: 1.24.2-r0

Fixed

v3.21

go: 1.23.8-r0

Fixed

v3.22

go: 1.24.2-r0

Fixed

v3.23

go: 1.24.2-r0

Fixed

SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-71537MEDIUM6.5
  • PHP logoPHP
  • paymenter/paymenter
NoYesSep 18, 2026
CVE-2026-77616MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026
CVE-2026-77610MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026
CVE-2026-77609MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026
CVE-2026-77608MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management