Skip to content
Fencer Intel
high 7.5

CVE-2015-1351 json

Use-after-free vulnerability in the _zend_shared_memdup function in zend_shared_alloc.c in the OPcache extension in PHP through 5.6.7 allow…

published 11y ago modified 4mo ago also EUVD-2015-1490

cvss
7.5
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
8.3%
EPSS 8.3% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

Summary

Use-after-free vulnerability in the _zend_shared_memdup function in zend_shared_alloc.c in the OPcache extension in PHP through 5.6.7 allows remote attackers to cause a denial of service or possibly have unspecified other impact via unknown vectors.

Patch / fix

  • php php 5.5.24, 5.6.8
  • php5 Ubuntu 14.04 LTS 5.5.9+dfsg-1ubuntu4.6

ubuntu advisories UBUNTU-CVE-2015-1351

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • php54 RHEL 2 SOFTWARE_COLLECTIONS 2.0-1.el6
  • php54 RHEL 2 SOFTWARE_COLLECTIONS 2.0-1.el7
  • php54-php RHEL 2 SOFTWARE_COLLECTIONS 5.4.40-1.el6
  • php54-php RHEL 2 SOFTWARE_COLLECTIONS 5.4.40-1.el7
  • php54-php-gd RHEL 2 SOFTWARE_COLLECTIONS 5.4.40-1.el6
  • php54-php-gd RHEL 2 SOFTWARE_COLLECTIONS 5.4.40-1.el7
  • php54-php-cli RHEL 2 SOFTWARE_COLLECTIONS 5.4.40-1.el6
  • php54-php-cli RHEL 2 SOFTWARE_COLLECTIONS 5.4.40-1.el7

red hat advisories RHSA-2015:1066RHSA-2015:1053

  • php5 SLE Software Development Kit 12 SP4, SLE Software Development Kit 12 SP3, SLE Module for Web and Scripting 12 5.5.14-109.63.2

suse advisories SUSE-SU-2019:1746-1

  • php7 openSUSE Tumbleweed 7.0.14-1.4
  • php5 openSUSE Tumbleweed 5.6.28-1.1
  • php8 openSUSE Tumbleweed 8.0.11-1.1

opensuse advisories openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1openSUSE-SU-2024:11169-1

Is CVE-2015-1351 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-1351 updated cvss 2.6

php: use after free in opcache extension

  • Red Hat Software Collections php55-php, php55-php-gd, php55-php-cli, php55-php-dba, php55-php-fpm, php55-php-gmp, +21 more
    affected: no fix available
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) php54 2.0-1.el6, php55 2.0-1.el6, php54-php 5.4.40-1.el6, php55-php 5.5.21-2.el6, php54-runtime 2.0-1.el6, php55-runtime 2.0-1.el6, +51 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) php54 2.0-1.el7, php55 2.0-1.el7, php54-php 5.4.40-1.el7, php55-php 5.5.21-2.el7, php54-runtime 2.0-1.el7, php55-runtime 2.0-1.el7, +47 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) php54 2.0-1.el6, php55 2.0-1.el6, php54-php 5.4.40-1.el6, php55-php 5.5.21-2.el6, php54-runtime 2.0-1.el6, php55-runtime 2.0-1.el6, +51 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) php54 2.0-1.el6, php55 2.0-1.el6, php54-php 5.4.40-1.el6, php55-php 5.5.21-2.el6, php54-runtime 2.0-1.el6, php55-runtime 2.0-1.el6, +51 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) php54 2.0-1.el6, php55 2.0-1.el6, php54-php 5.4.40-1.el6, php55-php 5.5.21-2.el6, php54-runtime 2.0-1.el6, php55-runtime 2.0-1.el6, +51 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) php54 2.0-1.el7, php55 2.0-1.el7, php54-php 5.4.40-1.el7, php55-php 5.5.21-2.el7, php54-runtime 2.0-1.el7, php55-runtime 2.0-1.el7, +47 more
    fixed: vendor fix RHSA-2015:1066
  • Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more Red Hat Software Collections php54-php, php54-php-gd, rh-php56-php, php54-php-cli, php54-php-dba, php54-php-fpm, +46 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

8.31% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • bugs.php.net https://bugs.php.net/bug.php?id=68677 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.