CVE-2016-7418

Source
https://cve.org/CVERecord?id=CVE-2016-7418
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7418.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-7418
Downstream
Related
Published
2016-09-17T21:59:10.590Z
Modified
2026-07-08T12:44:02.583592Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The phpwddxpushelement 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 wddxdeserialize call.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
Last affected
Fixed
Database specific
{
    "cpe": [
        "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.25"
        },
        {
            "introduced": "7.0.0"
        },
        {
            "last_affected": "7.0.0"
        },
        {
            "introduced": "7.0.1"
        },
        {
            "last_affected": "7.0.1"
        },
        {
            "introduced": "7.0.2"
        },
        {
            "last_affected": "7.0.2"
        },
        {
            "introduced": "7.0.3"
        },
        {
            "last_affected": "7.0.3"
        },
        {
            "introduced": "7.0.4"
        },
        {
            "last_affected": "7.0.4"
        },
        {
            "introduced": "7.0.5"
        },
        {
            "last_affected": "7.0.5"
        },
        {
            "introduced": "7.0.6"
        },
        {
            "last_affected": "7.0.6"
        },
        {
            "introduced": "7.0.7"
        },
        {
            "last_affected": "7.0.7"
        },
        {
            "introduced": "7.0.8"
        },
        {
            "last_affected": "7.0.8"
        },
        {
            "introduced": "7.0.9"
        },
        {
            "last_affected": "7.0.9"
        },
        {
            "introduced": "7.0.10"
        },
        {
            "last_affected": "7.0.10"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

7.*
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
Other
POST_64BIT_BRANCH_MERGE
POST_AST_MERGE
POST_PHP7_NSAPI_REMOVAL
POST_PHP7_REMOVALS
POST_PHPNG_MERGE
PRE_64BIT_BRANCH_MERGE
PRE_AST_MERGE
PRE_PHP7_EREG_MYSQL_REMOVALS
PRE_PHP7_NSAPI_REMOVAL
PRE_PHP7_REMOVALS
php-5.*
php-5.6.25
php-5.6.25RC1
php-7.*
php-7.0.10
php-7.0.10RC1

Database specific

vanir_signatures_modified
"2026-07-08T12:44:02Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 4854.0,
            "function_hash": "301755387465239169747237975694531964431"
        },
        "signature_version": "v1",
        "source": "https://github.com/php/php-src/commit/c4cca4c20e75359c9a13a1f9a36cb7b4e9601d29",
        "id": "CVE-2016-7418-760e79e7",
        "target": {
            "function": "php_wddx_push_element",
            "file": "ext/wddx/wddx.c"
        }
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "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"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/php/php-src/commit/c4cca4c20e75359c9a13a1f9a36cb7b4e9601d29",
        "id": "CVE-2016-7418-9c7c3b2c",
        "target": {
            "file": "ext/wddx/wddx.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7418.json"