---
title: 'USN-6542-1: TinyXML vulnerability | Ubuntu security notices'
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/notices/USN-6542-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-6542-1

---

# USN-6542-1: TinyXML vulnerability

Publication date

7 December 2023

Overview

TinyXML could be made to crash if it opened a specially crafted
file.

Releases

[20.04 LTS](https://ubuntu.com/security/notices?release=focal)
[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)
[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)

---

Open side navigation

## Packages

* [tinyxml](https://ubuntu.com/security/cves?package=tinyxml) - A simple, small, minimal, C++ XML parser

## Details

Wang Zhong discovered that TinyXML incorrectly handled certain inputs. If a
user or an automated system were tricked into opening a specially crafted
input file, a remote attacker could possibly use this issue to cause a
denial of service.

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 20.04 LTS focal | [libtinyxml-dev](https://launchpad.net/ubuntu/+source/tinyxml) –  [2.6.2-4+deb10u1build0.20.04.1](https://launchpad.net/ubuntu/+source/tinyxml/2.6.2-4+deb10u1build0.20.04.1) | | |
| [libtinyxml2.6.2v5](https://launchpad.net/ubuntu/+source/tinyxml) –  [2.6.2-4+deb10u1build0.20.04.1](https://launchpad.net/ubuntu/+source/tinyxml/2.6.2-4+deb10u1build0.20.04.1) | | |
| 18.04 LTS bionic | [libtinyxml-dev](https://launchpad.net/ubuntu/+source/tinyxml) –  2.6.2-4ubuntu0.18.04.1~esm1   Ubuntu Pro | | |
| [libtinyxml2.6.2v5](https://launchpad.net/ubuntu/+source/tinyxml) –  2.6.2-4ubuntu0.18.04.1~esm1   Ubuntu Pro | | |
| 16.04 LTS xenial | [libtinyxml-dev](https://launchpad.net/ubuntu/+source/tinyxml) –  2.6.2-3ubuntu0.1~esm1   Ubuntu Pro | | |
| [libtinyxml2.6.2v5](https://launchpad.net/ubuntu/+source/tinyxml) –  2.6.2-3ubuntu0.1~esm1   Ubuntu Pro | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2021-42260](https://ubuntu.com/security/CVE-2021-42260)
