KeygraphLabs · CVE MCP

CVE-2022-28131 · Go

Stack exhaustion from deeply nested XML documents in encoding/xml

Uncontrolled recursion in Decoder.Skip in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a deeply nested XML document.

Published 2022-08-10, last changed 2026-06-17. Weakness: CWE-674.

CVSS
7.5
high, from NVD
EPSS
2.54%
percentile 85.5%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: stdlib 1.17.12, 1.18.4 (Go) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2022-07-20Package advisory GO-2022-0521
2022-08-10Published
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.59%

Affected packages

AdvisoryPackageFixed in
GO-2022-0521stdlib (Go)1.17.12, 1.18.4

Also known as: GO-2022-0521

Credited: Go Security Team (other), Juho Nurminen of Mattermost (other)

Related

CVEPublishedCVSSSummary
CVE-2026-970542026-11-115.9HTTP/1 server crash due to MaxBytesReader header race in net/http
CVE-2026-1119432026-10-216.8Distrust compromised intermediate certificates in crypto/x509
CVE-2026-970322026-10-087.5HTTP/2 server crash due to HPACK encoder race in net/http
CVE-2026-970312026-10-087.5Reject malformed ECH outer extension references in crypto/tls
CVE-2026-970302026-10-086.1Recognize yield as regexp preceder keyword in html/template
CVE-2026-944482026-10-086.1Reset context tracking on consecutive template expressions in html/template
CVE-2026-944402026-10-087.5Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart
CVE-2026-944392026-10-087.5HTTP/1 server connection desynchronization after 2xx CONNECT response in net/http

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2022-28131, or call /api/v1/vulnerabilities/CVE-2022-28131. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org