Skip to content
CVE Tracker
Back

CVE-2022-28131

Stack exhaustion from deeply nested XML documents in encoding/xml

High7.5EPSS 2.6%
Published
Updated
Reserved
Assigned by
Go

Description

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.

Scores

CVSS scores of CVE-2022-28131, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified3.1High7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS (exploitation in 30 days)
2.6% · top 15% of all CVEs (2 Nov 2026)

Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.

Weakness

Affected products

  • Go standard library · encoding/xml

    • affected < 1.17.12
    • affected 1.18.0-0 – < 1.18.4

References (5)

Sources

The same CVE in the primary databases and aggregators, to check against.

Record last updated .