CVE-2016-4346

Source
https://cve.org/CVERecord?id=CVE-2016-4346
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-4346.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-4346
Downstream
Related
Published
2016-05-22T01:59:20Z
Modified
2026-08-18T08:43:36Z
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

Integer overflow in the str_pad function in ext/standard/string.c in PHP before 7.0.4 allows remote attackers to cause a denial of service or possibly have unspecified other impact via a long string, leading to a heap-based buffer overflow.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "42.1"
                },
                {
                    "last_affected":  "42.1"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "opensuse:leap"
        },
        {
            "cpes":  [
                "cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "13.2"
                },
                {
                    "last_affected":  "13.2"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "opensuse:opensuse"
        }
    ]
}
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:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "7.0.0"
        },
        {
            "fixed":  "7.0.4"
        }
    ],
    "source":  "CPE_RANGE"
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-4346.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "256499925868157450184250045566717426855",
            "length":  3105
        },
        "id":  "CVE-2016-4346-168acc40",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/php/php-src/commit/e09845d32614a19188632f410316478fbb440ebd",
        "target":  {
            "file":  "ext/wddx/wddx.c",
            "function":  "php_wddx_pop_element"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "297808210448008143422161856745228178213",
            "length":  1454
        },
        "id":  "CVE-2016-4346-63916535",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/php/php-src/commit/e09845d32614a19188632f410316478fbb440ebd",
        "target":  {
            "file":  "ext/wddx/wddx.c",
            "function":  "php_wddx_process_data"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "240350071091354082169554641503322018360",
                "83239604679707749811593051196119658386",
                "227586690061435287287994965536507444467",
                "171971468238865359835315510260595594604",
                "34110307404906790365435565495275501781",
                "37364056837223290377158685987933560788",
                "158805433901848107125099228832282898903",
                "154096422045862655651765972076311404641"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2016-4346-f1f44522",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/php/php-src/commit/e09845d32614a19188632f410316478fbb440ebd",
        "target":  {
            "file":  "ext/wddx/wddx.c"
        }
    }
]
vanir_signatures_modified
"2026-08-18T08:43:36Z"