Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-25217

dhcp: stack-based buffer overflow when parsing statements with colon-separated hex digits in config or lease files in dhcpd and dhclient

Overview

Published
26 May 2021
Modified
17 Jun 2026
High CVE
0 Registry packages
20 OS packages
9 Linux distributions
Yes Fix available

Description

In ISC DHCP 4.1-ESV-R1 -> 4.1-ESV-R16, ISC DHCP 4.4.0 -> 4.4.2 (Other branches of ISC DHCP (i.e., releases in the 4.0.x series or lower and releases in the 4.3.x series) are beyond their End-of-Life (EOL) and no longer supported by ISC. From inspection it is clear that the defect is also present in releases from those series, but they have not been officially tested for the vulnerability), The outcome of encountering the defect while reading a lease that will trigger it varies, according to: the component being affected (i.e., dhclient or dhcpd) whether the package was built as a 32-bit or 64-bit binary whether the compiler flag -fstack-protection-strong was used when compiling In dhclient, ISC has not successfully reproduced the error on a 64-bit system. However, on a 32-bit system it is possible to cause dhclient to crash when reading an improper lease, which could cause network connectivity problems for an affected system due to the absence of a running DHCP client process. In dhcpd, when run in DHCPv4 or DHCPv6 mode: if the dhcpd server binary was built for a 32-bit architecture AND the -fstack-protection-strong flag was specified to the compiler, dhcpd may exit while parsing a lease file containing an objectionable lease, resulting in lack of service to clients. Additionally, the offending lease and the lease immediately following it in the lease database may be improperly deleted. if the dhcpd server binary was built for a 64-bit architecture OR if the -fstack-protection-strong compiler flag was NOT specified, the crash will not occur, but it is possible for the offending lease and the lease which immediately followed it to be improperly deleted.

Source: OX vulnerability database

Severity

7.4 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Adjacent
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
High

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

Weakness: CWE-119

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 35 fixes

Oracle Linux 2 releases · 2 packages

fixed 2
dhclient dhcp-client
Oracle Linux fixes for CVE-2021-25217
ReleasePackageFixed in
7 dhclient +4 12:4.2.5-83.0.1.el7_9.1
8 dhcp-client +4 12:4.3.6-44.el8_4.1

Photon OS 1 release · 1 package

fixed 1
dhcp
Photon OS fixes for CVE-2021-25217
ReleasePackageFixed in
4.0 dhcp +4 4.4.2-3.ph4

Red Hat 2 releases · 7 packages

fixed 17
cri-o redhat-virtualization-host-image-update openshift-clients dhclient polkit openshift-kuryr-cni +1
Red Hat fixes for CVE-2021-25217
ReleasePackageFixed inAdvisory
7 cri-o 0:1.20.3-6.rhaos4.7.git0d0f863.el7 RHSA-2021:2555
7 redhat-virtualization-host-image-update 0:4.3.16-20210615.0.el7_9 RHSA-2021:2519
7 openshift-clients +1 0:4.7.0-202106252127.p0.git.8b4b094.el7 RHSA-2021:2555
7 dhclient +4 12:4.2.5-42.el7_2.2 RHSA-2021:2418
7 dhclient +4 12:4.2.5-47.el7_3.2 RHSA-2021:2415
7 dhclient +4 12:4.2.5-58.el7_4.5 RHSA-2021:2414

11 more rows

SUSE Linux Enterprise 1 release · 1 package

fixed 1
dhcp
SUSE Linux Enterprise fixes for CVE-2021-25217
ReleasePackageFixed inAdvisory
12.5 dhcp +4 4.3.3-10.22.1 SUSE-SU-2021:1822-1

debian 5 releases · 1 package

fixed 5
isc-dhcp
debian fixes for CVE-2021-25217
ReleasePackageFixed in
10 isc-dhcp 4.4.1-2+deb10u1
11 isc-dhcp 4.4.1-2.3
12 isc-dhcp 4.4.1-2.3
13 isc-dhcp 4.4.1-2.3
9 isc-dhcp 4.3.5-3+deb9u2

echo 1 release · 1 package

fixed 1
isc-dhcp
echo fixes for CVE-2021-25217
ReleasePackageFixed in
isc-dhcp 4.4.1-2.3

openSUSE 1 release · 1 package

fixed 1
dhcp
openSUSE fixes for CVE-2021-25217
ReleasePackageFixed inAdvisory
Tumbleweed dhcp +5 4.4.2.P1-2.4 openSUSE-SU-2024:10715-1

rocky 1 release · 1 package

fixed 2
dhcp-client
rocky fixes for CVE-2021-25217
ReleasePackageFixed in
8 dhcp-client +4 12:4.3.6-44.el8_4.1
8 dhcp-client +4 2:4.3.6-44.el8_4.1

ubuntu 5 releases · 1 package

fixed 5
isc-dhcp
ubuntu fixes for CVE-2021-25217
ReleasePackageFixed in
18.04 isc-dhcp 4.3.5-3ubuntu7.3
18.04-ESM isc-dhcp 4.3.5-3ubuntu7.3
20.04 isc-dhcp 4.4.1-2.1ubuntu5.20.04.2
20.04-ESM isc-dhcp 4.4.1-2.1ubuntu5.20.04.2
22.04 isc-dhcp 4.4.1-2.2ubuntu7

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.