Skip to content
OpenAdvisories
Critical USN-7199-1 12 CVEs

libxmltok vulnerabilities

Published Jan 13, 2025 · Updated Apr 27, 2026

Summary

It was discovered that Expat, contained within the xmltok library,
incorrectly handled malformed XML data. If a user or application were
tricked into opening a crafted XML file, an attacker could cause a denial
of service, or possibly execute arbitrary code. (CVE-2015-1283,
CVE-2016-0718, CVE-2016-4472, CVE-2019-15903)

It was discovered that Expat, contained within the xmltok library,
incorrectly handled XML data containing a large number of colons, which
could lead to excessive resource consumption. If a user or application
were tricked into opening a crafted XML file, an attacker could possibly
use this issue to cause a denial of service. (CVE-2018-20843)

It was discovered that Expat, contained within the xmltok library,
incorrectly handled certain input, which could lead to an integer
overflow. If a user or application were tricked into opening a crafted XML
file, an attacker could possibly use this issue to cause a denial of
service. (CVE-2021-46143, CVE-2022-22822, CVE-2022-22823, CVE-2022-22824,
CVE-2022-22825, CVE-2022-22826, CVE-2022-22827)

Fixed packages 4

ReleasePackageFixed in
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS libxmltok 1.2-4ubuntu0.18.04.1~esm4
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS libxmltok 1.2-4ubuntu0.20.04.1~esm4
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS libxmltok 1.2-4ubuntu0.22.04.1~esm4
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS libxmltok 1.2-4.1ubuntu2.24.0.4.1+esm2

Vulnerabilities 12

References

  • report
    https://ubuntu.com/security/CVE-2015-1283
  • report
    https://ubuntu.com/security/CVE-2016-0718
  • report
    https://ubuntu.com/security/CVE-2016-4472
  • report
    https://ubuntu.com/security/CVE-2018-20843
  • report
    https://ubuntu.com/security/CVE-2019-15903
  • report
    https://ubuntu.com/security/CVE-2021-46143
  • report
    https://ubuntu.com/security/CVE-2022-22822
  • report
    https://ubuntu.com/security/CVE-2022-22823
  • report
    https://ubuntu.com/security/CVE-2022-22824
  • report
    https://ubuntu.com/security/CVE-2022-22825
  • report
    https://ubuntu.com/security/CVE-2022-22826
  • report
    https://ubuntu.com/security/CVE-2022-22827