CVE-2016-5772

Source
https://cve.org/CVERecord?id=CVE-2016-5772
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-5772.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-5772
Downstream
Related
Published
2016-08-07T10:59:20.680Z
Modified
2026-05-18T10:52:10.826083Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Double free vulnerability in the phpwddxprocessdata function in wddx.c in the WDDX extension in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via crafted XML data that is mishandled in a wddxdeserialize call.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "last_affected": "8.0"
                }
            ],
            "source": "CPE_FIELD",
            "vendor_product": "debian:debian_linux"
        },
        {
            "cpes": [
                "cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "last_affected": "42.1"
                }
            ],
            "source": "CPE_FIELD",
            "vendor_product": "opensuse:leap"
        },
        {
            "cpes": [
                "cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "last_affected": "13.2"
                }
            ],
            "source": "CPE_FIELD",
            "vendor_product": "opensuse:opensuse"
        },
        {
            "cpes": [
                "cpe:2.3:a:suse:linux_enterprise_debuginfo:11:sp4:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "last_affected": "11-sp4"
                }
            ],
            "source": "CPE_FIELD",
            "vendor_product": "suse:linux_enterprise_debuginfo"
        },
        {
            "cpes": [
                "cpe:2.3:o:suse:linux_enterprise_server:11:sp4:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "last_affected": "11-sp4"
                }
            ],
            "source": "CPE_FIELD",
            "vendor_product": "suse:linux_enterprise_server"
        },
        {
            "cpes": [
                "cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp4:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "last_affected": "11-sp4"
                }
            ],
            "source": "CPE_FIELD",
            "vendor_product": "suse:linux_enterprise_software_development_kit"
        }
    ]
}
References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.5.37"
        },
        {
            "introduced": "5.6.0"
        },
        {
            "fixed": "5.6.23"
        },
        {
            "introduced": "7.0.0"
        },
        {
            "fixed": "7.0.8"
        }
    ],
    "source": [
        "CPE_FIELD",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
}

Affected versions

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.23RC1
php-7.*
php-7.0.8RC1

Database specific

vanir_signatures_modified
"2026-05-18T10:52:10Z"
vanir_signatures
[
    {
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2016-5772-bf04f18e",
        "signature_version": "v1",
        "digest": {
            "function_hash": "180570257826570885917371117402157294106",
            "length": 2110.0
        },
        "source": "https://github.com/php/php-src/commit/a44c89e8af7c2410f4bfc5e097be2a5d0639a60c",
        "target": {
            "file": "ext/wddx/wddx.c",
            "function": "php_wddx_process_data"
        }
    },
    {
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2016-5772-fe4b66ca",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "138371237491998008842515301943039341093",
                "5438853636735337843492742048264760460",
                "327287158167850452439701417552007583568",
                "78609767112690709860219252615091440765",
                "206516277081509952429337499612038618064",
                "256212817879242093001682295899415213645",
                "34110307404906790365435565495275501781",
                "37364056837223290377158685987933560788"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/php/php-src/commit/a44c89e8af7c2410f4bfc5e097be2a5d0639a60c",
        "target": {
            "file": "ext/wddx/wddx.c"
        }
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-5772.json"