Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-7132

ext/wddx/wddx.c in PHP before 5.6.25 and 7.x before 7.0.10 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) or possibly have unspecified other impact via an invalid wddxPacket XML document that is mishandled in a wddx_deserialize call, as demonstrated by a stray element inside a boolean element, leading to incorrect pop processing.

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

Source evidence

CVE-2016-7132

core-osv · Original source

Published 12 Sept 2016, 01:59 UTC

ext/wddx/wddx.c in PHP before 5.6.25 and 7.x before 7.0.10 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) or possibly have unspecified other impact via an invalid wddxPacket XML document that is mishandled in a wddx_deserialize call, as demonstrated by a stray element inside a boolean element, leading to incorrect pop processing.

osv:CVE-2016-7132
Complete source record
{
  "id": "3bc6753a1f03b8a260e48b05159b1c670455d6dbb90a287ea04ab45cd9fc10f9",
  "url": "https://osv.dev/vulnerability/CVE-2016-7132",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-7132",
    "summary": "ext/wddx/wddx.c in PHP before 5.6.25 and 7.x before 7.0.10 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) or possibly have unspecified other impact via an invalid wddxPacket XML document that is mishandled in a wddx_deserialize call, as demonstrated by a stray element inside a boolean element, leading to incorrect pop processing.",
    "evidence": "osv:CVE-2016-7132",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2016-7132",
      "aliases": [
        "CVE-2016-7132"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/php/php-src",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "38980c9ea4156ce52a53f9f3e1007ea3d787fa11"
                },
                {
                  "introduced": "60fffd296abce5fc071f3c173c25a2696cf683c6"
                },
                {
                  "last_affected": "9d582eba7448f1495fae62b13d95d2844ce6b28a"
                },
                {
                  "fixed": "0c8a2a2cd1056b7dc403eacb5d2c0eec6ce47c6f"
                },
                {
                  "fixed": "a14fdb9746262549bbbb96abb87338bacd147e1b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "5.6.24"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "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"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0c8a2a2cd1056b7dc403eacb5d2c0eec6ce47c6f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a14fdb9746262549bbbb96abb87338bacd147e1b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.0",
            "7.0.1",
            "7.0.2",
            "7.0.3",
            "7.0.4",
            "7.0.5",
            "7.0.6",
            "7.0.7",
            "7.0.8",
            "7.0.9",
            "php-5.6.24",
            "php-5.6.24RC1",
            "php-7.0.9",
            "php-7.0.9RC1",
            "POST_PHP7_NSAPI_REMOVAL",
            "PRE_PHP7_NSAPI_REMOVAL",
            "PRE_PHP7_EREG_MYSQL_REMOVALS",
            "PRE_PHP7_REMOVALS",
            "POST_PHP7_REMOVALS",
            "POST_AST_MERGE",
            "PRE_AST_MERGE",
            "POST_64BIT_BRANCH_MERGE",
            "PRE_64BIT_BRANCH_MERGE",
            "POST_PHPNG_MERGE"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7132.json",
            "vanir_signatures": [
              {
                "id": "CVE-2016-7132-3e5d4572",
                "digest": {
                  "length": 3128,
                  "function_hash": "243472621704310466816026209188486312828"
                },
                "source": "https://github.com/php/php-src/commit/0c8a2a2cd1056b7dc403eacb5d2c0eec6ce47c6f",
                "target": {
                  "file": "ext/wddx/wddx.c",
                  "function": "php_wddx_pop_element"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-7132-6190c5ee",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "227586690061435287287994965536507444467",
                    "171971468238865359835315510260595594604",
                    "294096788541314842492047899537980398585",
                    "39203211752148870350392571347397727161",
                    "114003824792058325898787743924612295354",
                    "324042257599249327893896841955922877651",
                    "266610581013121937022296237480834597881",
                    "117136385783754546423721084500627110644",
                    "44137497100171573864820611955448240089",
                    "153431260466363184658019689457626286979",
                    "158482252310758241378516474298821169290",
                    "173721130950342728693098650034089755027",
                    "84864854111785873586959024477215096849",
                    "188898573441791144762762604513859184083",
                    "138531317981445496527495267023563809995",
                    "263100670372584543987352143707260985591",
                    "68486984776250340094585839969057325575",
                    "148843188674208780203491168371029985762"
                  ]
                },
                "source": "https://github.com/php/php-src/commit/a14fdb9746262549bbbb96abb87338bacd147e1b",
                "target": {
                  "file": "ext/wddx/wddx.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-7132-69699daf",
                "digest": {
                  "length": 555,
                  "function_hash": "27721742760066615624167846450324310011"
                },
                "source": "https://github.com/php/php-src/commit/a14fdb9746262549bbbb96abb87338bacd147e1b",
                "target": {
                  "file": "ext/wddx/wddx.c",
                  "function": "php_wddx_deserialize_ex"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-7132-6ae83bb8",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "20836660269113468284500990585186249828",
                    "222899783497892283321114778092987738633",
                    "294096788541314842492047899537980398585",
                    "39203211752148870350392571347397727161",
                    "114003824792058325898787743924612295354",
                    "324042257599249327893896841955922877651",
                    "266610581013121937022296237480834597881",
                    "98163707120487438389306192675281043703"
                  ]
                },
                "source": "https://github.com/php/php-src/commit/0c8a2a2cd1056b7dc403eacb5d2c0eec6ce47c6f",
                "target": {
                  "file": "ext/wddx/wddx.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-7132-76ddb254",
                "digest": {
                  "length": 3296,
                  "function_hash": "312659420719444014877092094935802353723"
                },
                "source": "https://github.com/php/php-src/commit/a14fdb9746262549bbbb96abb87338bacd147e1b",
                "target": {
                  "file": "ext/wddx/wddx.c",
                  "function": "php_wddx_pop_element"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:23:23Z"
          }
        }
      ],
      "modified": "2026-10-20T13:23:23.902346238Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/201611-22",
        "https://www.tenable.com/security/tns-2016-19",
        "https://bugs.php.net/bug.php?id=72799",
        "https://github.com/php/php-src/commit/0c8a2a2cd1056b7dc403eacb5d2c0eec6ce47c6f",
        "https://github.com/php/php-src/commit/a14fdb9746262549bbbb96abb87338bacd147e1b?w=1"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-7132",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387601,
  "published_at": "2016-09-12T01:59:10.803+00:00"
}