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

Published Nov 21, 2024
·
Updated

Fixed bug (Leak partial content of the heap through heap buffer over-read). (CVE-2024-8929)

Other sources

In PHP versions 8.1. before 8.1.31, 8.2. before 8.2.26, 8.3. before 8.3.14, a hostile MySQL server can cause the client to disclose the content of its heap containing data from other SQL requests and possible other data belonging to different users of the same server.

— NVD

Leak partial content of the heap through heap buffer over-read in mysqlnd

— Microsoft

Affected Software

17 affected componentsFixes available
PHP PHP<8.1.31
8.1.31
PHP PHP>=8.1.0<8.1.31
PHP PHP>=8.2.0<8.2.26
PHP PHP>=8.3.0<8.3.14
Microsoft cbl2 php 8.1.30-1
Microsoft cbl2 php 8.1.30-1
Microsoft azl3 php 8.3.12-1
Microsoft azl3 php 8.3.14-1
Microsoft cbl2 php 8.1.31-1
debian/php8.2
8.2.32-1~deb12u18.2.35-1~deb12u1
debian/php8.2<8.2.26-1~deb12u1
8.2.26-1~deb12u1
alpine/php81<8.1.31-r0
8.1.31-r0
alpine/php83<8.3.14-r0
8.3.14-r0
alpine/php83<8.3.14-r0
8.3.14-r0
alpine/php83<8.3.14-r0
8.3.14-r0
alpine/php83<8.3.14-r0
8.3.14-r0
alpine/php83<8.3.14-r0
8.3.14-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 8.1.31
  2. Upgrade

    Upgrade debian/php8.2 to a version that resolves this vulnerability.

    Fixed in 8.2.32-1~deb12u1Fixed in 8.2.35-1~deb12u1
  3. Upgrade

    Upgrade debian/php8.2 to a version that resolves this vulnerability.

    Fixed in 8.2.26-1~deb12u1
  4. Upgrade

    Upgrade alpine/php81 to a version that resolves this vulnerability.

    Fixed in 8.1.31-r0
  5. Upgrade

    Upgrade alpine/php83 to a version that resolves this vulnerability.

    Fixed in 8.3.14-r0
  6. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 8.2.26
  7. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 8.3.14

Event History

Nov 21, 2024
CVE Published
via PHP·12:00 AM
Nov 22, 2024
CVE Published
via MITRE·06:15 AM
Data Sourced
via MITRE·06:15 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:15 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·07:15 AM
DescriptionSeverityAffected Software
Dec 9, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-8929?

CVE-2024-8929 has a high severity level due to its potential to leak sensitive information from the heap.

2

How do I fix CVE-2024-8929?

To fix CVE-2024-8929, upgrade PHP to version 8.1.31 or later, 8.2.26 or later, or to 8.3.14 or later.

3

What versions of PHP are affected by CVE-2024-8929?

PHP versions 8.1.* before 8.1.31, 8.2.* before 8.2.26, and 8.3.* before 8.3.14 are affected by CVE-2024-8929.

4

What types of attacks are possible with CVE-2024-8929?

CVE-2024-8929 allows attackers with access to a hostile MySQL server to exploit heap buffer over-read vulnerabilities.

5

Is CVE-2024-8929 a client-side or server-side vulnerability?

CVE-2024-8929 is considered a client-side vulnerability as it affects the PHP client when interacting with a malicious MySQL server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203