Home / Go standard library / net/http / CVE-2022-41717
CVE-2022-41717: is it exploited, and which versions of Go standard library net/http are affected and fixed?
CVE-2022-41717 is a denial of service (resources allocated without limits) vulnerability in Go standard library net/http. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: golang.org/x/net/http2 before 0.4.0 and golang.org/x/net before 0.4.0 (GitHub advisory GHSA-xrjj-mj9h-534m). Fixed in 0.4.0 (GitHub advisory GHSA-xrjj-mj9h-534m). Severity: Medium (5.3, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2022-41717?
Excessive memory growth in net/http and golang.org/x/net/http2
An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests. HTTP/2 server connections contain a cache of HTTP header keys sent by the client. While the total number of entries in this cache is capped, an attacker sending very large keys can cause the server to allocate approximately 64 MiB per open connection.
From the CVE record by Go, last updated February 13, 2025, 16:33 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Go standard library | net/http | before 1.18.9 from 1.19.0-0 before 1.19.4 | 1.18.9, 1.19.4 |
| golang.org/x/net | golang.org/x/net/http2 | before 0.4.0 | 0.4.0 |
As the CVE record by Go states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | golang.org/x/net/http2 | < 0.4.0 | 0.4.0 | GHSA-xrjj-mj9h-534m |
| Go | golang.org/x/net | < 0.4.0 | 0.4.0 | GHSA-xrjj-mj9h-534m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 20, 2024. Summary: golang.org/x/net/http2 vulnerable to possible excessive memory growth.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| golang | go | before 1.18.9 | application |
| golang | go | from 1.19.0 before 1.19.4 | application |
| golang | http2 | before 0.4.0 | application |
| fedoraproject | fedora | 37 | operating system |
| fedoraproject | fedora | 38 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 05:03 UTC.
How severe is CVE-2022-41717?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-41717 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 6.20% probability of exploitation activity in the next 30 days, percentile 93.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- https://go.dev/issue/56350
- https://go.dev/cl/455717
- https://go.dev/cl/455635
- https://groups.google.com/g/golang-announce/c/L_3rmdT0BMU/m/yZDrXjIiBQAJ
- https://pkg.go.dev/vuln/GO-2022-1144
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QBKBAZBIOXZV5QCFHZNSVXULR32XJCYD/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NQGNAXK3YBPMUP3J4TECIRDHFGW37522/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PUM4DIVOLJCBK5ZDP4LJOL24GXT3YSIR/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4SBIUECMLNC572P23DDOKJNKPJVX26SP/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PW3XC47AUW5J5M2ULJX7WCCL3B2ETLMT/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/Q52IQI754YAE4XPR4QBRWPIVZWYGZ4FS/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/56B2FFESRYYP6IY2AZ3UWXLWKZ5IYZN4/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ANIOPUXWIHVRA6CEWXCGOMX3YYS6KFHG/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WPEIZ7AMEJCZXU3FEJZMVRNHQZXX5P3I/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4BUK2ZIAGCULOOYDNH25JPU6JBES5NF2/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/T7N5GV4CHH6WAGX3GFMDD3COEOVCZ4RI/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/REMHVVIBDNKSRKNOTV7EQSB7CYQWOUOU/
- https://security.gentoo.org/glsa/202311-09
- https://lists.fedoraproject.org/archives/list/[email protected]/message/CSVIS6MTMFVBA7JPMRAUNKUOYEVSJYSB/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZSVEMQV5ROY5YW5QE3I57HT3ITWG5GCV/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/CHHITS4PUOZAKFIUBQAQZC7JWXMOYE4B/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KEOTKBUPZXHE3F352JBYNTSNRXYLWD6P/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/5RSKA2II6QTD4YUKUNDVJQSRYSFC4VFR/
- https://security.netapp.com/advisory/ntap-20230120-0008/
Who found and reported it?
- Josselin Costanzi (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 28, 2022
- Published
- December 8, 2022, 19:03 UTC
- CVE record updated
- February 13, 2025, 16:33 UTC by Go
- NVD
- Modified, last modified June 17, 2026, 05:03 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect net/http?
- Nov 11, 2026CVE-2026-97054 Go standard library net/http: missing Synchronization
- Oct 8, 2026CVE-2026-97032 Go standard library net/http: race condition
- Oct 8, 2026CVE-2026-94439 Go standard library net/http: HTTP request smuggling
- Oct 8, 2026CVE-2026-78669 Go standard library net/http: asymmetric Resource Consumption (Amplification)
- Oct 8, 2026CVE-2026-78667 Go standard library net/http: denial of service (resources allocated without limits)
- Oct 8, 2026CVE-2026-78663 Go standard library net/http: multiple Operations on Resource in Single-Operation Context
- Oct 8, 2026CVE-2026-78660 Go standard library net/http: HTTP request smuggling
- Oct 8, 2026CVE-2026-78659 Go standard library net/http: asymmetric Resource Consumption (Amplification)
Questions about CVE-2022-41717
Is CVE-2022-41717 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 6.20% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Go standard library net/http are affected by CVE-2022-41717?
golang.org/x/net/http2 before 0.4.0 and golang.org/x/net before 0.4.0, per the GitHub advisory GHSA-xrjj-mj9h-534m. The tables above give every range the sources list.
Which version fixes CVE-2022-41717?
0.4.0, per the GitHub advisory GHSA-xrjj-mj9h-534m. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-41717?
Medium (5.3, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-41717?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.