CVE-2025-32801
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedKea configuration and API directives can be used to load a malicious hook library. Many common configurations run Kea as root, leave the API entry points unsecured by default, and/or place the control sockets in insecure paths. This issue affects Kea versions 2.4.0 through 2.4.1, 2.6.0 through 2.6.2, and 2.7.0 through 2.7.8.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceKea DHCP server allows loading hook libraries through configuration and API directives. The vulnerability is exploitable due to default insecure settings: running as root, unsecured API endpoints, and control sockets in insecure paths. An attacker with access to the API or configuration could load a malicious hook library to execute arbitrary code.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify Kea DHCP server is installed and runningCheck for kea-dhcp4 or kea-dhcp6 processes: ps aux | grep kea or systemctl status kea-dhcp4Affected if Kea DHCP server is present on the system
-
Check if Kea is running as rootInspect the process user: ps aux | grep kea-dhcp or check config for 'user' setting under Dhcp4 or Dhcp6 sectionAffected if The process runs as root or the configured user is root
-
Inspect API endpoint configuration for lack of authenticationExamine control-socket or http-settings in kea.conf: look for ControlSocket or HttpListener sections and verify if authentication/authorization is configuredAffected if HTTP control channels have no authentication or are bound to unsecured interfaces (0.0.0.0)
-
Verify control socket file permissions and pathCheck socket file locations in config (control-socket configuration) and their permissions: ls -la /path/to/socket or equivalentAffected if Control sockets reside in world-writable directories (e.g., /tmp) or have overly permissive access (777)
-
Check for hook library loading configurationSearch config for 'hooks-libraries' entries: grep -r 'hooks-libraries' /etc/kea/ or examine the Dhcp4/Dhcp6 config sectionAffected if Hook libraries are configured and loadable from user-controlled paths
A user is affected if Kea DHCP is running with any combination of root execution, unauthenticated API endpoints, insecure socket paths, and hook libraries are loadable through configuration or API access.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedRestrict API access, avoid running Kea as root, place control sockets in secure paths with restricted permissions, and audit hook library configurations.
Upgrade to Kea 2.7.9 or later in the 2.7.x branch (or the equivalent latest stable release in your current branch: 2.4.2+, 2.6.3+, or 2.7.9+)
- 1. Identify the currently running Kea version using 'kea-dhcp4 --version' or 'kea-dhcp6 --version'
- 2. Based on your current version line, upgrade to the next available stable release in that branch (e.g., if on 2.7.x, upgrade to 2.7.9 or later)
- 3. Download the updated Kea packages from the official ISC website or your distribution's package repository
- 4. Stop the Kea service before upgrading: 'systemctl stop kea-dhcp4' and/or 'systemctl stop kea-dhcp6'
- 5. Install the upgraded packages using your system's package manager
- 6. Review and secure Kea configuration: ensure control sockets are in restricted directories (e.g., /var/run/kea), enable authentication for API endpoints, and avoid running Kea as root if possible
- 7. Start the Kea service and verify it operates normally: 'systemctl start kea-dhcp4' and/or 'systemctl start kea-dhcp6'
- 8. Monitor logs for any errors and confirm the new version is running
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-32801 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-32801 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data