OOB access in ldap_escape
Noroxi assessment
Priority: Monitor (action score 39/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.2% (FIRST EPSS); higher than 69.4% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: PHP Group PHP 8.1.31, 8.2.26, 8.3.14; Azure Linux 3.0 ARM 8.3.14-1; Azure Linux 3.0 x64 8.3.14-1.
Low priority for now. Upgrade to PHP Group PHP 8.1.31, 8.2.26, 8.3.14; Azure Linux 3.0 ARM 8.3.14-1; Azure Linux 3.0 x64 8.3.14-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Nov 22, 2024
- Updated
- Jun 17, 2026
- EPSS
- 1.2% · 69th percentile
- CWE
- CWE-787
Report tools
Action score
39
Monitor
Low priority for now.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · php
- 9.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php php8.1.0 and later · before 8.1.31
- php php8.2.0 and later · before 8.2.26
- php php8.3.0 and later · before 8.3.14
Versions reported by the vendor
Affected version ranges reported by the assigning authority (php). Independent of NVD's CPE analysis and usually ahead of it.
PHP Group PHP
- 8.1.* and later · before 8.1.31affected · semver
- 8.2.* and later · before 8.2.26affected · semver
- 8.3.* and later · before 8.3.14affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:11 | php7.4 | before 7.4.33-1+deb11u7 | 7.4.33-1+deb11u7 |
| Debian:12 | php8.2 | before 8.2.26-1~deb12u1 | 8.2.26-1~deb12u1 |
| openSUSE:Tumbleweed | php8 | before 8.3.14-1.1 | 8.3.14-1.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | apache2-mod_php8 | before 8.2.26-150600.3.9.1 | 8.2.26-150600.3.9.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | apache2-mod_php8 | before 8.2.26-150600.3.9.1 | 8.2.26-150600.3.9.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | php8 | before 8.2.26-150600.3.9.1 | 8.2.26-150600.3.9.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | php8 | before 8.2.26-150600.3.9.1 | 8.2.26-150600.3.9.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | php8-embed | before 8.2.26-150600.3.9.1 | 8.2.26-150600.3.9.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | php8-embed | before 8.2.26-150600.3.9.1 | 8.2.26-150600.3.9.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | php8-fastcgi | before 8.2.26-150600.3.9.1 | 8.2.26-150600.3.9.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | php8-fastcgi | before 8.2.26-150600.3.9.1 | 8.2.26-150600.3.9.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | php8-fpm | before 8.2.26-150600.3.9.1 | 8.2.26-150600.3.9.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | php8-fpm | before 8.2.26-150600.3.9.1 | 8.2.26-150600.3.9.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | php8-test | before 8.2.26-150600.3.9.1 | 8.2.26-150600.3.9.1 |
| SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | php8-test | before 8.2.26-150600.3.9.1 | 8.2.26-150600.3.9.1 |
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle queKEV99Now
- CVE-2018-7584In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while pa65This week
- CVE-2018-19518University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of 59Plan
- CVE-2016-3078Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-b56Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| PHP Group PHP | 8.1.31 | Vendor (CNA) |
| PHP Group PHP | 8.2.26 | Vendor (CNA) |
| PHP Group PHP | 8.3.14 | Vendor (CNA) |
| Azure Linux 3.0 ARM | 8.3.14-1 · php | Microsoft (MSRC) |
| Azure Linux 3.0 x64 | 8.3.14-1 · php | Microsoft (MSRC) |
| CBL Mariner 2.0 ARM | 8.1.31-1 · php | Microsoft (MSRC) |
| CBL Mariner 2.0 x64 | 8.1.31-1 · php | Microsoft (MSRC) |
| debian:php7.4 | 7.4.33-1+deb11u7 · Debian:11 | Package registry (OSV) |
| debian:php8.2 | 8.2.26-1~deb12u1 · Debian:12 | Package registry (OSV) |
| opensuse:apache2-mod_php8 | 8.2.26-150600.3.9.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:php8 | 8.2.26-150600.3.9.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:php8-embed | 8.2.26-150600.3.9.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:php8-fastcgi | 8.2.26-150600.3.9.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:php8-fpm | 8.2.26-150600.3.9.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:php8-test | 8.2.26-150600.3.9.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| suse:apache2-mod_php8 | 8.2.26-150600.3.9.1 · SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | Package registry (OSV) |
| suse:php8 | 8.2.26-150600.3.9.1 · SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | Package registry (OSV) |
| suse:php8-embed | 8.2.26-150600.3.9.1 · SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | Package registry (OSV) |
| suse:php8-fastcgi | 8.2.26-150600.3.9.1 · SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | Package registry (OSV) |
| suse:php8-fpm | 8.2.26-150600.3.9.1 · SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | Package registry (OSV) |
| suse:php8-test | 8.2.26-150600.3.9.1 · SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Yiheng Caoreporter
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-112361 days apartInteger overflow in the firebird and dblib quoters causing OOB writes40Plan
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.