XML External Entity (XXE) Injection Affecting libxmltok package, versions <1.2-4.1ubuntu3


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.05% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about XML External Entity (XXE) Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2504-LIBXMLTOK-9792580
  • published23 Apr 2025
  • disclosed30 Aug 2024

Introduced: 30 Aug 2024

CVE-2024-45490  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.04 libxmltok to version 1.2-4.1ubuntu3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxmltok package and not the libxmltok package as distributed by Ubuntu. See How to fix? for Ubuntu:25.04 relevant fixed versions and status.

An issue was discovered in libexpat before 2.6.3. xmlparse.c does not reject a negative length for XML_ParseBuffer.

CVSS Base Scores

version 3.1