Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-7418

The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote attackers to cause a denial of service (invalid pointer access and out-of-bounds read) or possibly have unspecified other impact via an incorrect boolean element in a wddxPacket XML document, leading to mishandling in a wddx_deserialize call.

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

Source evidence

CVE-2016-7418

core-osv · Original source

Published 17 Sept 2016, 21:59 UTC

The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote attackers to cause a denial of service (invalid pointer access and out-of-bounds read) or possibly have unspecified other impact via an incorrect boolean element in a wddxPacket XML document, leading to mishandling in a wddx_deserialize call.

osv:CVE-2016-7418
Complete source record
{
  "id": "e063a047c24332d2f520e8548f80e07f1771f42729b3a6af1f520417e7c8d3ea",
  "url": "https://osv.dev/vulnerability/CVE-2016-7418",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-7418",
    "summary": "The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote attackers to cause a denial of service (invalid pointer access and out-of-bounds read) or possibly have unspecified other impact via an incorrect boolean element in a wddxPacket XML document, leading to mishandling in a wddx_deserialize call.",
    "evidence": "osv:CVE-2016-7418",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2016-7418",
      "aliases": [
        "CVE-2016-7418"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/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": "e37064dae4a80c70405899bb591969bbe6aad9a8"
                },
                {
                  "introduced": "60fffd296abce5fc071f3c173c25a2696cf683c6"
                },
                {
                  "last_affected": "da12ca9c1ed03084e6803f5e81e46f2e0a80460a"
                },
                {
                  "fixed": "c4cca4c20e75359c9a13a1f9a36cb7b4e9601d29"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "5.6.25"
                      }
                    ],
                    "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"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.10"
                      },
                      {
                        "last_affected": "7.0.10"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c4cca4c20e75359c9a13a1f9a36cb7b4e9601d29"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.0",
            "7.0.1",
            "7.0.10",
            "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.25",
            "php-7.0.10",
            "php-5.6.25RC1",
            "php-7.0.10RC1",
            "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-7418.json",
            "vanir_signatures": [
              {
                "id": "CVE-2016-7418-760e79e7",
                "digest": {
                  "length": 4854,
                  "function_hash": "301755387465239169747237975694531964431"
                },
                "source": "https://github.com/php/php-src/commit/c4cca4c20e75359c9a13a1f9a36cb7b4e9601d29",
                "target": {
                  "file": "ext/wddx/wddx.c",
                  "function": "php_wddx_push_element"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-7418-9c7c3b2c",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "308694738579821330575113088819953920852",
                    "84685106283968628504680174502681186750",
                    "211346454573652685734979468850567577816",
                    "18489613605778186720515946013870429298",
                    "249598479934599620074032434067904094637",
                    "15983837247249289812712296581946220790",
                    "324664599945258097417736163646327943350",
                    "136356109348485930596258890158835077254",
                    "27052967596267270576444515664299000484",
                    "204386543369611475760358364132751115204",
                    "210067127343357516321561959327529389397",
                    "336428203481456014216272231594019601213",
                    "218660437309276509347849730681931299111",
                    "47587827024300610377702192824979977266",
                    "108112416631527217460140097544647415290",
                    "174749150332282443750440209917291064153",
                    "58039656399573981131841824752074006686",
                    "193234765473047900801339128086207549659",
                    "332613737563562772784506183104791857778",
                    "282220600908517069566001490611677413494",
                    "144261495474165999922135191429869395205",
                    "119831470993581856570386852775908731078",
                    "4293155750088484306679532266909695460",
                    "171322702806979196618087965127779297756",
                    "91635138978443424222239518240134551202",
                    "291825211060746831943962194003986966104",
                    "174062326053673189029702070890453612045",
                    "284827188498645453215671116196214305846",
                    "23465117317755467644845650613445216244",
                    "222850536836707307193417947187898618565",
                    "217815023334364138222218364120377904306",
                    "255372112077290822634886472988781142970",
                    "55128966905359705429461440335881369597",
                    "216781671013480326658757297888782661620",
                    "99412707763629256313032685967627343200",
                    "42672048477788047917688512924494305538"
                  ]
                },
                "source": "https://github.com/php/php-src/commit/c4cca4c20e75359c9a13a1f9a36cb7b4e9601d29",
                "target": {
                  "file": "ext/wddx/wddx.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:17:30Z"
          }
        }
      ],
      "modified": "2026-10-20T13:17:30.473349054Z",
      "provider": "osv",
      "references": [
        "https://www.tenable.com/security/tns-2016-19",
        "https://access.redhat.com/errata/RHSA-2018:1296",
        "https://security.gentoo.org/glsa/201611-22",
        "https://bugs.php.net/bug.php?id=73065",
        "https://github.com/php/php-src/commit/c4cca4c20e75359c9a13a1f9a36cb7b4e9601d29?w=1"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-7418",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387460,
  "published_at": "2016-09-17T21:59:10.59+00:00"
}