CVE-2024-5564Libndp: buffer overflow in route information length field
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | libndp | Fixed | 1.8-1fakesync1ubuntu0.24.04.1 | UBUNTU-CVE-2024-5564 |
| Ubuntu 22.04 | libndp | Fixed | 1.8-0ubuntu3.1 | UBUNTU-CVE-2024-5564 |
| Ubuntu 20.04 | libndp | Fixed | 1.7-0ubuntu1.1 | UBUNTU-CVE-2024-5564 |
| Ubuntu 18.04 | libndp | Fix pending | 1.6-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-5564 |
| Ubuntu 16.04 | libndp | Fix pending | 1.4-2ubuntu0.16.04.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-5564 |
| Debian 14 | libndp | Fixed | 1.8-2 | DEBIAN-CVE-2024-5564 |
| Debian 13 | libndp | Fixed | 1.8-2 | DEBIAN-CVE-2024-5564 |
| Debian 12 | libndp | Fixed | 1.8-1+deb12u1 | DEBIAN-CVE-2024-5564 |
| Red Hat Enterprise Linux 10 | libndp | Fixed | 0:1.9-2.el10 | RHBA-2025:6631 |
| Red Hat Enterprise Linux 9 | libndp | Fixed | 0:1.8-6.el9_4 | RHSA-2024:4636 |
| Red Hat Enterprise Linux 8 | libndp | Fixed | 0:1.7-7.el8_10 | RHSA-2024:4620 |
| AlmaLinux 9 | libndp | Fixed | 1.8-6.el9_4.alma.1 | ALSA-2024:4636 |
| AlmaLinux 8 | libndp | Fixed | 1.7-7.el8_10.alma.1 | ALSA-2024:4620 |
| Rocky Linux 9 | libndp | Fixed | 0:1.8-6.el9_4 | RLSA-2024:4636 |
| Rocky Linux 8 | libndp | Fixed | 0:1.7-7.el8_10 | RLSA-2024:4620 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libndp: affected: 1.0 to before 1.7-7; fixed in
1.7-7 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7 Extended Lifecycle Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.2 Advanced Update Support
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.4 Telecommunications Update Service
- Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.6 Telecommunications Update Service
- Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
- Red Hat Enterprise Linux 8.8 Extended Update Support
Workaround: Currently there is no mitigation available for this vulnerability. Please make sure to update as the fixes become available.
Vendor advisories:
- https://access.redhat.com/errata/RHBA-2025:6631 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:4618 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:4619 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:4620 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:4622 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:4636 (vendor-advisory)
References
- https://access.redhat.com/errata/RHBA-2025:6631
- https://access.redhat.com/errata/RHSA-2024:4618
- https://access.redhat.com/errata/RHSA-2024:4619
- https://access.redhat.com/errata/RHSA-2024:4620
- https://access.redhat.com/errata/RHSA-2024:4622
- https://access.redhat.com/errata/RHSA-2024:4636
- https://access.redhat.com/errata/RHSA-2024:4640
- https://access.redhat.com/errata/RHSA-2024:4641
- https://access.redhat.com/errata/RHSA-2024:4642
- https://access.redhat.com/errata/RHSA-2024:4643
- https://access.redhat.com/security/cve/CVE-2024-5564
- https://bugzilla.redhat.com/show_bug.cgi?id=2284122
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.