Vulnerability · Published Nov 22, 2024 · Assigned by php

CVE-2024-8932OOB access in ldap_escape

Critical 9.8

In plain English

A critical-severity out-of-bounds write in PHP from PHP Group. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.3%top 29.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20php838.3.14-r0ALPINE-CVE-2024-8932
Alpine:v3.21php838.3.14-r0ALPINE-CVE-2024-8932
Alpine:v3.22php838.3.14-r0ALPINE-CVE-2024-8932
Alpine:v3.23php838.3.14-r0ALPINE-CVE-2024-8932
Alpine:v3.24php838.3.14-r0ALPINE-CVE-2024-8932
Debian:12php8.28.2.26-1~deb12u1DSA-5819-1
Debian:12php8.28.2.26-1~deb12u1DEBIAN-CVE-2024-8932
Ubuntu:22.04:LTSphp8.18.1.2-1ubuntu2.20USN-7157-1
Ubuntu:22.04:LTSphp8.18.1.2-1ubuntu2.20UBUNTU-CVE-2024-8932
Ubuntu:24.04:LTSphp8.38.3.6-0ubuntu0.24.04.3UBUNTU-CVE-2024-8932
Ubuntu:24.04:LTSphp8.38.3.6-0ubuntu0.24.04.3USN-7157-1

Affected products (as reported)

VendorProductVersions
PHP Group PHP 8.1.* – before 8.1.318.2.* – before 8.2.268.3.* – before 8.3.14

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References