7.8

CVE-2016-5399: php Out-of-bounds Write

Modified
AliasesUBUNTU-CVE-2016-5399
Published 21-04-2017Last modified 06-08-2024

Vulnerability summary

CVE-2016-5399 is a high (CVSS 7.8) Out-of-bounds Write vulnerability in php. EPSS estimates a 9.84% chance of exploitation in the next 30 days, higher than 95.5% of scored vulnerabilities. 5 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (exploit-database, 25-07-2016)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
9.84%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits5reference, exploit-database

Advisory lineage

Upstream 0 · Downstream 11 · Related 7

Timeline

  1. 21-04-2017
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 2 sources · 3 versions

EPSS trend

Probability

9.84%

Chance of exploitation in the next 30 days

Percentile

96%

Versus all other CVEs

30-day change

No change 0.00 pp

From 9.84% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

5 found
  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (seclists.org)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (openwall.com)

    Maturity: unknown

Show all 5 exploits
  • referenceUnverified

    Exploit Reference (bugs.php.net)

    Maturity: unknown

  • exploit-databasedosphpVerified

    PHP 5.5.37/5.6.23/7.0.8 - 'bzread()' Out-of-Bounds Write

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu2 products
  • php5< 5.5.9+dfsg-1ubuntu4.19
  • php7.0< 7.0.8-0ubuntu0.16.04.2
Php1 product
  • php≤ 5.5.37 | ≥ 5.6.0, < 5.6.24 | ≥ 7.0.0, < 7.0.9

2 vendors · 3 products

References

19 links
Show all 19 references