# encoding/xml (Go) vulnerabilities

3 known vulnerabilities (2 high), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://pkg.go.dev/encoding/xml

## Advisories (3)

### [CVE-2026-56859](https://cve.now/CVE-2026-56859): Add recursion depth guard during decode in encoding/xml

- Severity: High 7.5
- Published: Aug 13, 2026
- Affected: fixed in 1.25.13; from 1.26.0-0, fixed in 1.26.6; from 1.27.0-0, fixed in 1.27.0-rc.3.

### [CVE-2022-30633](https://cve.now/CVE-2022-30633): Stack exhaustion when unmarshaling certain documents in encoding/xml

- Severity: High 7.5
- Published: Aug 9, 2022
- Affected: fixed in 1.17.12; from 1.18.0-0, fixed in 1.18.4.

### [CVE-2022-28131](https://cve.now/CVE-2022-28131): Stack exhaustion from deeply nested XML documents in encoding/xml

- Severity: Unrated
- Published: Aug 9, 2022
- Affected: fixed in 1.17.12; from 1.18.0-0, fixed in 1.18.4.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/go/encoding/xml
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
