Integer Overflow or Wraparound Affecting libxmltok package, versions <1.2-4.2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
3.89% (88th 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 IDSNYK-DEBIAN13-LIBXMLTOK-9689767
  • published13 Apr 2025
  • disclosed6 Jan 2022

Introduced: 6 Jan 2022

CVE-2021-46143  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Debian:13 libxmltok to version 1.2-4.2 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 Debian. See How to fix? for Debian:13 relevant fixed versions and status.

In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.

CVSS Base Scores

version 3.1