---
title: "CVE-2022-28131\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-28131?format=md
keywords: index, follow
---

# CVE-2022-28131

Publication date 10 August 2022

Last updated 29 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2022-28131?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| golang-1.16 | 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Fixed 1.16.2-0ubuntu1~20.04.1 |
| 18.04 LTS bionic | Fixed 1.16.2-0ubuntu1~18.04.2+esm1  Ubuntu Pro |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| golang-1.13 | 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Fixed 1.13.8-1ubuntu2.22.04.2 |
| 20.04 LTS focal | Fixed 1.13.8-1ubuntu1.2 |
| 18.04 LTS bionic | Fixed 1.13.8-1ubuntu1~18.04.4+esm1  Ubuntu Pro |
| 16.04 LTS xenial | Fixed 1.13.8-1ubuntu1~16.04.3+esm3  Ubuntu Pro |
| 14.04 LTS trusty | Not in release |
| golang-1.18 | 23.04 lunar | Not in release |
| 22.10 kinetic | Not in release |
| 22.04 LTS jammy | Fixed 1.18.1-1ubuntu1.1 |
| 20.04 LTS focal | Fixed 1.18.1-1ubuntu1~20.04.2 |
| 18.04 LTS bionic | Fixed 1.18.1-1ubuntu1~18.04.4 |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28131)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-28131)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-28131)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-28131)

### Related Ubuntu Security Notices (USN)

+ [USN-6038-1](https://usn.ubuntu.com/USN-6038-1)
+ Go vulnerabilities
+ 25 April 2023

+ [USN-6038-2](https://usn.ubuntu.com/USN-6038-2)
+ Go vulnerabilities
+ 9 January 2024

### Other references

* <https://github.com/golang/go/commit/90f040ec510dd678b7860d70ca77e5682f4c7e96>
* <https://www.cve.org/CVERecord?id=CVE-2022-28131>
