{"id":"CVE-2016-4346","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.","modified":"2026-04-11T03:43:47.572548Z","published":"2016-05-22T01:59:20.887Z","related":["SUSE-SU-2016:1504-1","SUSE-SU-2016:1581-1","SUSE-SU-2016:1638-1"],"references":[{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00086.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2016-06/msg00027.html"},{"type":"ADVISORY","url":"http://php.net/ChangeLog-7.php"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/04/28/2"},{"type":"FIX","url":"https://bugs.php.net/bug.php?id=71637"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"60fffd296abce5fc071f3c173c25a2696cf683c6"},{"fixed":"e09845d32614a19188632f410316478fbb440ebd"}],"database_specific":{"versions":[{"introduced":"7.0.0"},{"fixed":"7.0.4"}]}}],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"42.1"}]},{"events":[{"introduced":"0"},{"last_affected":"13.2"}]}],"vanir_signatures_modified":"2026-04-11T03:43:47Z","vanir_signatures":[{"signature_version":"v1","deprecated":false,"id":"CVE-2016-4346-168acc40","digest":{"function_hash":"256499925868157450184250045566717426855","length":3105},"target":{"file":"ext/wddx/wddx.c","function":"php_wddx_pop_element"},"signature_type":"Function","source":"https://github.com/php/php-src/commit/e09845d32614a19188632f410316478fbb440ebd"},{"signature_version":"v1","deprecated":false,"id":"CVE-2016-4346-63916535","digest":{"function_hash":"297808210448008143422161856745228178213","length":1454},"target":{"file":"ext/wddx/wddx.c","function":"php_wddx_process_data"},"signature_type":"Function","source":"https://github.com/php/php-src/commit/e09845d32614a19188632f410316478fbb440ebd"},{"signature_version":"v1","deprecated":false,"id":"CVE-2016-4346-f1f44522","digest":{"line_hashes":["240350071091354082169554641503322018360","83239604679707749811593051196119658386","227586690061435287287994965536507444467","171971468238865359835315510260595594604","34110307404906790365435565495275501781","37364056837223290377158685987933560788","158805433901848107125099228832282898903","154096422045862655651765972076311404641"],"threshold":0.9},"target":{"file":"ext/wddx/wddx.c"},"signature_type":"Line","source":"https://github.com/php/php-src/commit/e09845d32614a19188632f410316478fbb440ebd"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-4346.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}