Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-expat
  4. ›
  5. CVE-2016-5300

CVE-2016-5300: Uncontrolled Resource Consumption

June 16, 2016 (updated January 23, 2019)

The XML parser in Expat does not use sufficient entropy for hash initialization, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted identifiers in an XML document.

References

  • www.securityfocus.com/bid/91159
  • nvd.nist.gov/vuln/detail/CVE-2016-5300

Code Behaviors & Features

Detect and mitigate CVE-2016-5300 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.2.0

Fixed versions

  • 2.2.0

Solution

Upgrade to version 2.2.0 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-399

Source file

npm/node-expat/CVE-2016-5300.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:27 +0000.