Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-7480

The SplObjectStorage unserialize implementation in ext/spl/spl_observer.c in PHP before 7.0.12 does not verify that a key is an object, which allows remote attackers to execute arbitrary code or cause a denial of service (uninitialized memory access) via crafted serialized data.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-7480
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:10 UTC · Revision 1

Source evidence

CVE-2016-7480

core-osv · Original source

Published 11 Jan 2017, 07:59 UTC

The SplObjectStorage unserialize implementation in ext/spl/spl_observer.c in PHP before 7.0.12 does not verify that a key is an object, which allows remote attackers to execute arbitrary code or cause a denial of service (uninitialized memory access) via crafted serialized data.

osv:CVE-2016-7480
Complete source record
{
  "id": "33afa00f2a462455aa24fd8a265ebf1bc49d6a4960afd4c412c2a68f71fc6e16",
  "url": "https://osv.dev/vulnerability/CVE-2016-7480",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-7480",
    "summary": "The SplObjectStorage unserialize implementation in ext/spl/spl_observer.c in PHP before 7.0.12 does not verify that a key is an object, which allows remote attackers to execute arbitrary code or cause a denial of service (uninitialized memory access) via crafted serialized data.",
    "evidence": "osv:CVE-2016-7480",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2016-7480",
      "aliases": [
        "CVE-2016-7480"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/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"
                },
                {
                  "fixed": "e2874f7bf990ed58ba6f7abccefa2c00a0447fc7"
                },
                {
                  "fixed": "61cdd1255d5b9c8453be71aacbbf682796ac77d4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "7.0.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "61cdd1255d5b9c8453be71aacbbf682796ac77d4"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7480.json",
            "vanir_signatures": [
              {
                "id": "CVE-2016-7480-40b4ffdc",
                "digest": {
                  "length": 2208,
                  "function_hash": "120263227596398378617375601141451063602"
                },
                "source": "https://github.com/php/php-src/commit/61cdd1255d5b9c8453be71aacbbf682796ac77d4",
                "target": {
                  "file": "ext/spl/spl_observer.c",
                  "function": "SPL_METHOD"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-7480-8f33d31a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "311234878759843067834920731248114505772",
                    "50912414707171288631538515995604057141",
                    "162017028089509586153324425077756765976",
                    "242884483502019213952707469980360057644",
                    "336387103315920007587990593317693867963",
                    "21580564470928238072623097181749639560",
                    "283797390797428005224407026009247451270",
                    "219637822043791896869783149654081588089",
                    "178852092846835038102390099040886447181",
                    "136146387223299992562308475632779719063",
                    "288364703481122890929991226047229929241",
                    "126765909629768321856645271021163435983",
                    "105038064802166019778237222904298848318",
                    "257724883922067736173061222643725001998",
                    "38772639687927117305721988887639643782",
                    "167676080273695483373820046130328174003",
                    "21336750416930265615946273101896440205",
                    "242713924649718161698991874615444863252"
                  ]
                },
                "source": "https://github.com/php/php-src/commit/61cdd1255d5b9c8453be71aacbbf682796ac77d4",
                "target": {
                  "file": "ext/spl/spl_observer.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:14:41Z"
          }
        }
      ],
      "modified": "2026-10-20T13:14:41.692543606Z",
      "provider": "osv",
      "references": [
        "https://security.netapp.com/advisory/ntap-20180112-0001/",
        "https://www.youtube.com/watch?v=LDcaPstAuPk",
        "https://bugs.php.net/bug.php?id=73257",
        "https://github.com/php/php-src/commit/61cdd1255d5b9c8453be71aacbbf682796ac77d4"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-7480",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387378,
  "published_at": "2017-01-11T07:59:00.143+00:00"
}