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

CVE-2024-8929 affects 146 listed versions of PHP in the Dawnsentry catalogue.

5.8CVSS medium
Proof of concept publicexploitation
2%EPSS (next 30 days)
22 November 2024published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

PHP

146 of 250 listed versions are affected. Fixed in 8.2.24, 8.1.31. The newest release, 8.6.0, is not affected.

8.2.23 8.2.22 8.1.30 8.1.29 8.1.28 8.1.27 8.1.26 8.1.25 8.1.24 8.1.23 8.1.22 8.1.21 8.1.20 8.0.30 8.0.29 8.0.28 8.0.27 8.0.26 8.0.25 8.0.24 8.0.23 8.0.22 8.0.21 8.0.20 8.0.19 8.0.18 8.0.17 8.0.16 7.4.33 7.4.32 7.4.30 7.4.29 7.4.28 7.4.27 7.4.26 7.4.25 7.4.24 7.4.23 7.4.22 7.4.21 7.4.20 7.4.19 7.3.33 7.3.32 7.3.31 7.3.30 7.3.29 7.3.28 7.3.27 7.3.26 7.3.25 7.3.24 7.3.23 7.3.22 7.3.21 7.3.20 7.3.19 7.2.34 7.2.33 7.2.32 and 86 more

What it is

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.

CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N (Php)

Published by Php on 22 November 2024. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2024-8929 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.