CVE-2025-22871

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.

Affected Software

VendorProductVersion RangeStatus
Go standard librarynet/http/internal0 < 1.23.8affected
Go standard librarynet/http/internal1.24.0-0 < 1.24.2affected

Weaknesses

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')

ADP Enrichment

CVE Program Container

Additional References

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: total

Additional References

References