CVE-2016-9936

Source
https://cve.org/CVERecord?id=CVE-2016-9936
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9936.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-9936
Downstream
Related
Published
2017-01-04T20:59:00.607Z
Modified
2026-08-07T15:18:33.604073Z
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 unserialize implementation in ext/standard/var.c in PHP 7.x before 7.0.14 allows remote attackers to cause a denial of service (use-after-free) or possibly have unspecified other impact via crafted serialized data. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-6834.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
Show details
{
    "cpe": [
        "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:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.0.13:*:*:*:*:*:*:*"
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "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"
        },
        {
            "introduced": "7.0.11"
        },
        {
            "last_affected": "7.0.11"
        },
        {
            "introduced": "7.0.12"
        },
        {
            "last_affected": "7.0.12"
        },
        {
            "introduced": "7.0.13"
        },
        {
            "last_affected": "7.0.13"
        }
    ]
}

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

Database specific

vanir_signatures
[
    {
        "id": "CVE-2016-9936-2952288b",
        "target": {
            "function": "PHP_FUNCTION",
            "file": "ext/standard/var.c"
        },
        "deprecated": false,
        "digest": {
            "function_hash": "163919097064633431796530038461789854321",
            "length": 1359.0
        },
        "signature_version": "v1",
        "source": "https://github.com/php/php-src/commit/b2af4e8868726a040234de113436c6e4f6372d17",
        "signature_type": "Function"
    },
    {
        "id": "CVE-2016-9936-f3e232d1",
        "target": {
            "file": "ext/standard/var.c"
        },
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "133989500739335572472180032269523616631",
                "173228499048002006869839265895117904363",
                "95121896849577457867629478963211194495",
                "254468547754406526900685380808396410134",
                "153463431164748890972706278510094346576",
                "103883253828014354123734651881652682809",
                "238212126955117088207755555621992359151",
                "183778622276609806544846706656325486230",
                "291192368226972925913862946723788043006",
                "22621044917867938151649954650092987150",
                "186110557801505398965595665184621792723",
                "51186678585003836062752315817643824194",
                "228010155175261472109359796944335067227",
                "290710052435613427613634166377691638508",
                "262468581539918285098718900042987560333",
                "185226242802965103332539239777109399071",
                "202958032855601595112416626134764678655",
                "300654735560524647184259634826314879885",
                "87478514085775468505125296944991706113",
                "57831444154340155485902311915043449904",
                "25353185225585869047164964247354820544"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/php/php-src/commit/b2af4e8868726a040234de113436c6e4f6372d17",
        "signature_type": "Line"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9936.json"
vanir_signatures_modified
"2026-08-07T15:18:33Z"