CVE-2024-5564 Libndp: buffer overflow in route information length field
A local attacker can trigger a buffer overflow in NetworkManager via malformed IPv6 router advertisements, potentially causing denial of service or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-5564?
CVE-2024-5564 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 31 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was found in libndp. This flaw allows a local malicious user to cause a buffer overflow in NetworkManager, triggered by sending a malformed IPv6 router advertisement packet. This issue occurred as libndp was not correctly validating the route length information.
Weakness: CWE-120
Which versions are affected by CVE-2024-5564?
Linux distribution packages (40)
libndp AlmaLinux:8 | All versions | 1.7-7.el8_10.alma.1 |
libndp AlmaLinux:9 | All versions | 1.8-6.el9_4.alma.1 |
libndp Red Hat:enterprise_linux:10.0 | All versions | 0:1.9-2.el10 |
libndp-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 0:1.9-2.el10 |
libndp-debugsource Red Hat:enterprise_linux:10.0 | All versions | 0:1.9-2.el10 |
libndp Red Hat:enterprise_linux:8::baseos | All versions | 0:1.7-7.el8_10 |
libndp-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1.7-7.el8_10 |
libndp-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:1.7-7.el8_10 |
libndp Red Hat:enterprise_linux:9::baseos | All versions | 0:1.8-6.el9_4 |
libndp-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:1.8-6.el9_4 |
libndp-debugsource Red Hat:enterprise_linux:9::baseos | All versions | 0:1.8-6.el9_4 |
libndp Red Hat:rhel_aus:8.2::baseos | All versions | 0:1.7-4.el8_2 |
libndp-debuginfo Red Hat:rhel_aus:8.2::baseos | All versions | 0:1.7-4.el8_2 |
libndp-debugsource Red Hat:rhel_aus:8.2::baseos | All versions | 0:1.7-4.el8_2 |
libndp Red Hat:rhel_aus:8.4::baseos | All versions | 0:1.7-6.el8_4 |
libndp-debuginfo Red Hat:rhel_aus:8.4::baseos | All versions | 0:1.7-6.el8_4 |
libndp-debugsource Red Hat:rhel_aus:8.4::baseos | All versions | 0:1.7-6.el8_4 |
libndp Red Hat:rhel_aus:8.6::baseos | All versions | 0:1.7-7.el8_6 |
libndp-debuginfo Red Hat:rhel_aus:8.6::baseos | All versions | 0:1.7-7.el8_6 |
libndp-debugsource Red Hat:rhel_aus:8.6::baseos | All versions | 0:1.7-7.el8_6 |
libndp Red Hat:rhel_e4s:8.4::baseos | All versions | 0:1.7-6.el8_4 |
libndp-debuginfo Red Hat:rhel_e4s:8.4::baseos | All versions | 0:1.7-6.el8_4 |
libndp-debugsource Red Hat:rhel_e4s:8.4::baseos | All versions | 0:1.7-6.el8_4 |
libndp Red Hat:rhel_e4s:8.6::baseos | All versions | 0:1.7-7.el8_6 |
libndp-debuginfo Red Hat:rhel_e4s:8.6::baseos | All versions | 0:1.7-7.el8_6 |
libndp-debugsource Red Hat:rhel_e4s:8.6::baseos | All versions | 0:1.7-7.el8_6 |
libndp Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1.8-5.el9_0 |
libndp-debuginfo Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1.8-5.el9_0 |
libndp-debugsource Red Hat:rhel_e4s:9.0::baseos | All versions | 0:1.8-5.el9_0 |
libndp Red Hat:rhel_els:7 | All versions | 0:1.2-10.el7_9 |
libndp-debuginfo Red Hat:rhel_els:7 | All versions | 0:1.2-10.el7_9 |
libndp-devel Red Hat:rhel_els:7 | All versions | 0:1.2-10.el7_9 |
libndp Red Hat:rhel_eus:8.8::baseos | All versions | 0:1.7-7.el8_8 |
libndp-debuginfo Red Hat:rhel_eus:8.8::baseos | All versions | 0:1.7-7.el8_8 |
libndp-debugsource Red Hat:rhel_eus:8.8::baseos | All versions | 0:1.7-7.el8_8 |
libndp Red Hat:rhel_eus:9.2::baseos | All versions | 0:1.8-5.el9_2 |
libndp-debuginfo Red Hat:rhel_eus:9.2::baseos | All versions | 0:1.8-5.el9_2 |
libndp-debugsource Red Hat:rhel_eus:9.2::baseos | All versions | 0:1.8-5.el9_2 |
libndp Red Hat:rhel_tus:8.4::baseos | All versions | 0:1.7-6.el8_4 |
libndp-debuginfo Red Hat:rhel_tus:8.4::baseos | All versions | 0:1.7-6.el8_4 |
How do I fix CVE-2024-5564?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-5564 being exploited?
There is no known exploitation of CVE-2024-5564 in the wild and no public exploit code.
Sources
Also known as ALSA-2024:4620, ALSA-2024:4636, AZL-42609, AZL-42625, CLSA-2024-1724259497, CLSA-2025-1745270484 and 27 more.