Skip to main content
EPSS 2.2%top 18%

Php: Leak partial content of the heap through heap buffer over-read in mysqlnd (CVE-2024-8929)

0
Medium
Published: 11/27/2024 (11/27/2024, 19:18:36 UTC)
Source: GCVE Database
Product: php

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

Affected versions
>=7.4 <7.4.33<8.1.31>=8.2.0 <8.2.24>=8.3.0 <8.3.14

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 15:17:24 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses