CVE-2016-7131

Source
https://nvd.nist.gov/vuln/detail/CVE-2016-7131
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-7131.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-7131
Downstream
Related
Published
2016-09-12T01:59:09Z
Modified
2025-09-19T08:33:52.979007Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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 a malformed wddxPacket XML document that is mishandled in a wddx_deserialize call, as demonstrated by a tag that lacks a < (less than) character.

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
Fixed
Fixed

Affected versions

Other

NEWS
NEWS-cvs2svn
POST_64BIT_BRANCH_MERGE
POST_AST_MERGE
POST_NATIVE_TLS_MERGE
POST_PHP7_EREG_MYSQL_REMOVALS
POST_PHP7_NSAPI_REMOVAL
POST_PHP7_REMOVALS
POST_PHPNG_MERGE
PRE_64BIT_BRANCH_MERGE
PRE_AST_MERGE
PRE_NATIVE_TLS_MERGE
PRE_PHP7_EREG_MYSQL_REMOVALS
PRE_PHP7_NSAPI_REMOVAL
PRE_PHP7_REMOVALS
PRE_PHPNG_MERGE

php-5.*

php-5.3.23RC1
php-5.3.29
php-5.3.29RC1
php-5.4.30RC1
php-5.4.32RC1
php-5.4.4RC2
php-5.5.24RC1
php-5.6.18RC1
php-5.6.19RC1
php-5.6.22RC1
php-5.6.23RC1
php-5.6.24RC1

php-7.*

php-7.0.3RC1
php-7.0.4RC1
php-7.0.5RC1
php-7.0.7RC1
php-7.0.8RC1
php-7.0.9RC1

Database specific

{
    "vanir_signatures": [
        {
            "deprecated": false,
            "signature_type": "Function",
            "digest": {
                "length": 3128.0,
                "function_hash": "243472621704310466816026209188486312828"
            },
            "target": {
                "function": "php_wddx_pop_element",
                "file": "ext/wddx/wddx.c"
            },
            "signature_version": "v1",
            "id": "CVE-2016-7131-3e5d4572",
            "source": "https://github.com/php/php-src/commit/0c8a2a2cd1056b7dc403eacb5d2c0eec6ce47c6f"
        },
        {
            "deprecated": false,
            "signature_type": "Line",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "227586690061435287287994965536507444467",
                    "171971468238865359835315510260595594604",
                    "294096788541314842492047899537980398585",
                    "39203211752148870350392571347397727161",
                    "114003824792058325898787743924612295354",
                    "324042257599249327893896841955922877651",
                    "266610581013121937022296237480834597881",
                    "117136385783754546423721084500627110644",
                    "44137497100171573864820611955448240089",
                    "153431260466363184658019689457626286979",
                    "158482252310758241378516474298821169290",
                    "173721130950342728693098650034089755027",
                    "84864854111785873586959024477215096849",
                    "188898573441791144762762604513859184083",
                    "138531317981445496527495267023563809995",
                    "263100670372584543987352143707260985591",
                    "68486984776250340094585839969057325575",
                    "148843188674208780203491168371029985762"
                ]
            },
            "target": {
                "file": "ext/wddx/wddx.c"
            },
            "signature_version": "v1",
            "id": "CVE-2016-7131-6190c5ee",
            "source": "https://github.com/php/php-src/commit/a14fdb9746262549bbbb96abb87338bacd147e1b"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "digest": {
                "length": 555.0,
                "function_hash": "27721742760066615624167846450324310011"
            },
            "target": {
                "function": "php_wddx_deserialize_ex",
                "file": "ext/wddx/wddx.c"
            },
            "signature_version": "v1",
            "id": "CVE-2016-7131-69699daf",
            "source": "https://github.com/php/php-src/commit/a14fdb9746262549bbbb96abb87338bacd147e1b"
        },
        {
            "deprecated": false,
            "signature_type": "Line",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "20836660269113468284500990585186249828",
                    "222899783497892283321114778092987738633",
                    "294096788541314842492047899537980398585",
                    "39203211752148870350392571347397727161",
                    "114003824792058325898787743924612295354",
                    "324042257599249327893896841955922877651",
                    "266610581013121937022296237480834597881",
                    "98163707120487438389306192675281043703"
                ]
            },
            "target": {
                "file": "ext/wddx/wddx.c"
            },
            "signature_version": "v1",
            "id": "CVE-2016-7131-6ae83bb8",
            "source": "https://github.com/php/php-src/commit/0c8a2a2cd1056b7dc403eacb5d2c0eec6ce47c6f"
        },
        {
            "deprecated": false,
            "signature_type": "Function",
            "digest": {
                "length": 3296.0,
                "function_hash": "312659420719444014877092094935802353723"
            },
            "target": {
                "function": "php_wddx_pop_element",
                "file": "ext/wddx/wddx.c"
            },
            "signature_version": "v1",
            "id": "CVE-2016-7131-76ddb254",
            "source": "https://github.com/php/php-src/commit/a14fdb9746262549bbbb96abb87338bacd147e1b"
        }
    ]
}