CVE-2024-8932

NameCVE-2024-8932
DescriptionIn PHP versions 8.1.* before 8.1.31, 8.2.* before 8.2.26, 8.3.* before 8.3.14, uncontrolled long string inputs to ldap_escape() function on 32-bit systems can cause an integer overflow, resulting in an out-of-bounds write.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3986-1, DSA-5819-1
Debian Bugs1088688

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php5 (PTS)jessie, jessie (lts)5.6.40+dfsg-0+deb8u21vulnerable
php7.0 (PTS)stretch (security)7.0.33-0+deb9u12vulnerable
stretch (lts), stretch7.0.33-0+deb9u19vulnerable
php7.3 (PTS)buster, buster (lts)7.3.31-1~deb10u8vulnerable
buster (security)7.3.31-1~deb10u7vulnerable
php7.4 (PTS)bullseye7.4.33-1+deb11u5vulnerable
bullseye (security)7.4.33-1+deb11u7fixed
php8.2 (PTS)bookworm8.2.24-1~deb12u1vulnerable
bookworm (security)8.2.26-1~deb12u1fixed
sid, trixie8.2.26-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5source(unstable)(unfixed)
php7.0source(unstable)(unfixed)
php7.3source(unstable)(unfixed)
php7.4sourcebullseye7.4.33-1+deb11u7DLA-3986-1
php7.4source(unstable)(unfixed)
php8.2sourcebookworm8.2.26-1~deb12u1DSA-5819-1
php8.2source(unstable)8.2.26-41088688

Notes

https://github.com/php/php-src/security/advisories/GHSA-g665-fm4p-vhff
https://github.com/php/php-src/commit/90c851a8b1dc409d074ab369acbfd318bc8aea4e (php-8.2.26)

Search for package or bug name: Reporting problems