PHP up to 8.1.30/8.2.25/8.3.13 on 32-bit ldap_escape out-of-bounds write
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.7 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in PHP up to 8.1.30/8.2.25/8.3.13 on 32-bit. This affects the function ldap_escape. The manipulation leads to out-of-bounds write.
This vulnerability is traded as CVE-2024-8932. It is possible to initiate the attack remotely. There is no exploit available.
You should upgrade the affected component.
Details
A vulnerability was found in PHP up to 8.1.30/8.2.25/8.3.13 on 32-bit. It has been rated as critical. This issue affects the function ldap_escape. The manipulation with an unknown input leads to a out-of-bounds write vulnerability. Using CWE to declare the problem leads to CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The advisory is shared at github.com. The identification of this vulnerability is CVE-2024-8932 since 09/17/2024. The exploitation is known to be difficult. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 09/13/2025).
The vulnerability scanner Nessus provides a plugin with the ID 211742 (Fedora 41 : php (2024-3891a08c9e)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 8.1.31, 8.2.26 or 8.3.14 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (211742) and CERT Bund (WID-SEC-2024-3519). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Fedora Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- NetApp Data ONTAP
- SUSE openSUSE
- RESF Rocky Linux
- Open Source PHP
Product
Type
Name
Version
- 8.1.0
- 8.1.1
- 8.1.2
- 8.1.3
- 8.1.4
- 8.1.5
- 8.1.6
- 8.1.7
- 8.1.8
- 8.1.9
- 8.1.10
- 8.1.11
- 8.1.12
- 8.1.13
- 8.1.14
- 8.1.15
- 8.1.16
- 8.1.17
- 8.1.18
- 8.1.19
- 8.1.20
- 8.1.21
- 8.1.22
- 8.1.23
- 8.1.24
- 8.1.25
- 8.1.26
- 8.1.27
- 8.1.28
- 8.1.29
- 8.1.30
- 8.2.0
- 8.2.1
- 8.2.2
- 8.2.3
- 8.2.4
- 8.2.5
- 8.2.6
- 8.2.7
- 8.2.8
- 8.2.9
- 8.2.10
- 8.2.11
- 8.2.12
- 8.2.13
- 8.2.14
- 8.2.15
- 8.2.16
- 8.2.17
- 8.2.18
- 8.2.19
- 8.2.20
- 8.2.21
- 8.2.22
- 8.2.23
- 8.2.24
- 8.2.25
- 8.3.0
- 8.3.1
- 8.3.2
- 8.3.3
- 8.3.4
- 8.3.5
- 8.3.6
- 8.3.7
- 8.3.8
- 8.3.9
- 8.3.10
- 8.3.11
- 8.3.12
- 8.3.13
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.9VulDB Meta Temp Score: 8.7
VulDB Base Score: 8.1
VulDB Temp Score: 7.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 9.8
CNA Vector (php): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Out-of-bounds writeCWE: CWE-787 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 211742
Nessus Name: Fedora 41 : php (2024-3891a08c9e)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 8.1.31/8.2.26/8.3.14
Timeline
09/17/2024 🔍11/22/2024 🔍
11/22/2024 🔍
09/13/2025 🔍
Sources
Product: php.orgAdvisory: GHSA-g665-fm4p-vhff
Status: Confirmed
CVE: CVE-2024-8932 (🔍)
GCVE (CVE): GCVE-0-2024-8932
GCVE (VulDB): GCVE-100-285749
CERT Bund: WID-SEC-2024-3519 - PHP: Mehrere Schwachstellen
Entry
Created: 11/22/2024 07:50Updated: 09/13/2025 19:53
Changes: 11/22/2024 07:50 (66), 11/23/2024 10:50 (2), 01/10/2025 14:38 (1), 09/13/2025 19:53 (7)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.