CVE-2016-5300
Reported by mitre · Published June 16, 2016
node-expat is fixed in 2.2.0 (npm)
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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0876.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| node-expat | npm | 2.2.0 |
| expat | Alpine | 2.2.0-r0 |
| libexpat | libexpat_project | 2.2.0 |
| expat | Ubuntu:16.04:LTS | 2.1.0-7ubuntu0.16.04.2 |
| expat | Ubuntu:14.04:LTS | 2.1.0-4ubuntu1.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | expat | 0 |
| npm | node-expat | 0 |
| n/a | n/a | * |
Timeline
- Jun 6, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Jan 20, 2026 CVE Updated
- Mar 5, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 5, 2026 Security Advisory (8 in total, the first dated here)
- Oct 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-5300
vulnetix vdb fixes CVE-2016-5300
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-5300/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- [oss-security] 20160604 Re: expat hash collision fix too predictable? mailing-listx_refsource_MLIST
- DSA-3597 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- 91159 vdb-entryx_refsource_BID
- GLSA-201701-21 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- USN-3010-1 vendor-advisoryx_refsource_UBUNTU
- [oss-security] 20160604 Re: expat hash collision fix too predictable? mailing-listx_refsource_MLIST
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-listx_refsource_MLIST
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2016-5300 advisory