CVE-2016-9935

Source
https://cve.org/CVERecord?id=CVE-2016-9935
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9935.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-9935
Downstream
DLA (1)
DSA (1)
MGASA (1)
RHSA (1)
SUSE (3)
UBUNTU (1)
Related
Published
2017-01-04T20:59:00Z
Modified
2026-10-20T13:19:56Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The php_wddx_push_element function in ext/wddx/wddx.c in PHP before 5.6.29 and 7.x before 7.0.14 allows remote attackers to cause a denial of service (out-of-bounds read and memory corruption) or possibly have unspecified other impact via an empty boolean element in a wddxPacket XML document.

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
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "5.6.28"
                }
            ],
            "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"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.11"
                },
                {
                    "last_affected": "7.0.11"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.12"
                },
                {
                    "last_affected": "7.0.12"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.13:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.13"
                },
                {
                    "last_affected": "7.0.13"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "range": [
                {
                    "fixed": "66fd44209d5ffcb9b3d1bc1b9fd8e35b485040c0"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

7.*
7.0.0
7.0.1
7.0.10
7.0.11
7.0.12
7.0.13
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.28
php-5.6.28RC1
php-5.6.29RC1
php-7.*
php-7.0.13
php-7.0.13RC1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9935.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "78609651868901489198859856956417398104",
                "233574690915010166405317282432796511510",
                "160180925869332122967790818370137188909",
                "51254198205364578751315707702817126872"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2016-9935-782da15d",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/php/php-src/commit/66fd44209d5ffcb9b3d1bc1b9fd8e35b485040c0",
        "target": {
            "file": "ext/wddx/wddx.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "333790332470613182653193404017146353480",
            "length": 4912
        },
        "id": "CVE-2016-9935-de42de9b",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/php/php-src/commit/66fd44209d5ffcb9b3d1bc1b9fd8e35b485040c0",
        "target": {
            "file": "ext/wddx/wddx.c",
            "function": "php_wddx_push_element"
        }
    }
]
vanir_signatures_modified
"2026-10-20T13:19:56Z"