CVE-2024-8932
OOB access in ldap_escape
Reported by php · Published November 22, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php8.3-pdo | Amazon Linux | 8.3.16-1.amzn2023.0.1 |
| php8.1-fpm | Amazon Linux | 8.1.31-1.amzn2023.0.1 |
| php8.3-modphp | Amazon Linux | 8.3.16-1.amzn2023.0.1 |
| php8.3-gmp | Amazon Linux | 8.3.16-1.amzn2023.0.1 |
| php8.3-odbc | Amazon Linux | 8.3.16-1.amzn2023.0.1 |
| php8.1-intl | Amazon Linux | 8.1.31-1.amzn2023.0.1 |
| php8.1-snmp | Amazon Linux | 8.1.31-1.amzn2023.0.1 |
| php8.2-soap | Amazon Linux | 8.2.27-1.amzn2023.0.1 |
| php8.1-gmp | Amazon Linux | 8.1.31-1.amzn2023.0.1 |
| php8.3-common | Amazon Linux | 8.3.16-1.amzn2023.0.1 |
| php83 | Alpine | 8.3.14-r0 |
| php8.2-embedded | Amazon Linux | 8.2.27-1.amzn2023.0.1 |
85 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 8.1.*, 8.2.*, 8.3.* |
| amazon:2023 | php8.3-pdo | 0 |
| amazon:2023 | php8.1-fpm | 0 |
| amazon:2023 | php8.3-modphp | 0 |
| amazon:2023 | php8.3-gmp | 0 |
| amazon:2023 | php8.3-odbc | 0 |
| amazon:2023 | php8.1-intl | 0 |
| amazon:2023 | php8.1-snmp | 0 |
| amazon:2023 | php8.2-soap | 0 |
| amazon:2023 | php8.1-gmp | 0 |
| amazon:2023 | php8.3-common | 0 |
| alpine | php83 | 0 |
| amazon:2023 | php8.2-embedded | 0 |
| amazon:2023 | php8.1-enchant | 0 |
| amazon:2023 | php8.3-process | 0 |
| amazon:2023 | php8.2-sodium | 0 |
| amazon:2023 | php8.2-gd | 0 |
| amazon:2023 | php8.2-enchant | 0 |
| amazon:2023 | php8.2-odbc | 0 |
| amazon:2023 | php8.1 | 0 |
…and 78 more
Timeline
- Nov 20, 2024 CVE Published
- Nov 22, 2024 PoC Published (4 in total, the first dated here)
- Nov 23, 2024 EPSS Score (30 in total, the first dated here)
- Jan 20, 2025 Coalition ESS Score (16 in total, the first dated here)
- Dec 27, 2025 CVE Updated
- Aug 9, 2026 Security Advisory (11 in total, the first dated here)
- Oct 23, 2026 Distribution Patch (10 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-8932
vulnetix vdb fixes CVE-2024-8932
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-8932/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart