CVE-2016-4346Integer Overflow or Wraparound in PHP

Severity
9.8CRITICALNVD
EPSS
0.9%
top 25.01%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMay 22
Latest updateMay 14

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages4 packages

NVDphp/php7.0.07.0.4
Ubuntuphp5/php5< 5.5.9+dfsg-1ubuntu4.16
NVDopensuse/leap42.1

Patches

🔴Vulnerability Details

2
GHSA
GHSA-g567-h7p8-q9q9: Integer overflow in the str_pad function in ext/standard/string2022-05-14
OSV
CVE-2016-4346: Integer overflow in the str_pad function in ext/standard/string2016-05-22

📋Vendor Advisories

1
Red Hat
php: Multiple heap overflows due to integer overflows2016-02-20

💬Community

2
Bugzilla
CVE-2016-4344 CVE-2016-4345 CVE-2016-4346 php: Multiple heap overflows due to integer overflows2016-03-07
Bugzilla
CVE-2016-4344 CVE-2016-4345 CVE-2016-4346 php: Multiple heap overflows due to integer overflows [fedora-all]2016-03-07