Php: Leak partial content of the heap through heap buffer over-read in mysqlnd (CVE-2024-8929)
A heap buffer over-read vulnerability exists in the mysqlnd extension of PHP, affecting multiple PHP versions prior to specific fixed releases. A hostile MySQL server can exploit this flaw to cause the PHP client to leak partial heap contents, potentially disclosing data from other SQL requests or other users on the same server. This vulnerability has been assigned CVE-2024-8929 and is rated as having moderate security impact. Official patches are available and have been released by vendors including Red Hat.
AI Analysis
Technical Summary
CVE-2024-8929 is a heap buffer over-read vulnerability in the mysqlnd extension of PHP. It affects PHP versions 7.4 prior to 7.4.33, 8.1 prior to 8.1.31, 8.2 prior to 8.2.24, and 8.3 prior to 8.3.14. A malicious MySQL server can exploit this vulnerability to cause the PHP client to disclose partial contents of its heap memory, which may include data from other SQL queries or data belonging to other users sharing the same server. This issue is due to improper bounds checking leading to heap buffer over-read. The vulnerability is tracked under multiple CWEs including CWE-125 (out-of-bounds read) and CWE-787 (out-of-bounds write). Vendor advisories from Red Hat confirm the availability of patches and provide updated package versions to remediate the issue.
Potential Impact
Exploitation of this vulnerability allows a hostile MySQL server to cause the PHP client to leak partial heap memory contents. This can lead to unauthorized disclosure of sensitive data from other SQL requests or other users on the same server. There is no indication of remote code execution or privilege escalation. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Official patches are available and should be applied to affected PHP versions. Red Hat and other vendors have released updated PHP packages that fix this vulnerability. Users should upgrade to PHP versions 7.4.33 or later, 8.1.31 or later, 8.2.24 or later, or 8.3.14 or later as applicable. No additional mitigations are indicated by the vendor advisories.
Php: Leak partial content of the heap through heap buffer over-read in mysqlnd (CVE-2024-8929)
Description
A heap buffer over-read vulnerability exists in the mysqlnd extension of PHP, affecting multiple PHP versions prior to specific fixed releases. A hostile MySQL server can exploit this flaw to cause the PHP client to leak partial heap contents, potentially disclosing data from other SQL requests or other users on the same server. This vulnerability has been assigned CVE-2024-8929 and is rated as having moderate security impact. Official patches are available and have been released by vendors including Red Hat.
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-8929 is a heap buffer over-read vulnerability in the mysqlnd extension of PHP. It affects PHP versions 7.4 prior to 7.4.33, 8.1 prior to 8.1.31, 8.2 prior to 8.2.24, and 8.3 prior to 8.3.14. A malicious MySQL server can exploit this vulnerability to cause the PHP client to disclose partial contents of its heap memory, which may include data from other SQL queries or data belonging to other users sharing the same server. This issue is due to improper bounds checking leading to heap buffer over-read. The vulnerability is tracked under multiple CWEs including CWE-125 (out-of-bounds read) and CWE-787 (out-of-bounds write). Vendor advisories from Red Hat confirm the availability of patches and provide updated package versions to remediate the issue.
Potential Impact
Exploitation of this vulnerability allows a hostile MySQL server to cause the PHP client to leak partial heap memory contents. This can lead to unauthorized disclosure of sensitive data from other SQL requests or other users on the same server. There is no indication of remote code execution or privilege escalation. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Official patches are available and should be applied to affected PHP versions. Red Hat and other vendors have released updated PHP packages that fix this vulnerability. Users should upgrade to PHP versions 7.4.33 or later, 8.1.31 or later, 8.2.24 or later, or 8.3.14 or later as applicable. No additional mitigations are indicated by the vendor advisories.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:2470
- Cve Count
- 13
- Additional Cves
- ["CVE-2024-11233","CVE-2024-11234","CVE-2025-1217","CVE-2025-1219","CVE-2025-1220","CVE-2025-1734","CVE-2025-1735","CVE-2025-1736","CVE-2025-1861","CVE-2025-6491","CVE-2025-14177","CVE-2025-14178"]
Threat ID: 6a248d78e29bf47b50d65312
Added to database: 06/06/2026, 21:13:28 UTC
Last enriched: 09/08/2026, 15:17:24 UTC
Last updated: 09/10/2026, 19:36:49 UTC
Views: 136
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.