CVE-2025-40779Kea crash upon interaction between specific client options and subnet selection
If a DHCPv4 client sends a request with some specific options, and Kea fails to find an appropriate subnet for the client, the `kea-dhcp4` process will abort with an assertion failure. This happens only if the client request is unicast directly to Kea; broadcast messages do not cause the problem. This issue affects Kea versions 2.7.1 through 2.7.9, 3.0.0, and 3.1.0.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
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 25.10 | isc-kea | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | isc-kea | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | isc-kea | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 10 | kea | Fixed | 0:3.0.1-1.el10_1 | RHSA-2025:21006 |
| Red Hat Enterprise Linux 10 | kea-doc | Fixed | 0:3.0.1-1.el10_1 | RHSA-2025:21006 |
| Red Hat Enterprise Linux 10 | kea-hooks | Fixed | 0:3.0.1-1.el10_1 | RHSA-2025:21006 |
| Red Hat Enterprise Linux 10 | kea-keama | Fixed | 0:3.0.1-1.el10_1 | RHSA-2025:21006 |
| Red Hat Enterprise Linux 10 | kea-libs | Fixed | 0:3.0.1-1.el10_1 | RHSA-2025:21006 |
What the vendor says
As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ISC Kea: affected: 2.7.1 to 2.7.9, 3.0.0, 3.1.0
Solution: Upgrade to the patched release most closely related to your current version of Kea: 3.0.1 or 3.1.1.
Workaround: No workarounds known.
Vendor advisories:
- https://kb.isc.org/docs/cve-2025-40779 (vendor-advisory)
References
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.