Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-7479

In all versions of PHP 7, during the unserialization process, resizing the 'properties' hash table of a serialized object may lead to use-after-free. A remote attacker may exploit this bug to gain arbitrary code execution.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-7479
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:10 UTC · Revision 1

Source evidence

CVE-2016-7479

core-osv · Original source

Published 12 Jan 2017, 00:59 UTC

In all versions of PHP 7, during the unserialization process, resizing the 'properties' hash table of a serialized object may lead to use-after-free. A remote attacker may exploit this bug to gain arbitrary code execution.

osv:CVE-2016-7479
Complete source record
{
  "id": "8b5519a5d6c1b9a0ebf593e30e70f3e9f98b59717691bc5c5074d56b9214daa5",
  "url": "https://osv.dev/vulnerability/CVE-2016-7479",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-7479",
    "summary": "In all versions of PHP 7, during the unserialization process, resizing the 'properties' hash table of a serialized object may lead to use-after-free. A remote attacker may exploit this bug to gain arbitrary code execution.",
    "evidence": "osv:CVE-2016-7479",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2016-7479",
      "aliases": [
        "CVE-2016-7479"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/php/php-src",
              "type": "GIT",
              "events": [
                {
                  "introduced": "60fffd296abce5fc071f3c173c25a2696cf683c6"
                },
                {
                  "last_affected": "0221e9f827632942225586687a33cfd554860d5e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "last_affected": "7.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.1"
                      },
                      {
                        "last_affected": "7.0.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.2"
                      },
                      {
                        "last_affected": "7.0.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.3"
                      },
                      {
                        "last_affected": "7.0.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.4"
                      },
                      {
                        "last_affected": "7.0.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.5"
                      },
                      {
                        "last_affected": "7.0.5"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.6"
                      },
                      {
                        "last_affected": "7.0.6"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.7"
                      },
                      {
                        "last_affected": "7.0.7"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.8"
                      },
                      {
                        "last_affected": "7.0.8"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.9"
                      },
                      {
                        "last_affected": "7.0.9"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.10"
                      },
                      {
                        "last_affected": "7.0.10"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.11"
                      },
                      {
                        "last_affected": "7.0.11"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.12"
                      },
                      {
                        "last_affected": "7.0.12"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.14:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.14"
                      },
                      {
                        "last_affected": "7.0.14"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.1.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.0"
                      },
                      {
                        "last_affected": "7.1.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.0",
            "7.0.1",
            "7.0.10",
            "7.0.11",
            "7.0.12",
            "7.0.14",
            "7.0.2",
            "7.0.3",
            "7.0.4",
            "7.0.5",
            "7.0.6",
            "7.0.7",
            "7.0.8",
            "7.0.9",
            "7.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7479.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:49.618995963Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2018:1296",
        "https://security.netapp.com/advisory/ntap-20180112-0001/",
        "https://bugs.php.net/bug.php?id=73092",
        "https://www.youtube.com/watch?v=LDcaPstAuPk"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-7479",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 437040,
  "published_at": "2017-01-12T00:59:00.14+00:00"
}