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
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.7$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.9
VulDB 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): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Out-of-bounds write
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 211742
Nessus Name: Fedora 41 : php (2024-3891a08c9e)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PHP 8.1.31/8.2.26/8.3.14

Timelineinfo

09/17/2024 🔍
11/22/2024 +66 days 🔍
11/22/2024 +0 days 🔍
09/13/2025 +295 days 🔍

Sourcesinfo

Product: php.org

Advisory: 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

Entryinfo

Created: 11/22/2024 07:50
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!