VDB
CVE-2016-5399
CVE-2016-5399
PUBLISHED
Reported by redhat · Published April 21, 2017
The bzread function in ext/bz2/bz2.c in PHP before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 allows remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted bz2 archive.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php | php | 7.0.9, 5.6.24, 5.5.37 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Jul 22, 2016 CVE Published
- Jul 25, 2016 PoC Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 5, 2026 Security Advisory (5 in total, the first dated here)
- Oct 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-5399
vulnetix vdb fixes CVE-2016-5399
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-5399/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 92051 vdb-entryx_refsource_BID
- x_refsource_MISC
- 20160725 CVE-2016-5399: php: out-of-bounds write in bzread() mailing-listx_refsource_FULLDISC
- x_refsource_CONFIRM
- [oss-security] 20160721 CVE-2016-5399: php: out-of-bounds write in bzread() mailing-listx_refsource_MLIST
- 20160721 CVE-2016-5399: php: out-of-bounds write in bzread() mailing-listx_refsource_BUGTRAQ
- x_refsource_CONFIRM
- RHSA-2016:2750 vendor-advisoryx_refsource_REDHAT
- RHSA-2016:2598 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 1036430 vdb-entryx_refsource_SECTRACK
- DSA-3631 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- 40155 exploitx_refsource_EXPLOIT-DB