Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-25217

published high CVSS 3.1 · 7.4

A buffer overrun in lease file parsing code can be used to exploit a common vulnerability shared by dhcpd and dhclient

Published
26 May 2021, 22:10:11 UTC
Updated
16 Sep 2024, 22:08:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ISC — ISC DHCP4.1 ESV to < 4.1-ESV-R16-P1 · 4.4 to < 4.4.2-P1 Affected Not stated isc
Amazon Linux AL2 Release evaluationALAS2-2021-1654 Fixed Not stated Amazon Linux assessment
Alpine Linux v3.12 dhcp Fixed 4.4.2_p1-r0 Package fix record
Debian stretch isc-dhcp Advisory build 4.3.5-3+deb9u2 DLA-2674-1
Oracle Linux 6 dhclienti686 Advisory build 12:4.1.1-63.P1.0.2.el6_10 ELSA-2021-9314
Red Hat Enterprise Linux RHEL-6 dhclienti686 Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Alpine Linux v3.13 dhcp Fixed 4.4.2_p1-r0 Package fix record
Alpine Linux v3.14 dhcp Fixed 4.4.2_p1-r0 Package fix record
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.15 dhcp Fixed 4.4.2_p1-r0 Package fix record
Alpine Linux v3.16 dhcp Fixed 4.4.2_p1-r0 Package fix record
Alpine Linux v3.17 dhcp Fixed 4.4.2_p1-r0 Package fix record
Alpine Linux v3.18 dhcp Fixed 4.4.2_p1-r0 Package fix record
Alpine Linux v3.19 dhcp Fixed 4.4.2_p1-r0 Package fix record
Alpine Linux v3.20 dhcp Fixed 4.4.2_p1-r0 Package fix record
Oracle Linux 6 dhclientx86_64 Advisory build 12:4.1.1-63.P1.0.2.el6_10 ELSA-2021-9314
Oracle Linux 6 dhcpi686 Advisory build 12:4.1.1-63.P1.0.2.el6_10 ELSA-2021-9314
Oracle Linux 6 dhcpx86_64 Advisory build 12:4.1.1-63.P1.0.2.el6_10 ELSA-2021-9314
Oracle Linux 6 dhcp-commoni686 Advisory build 12:4.1.1-63.P1.0.2.el6_10 ELSA-2021-9314
Oracle Linux 6 dhcp-commonx86_64 Advisory build 12:4.1.1-63.P1.0.2.el6_10 ELSA-2021-9314
Oracle Linux 6 dhcp-develi686 Advisory build 12:4.1.1-63.P1.0.2.el6_10 ELSA-2021-9314
Oracle Linux 6 dhcp-develx86_64 Advisory build 12:4.1.1-63.P1.0.2.el6_10 ELSA-2021-9314
Oracle Linux 7 dhclientaarch64 Advisory build 12:4.2.5-83.0.1.el7_9.1 ELSA-2021-2357
Oracle Linux 7 dhclientx86_64 Advisory build 12:4.2.5-83.0.1.el7_9.1 ELSA-2021-2357
Oracle Linux 7 dhcpaarch64 Advisory build 12:4.2.5-83.0.1.el7_9.1 ELSA-2021-2357
Oracle Linux 7 dhcpx86_64 Advisory build 12:4.2.5-83.0.1.el7_9.1 ELSA-2021-2357
Oracle Linux 7 dhcp-commonaarch64 Advisory build 12:4.2.5-83.0.1.el7_9.1 ELSA-2021-2357
Oracle Linux 7 dhcp-commonx86_64 Advisory build 12:4.2.5-83.0.1.el7_9.1 ELSA-2021-2357
Oracle Linux 7 dhcp-develaarch64 Advisory build 12:4.2.5-83.0.1.el7_9.1 ELSA-2021-2357
Oracle Linux 7 dhcp-develx86_64 Advisory build 12:4.2.5-83.0.1.el7_9.1 ELSA-2021-2357
Oracle Linux 7 dhcp-libsaarch64 Advisory build 12:4.2.5-83.0.1.el7_9.1 ELSA-2021-2357
Oracle Linux 7 dhcp-libsx86_64 Advisory build 12:4.2.5-83.0.1.el7_9.1 ELSA-2021-2357
Oracle Linux 8 dhcp-clientaarch64 Advisory build 12:4.3.6-44.el8_4.1 ELSA-2021-2359
Oracle Linux 8 dhcp-clientx86_64 Advisory build 12:4.3.6-44.el8_4.1 ELSA-2021-2359
Oracle Linux 8 dhcp-commonaarch64 Advisory build 12:4.3.6-44.el8_4.1 ELSA-2021-2359
Oracle Linux 8 dhcp-commonx86_64 Advisory build 12:4.3.6-44.el8_4.1 ELSA-2021-2359
Oracle Linux 8 dhcp-libsaarch64 Advisory build 12:4.3.6-44.el8_4.1 ELSA-2021-2359
Oracle Linux 8 dhcp-libsx86_64 Advisory build 12:4.3.6-44.el8_4.1 ELSA-2021-2359
Oracle Linux 8 dhcp-relayaarch64 Advisory build 12:4.3.6-44.el8_4.1 ELSA-2021-2359
Oracle Linux 8 dhcp-relayx86_64 Advisory build 12:4.3.6-44.el8_4.1 ELSA-2021-2359
Oracle Linux 8 dhcp-serveraarch64 Advisory build 12:4.3.6-44.el8_4.1 ELSA-2021-2359
Oracle Linux 8 dhcp-serverx86_64 Advisory build 12:4.3.6-44.el8_4.1 ELSA-2021-2359
Red Hat Enterprise Linux RHEL-6 dhclients390x Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhclientx86_64 Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcpi686 Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcps390x Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcpsrc Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcpx86_64 Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcp-commoni686 Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcp-commons390x Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcp-commonx86_64 Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcp-debuginfoi686 Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcp-debuginfos390 Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcp-debuginfos390x Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcp-debuginfox86_64 Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcp-develi686 Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcp-devels390 Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcp-devels390x Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-6 dhcp-develx86_64 Advisory build 12:4.1.1-64.P1.el6_10 RHSA-2021:2419
Red Hat Enterprise Linux RHEL-7 dhclientppc64 Advisory build 12:4.2.5-77.el7_7.1 RHSA-2021:2405
Red Hat Enterprise Linux RHEL-7 dhclientppc64 Advisory build 12:4.2.5-83.el7_9.1 RHSA-2021:2357
Red Hat Enterprise Linux RHEL-7 dhclientppc64le Advisory build 12:4.2.5-58.el7_4.5 RHSA-2021:2414
Red Hat Enterprise Linux RHEL-7 dhclientppc64le Advisory build 12:4.2.5-69.el7_6.1 RHSA-2021:2469
Red Hat Enterprise Linux RHEL-7 dhclientppc64le Advisory build 12:4.2.5-77.el7_7.1 RHSA-2021:2405
Red Hat Enterprise Linux RHEL-7 dhclientppc64le Advisory build 12:4.2.5-83.el7_9.1 RHSA-2021:2357
Red Hat Enterprise Linux RHEL-7 dhclients390x Advisory build 12:4.2.5-77.el7_7.1 RHSA-2021:2405
Red Hat Enterprise Linux RHEL-7 dhclients390x Advisory build 12:4.2.5-83.el7_9.1 RHSA-2021:2357
Red Hat Enterprise Linux RHEL-7 dhclientx86_64 Advisory build 12:4.2.5-42.el7_2.2 RHSA-2021:2418
Red Hat Enterprise Linux RHEL-7 dhclientx86_64 Advisory build 12:4.2.5-47.el7_3.2 RHSA-2021:2415
Red Hat Enterprise Linux RHEL-7 dhclientx86_64 Advisory build 12:4.2.5-58.el7_4.5 RHSA-2021:2414
Red Hat Enterprise Linux RHEL-7 dhclientx86_64 Advisory build 12:4.2.5-69.el7_6.1 RHSA-2021:2469
Red Hat Enterprise Linux RHEL-7 dhclientx86_64 Advisory build 12:4.2.5-77.el7_7.1 RHSA-2021:2405
Red Hat Enterprise Linux RHEL-7 dhclientx86_64 Advisory build 12:4.2.5-83.el7_9.1 RHSA-2021:2357
Red Hat Enterprise Linux RHEL-7 dhcpppc64 Advisory build 12:4.2.5-77.el7_7.1 RHSA-2021:2405
Red Hat Enterprise Linux RHEL-7 dhcpppc64 Advisory build 12:4.2.5-83.el7_9.1 RHSA-2021:2357
Red Hat Enterprise Linux RHEL-7 dhcpppc64le Advisory build 12:4.2.5-58.el7_4.5 RHSA-2021:2414
Red Hat Enterprise Linux RHEL-7 dhcpppc64le Advisory build 12:4.2.5-69.el7_6.1 RHSA-2021:2469
Red Hat Enterprise Linux RHEL-7 dhcpppc64le Advisory build 12:4.2.5-77.el7_7.1 RHSA-2021:2405
Red Hat Enterprise Linux RHEL-7 dhcpppc64le Advisory build 12:4.2.5-83.el7_9.1 RHSA-2021:2357
Red Hat Enterprise Linux RHEL-7 dhcps390x Advisory build 12:4.2.5-77.el7_7.1 RHSA-2021:2405
Red Hat Enterprise Linux RHEL-7 dhcps390x Advisory build 12:4.2.5-83.el7_9.1 RHSA-2021:2357
Red Hat Enterprise Linux RHEL-7 dhcpsrc Advisory build 12:4.2.5-42.el7_2.2 RHSA-2021:2418
Red Hat Enterprise Linux RHEL-7 dhcpsrc Advisory build 12:4.2.5-47.el7_3.2 RHSA-2021:2415
Red Hat Enterprise Linux RHEL-7 dhcpsrc Advisory build 12:4.2.5-58.el7_4.5 RHSA-2021:2414
Red Hat Enterprise Linux RHEL-7 dhcpsrc Advisory build 12:4.2.5-69.el7_6.1 RHSA-2021:2469
Red Hat Enterprise Linux RHEL-7 dhcpsrc Advisory build 12:4.2.5-77.el7_7.1 RHSA-2021:2405
Red Hat Enterprise Linux RHEL-7 dhcpsrc Advisory build 12:4.2.5-83.el7_9.1 RHSA-2021:2357
Red Hat Enterprise Linux RHEL-7 dhcpx86_64 Advisory build 12:4.2.5-42.el7_2.2 RHSA-2021:2418
Red Hat Enterprise Linux RHEL-7 dhcpx86_64 Advisory build 12:4.2.5-47.el7_3.2 RHSA-2021:2415
Red Hat Enterprise Linux RHEL-7 dhcpx86_64 Advisory build 12:4.2.5-58.el7_4.5 RHSA-2021:2414
Red Hat Enterprise Linux RHEL-7 dhcpx86_64 Advisory build 12:4.2.5-69.el7_6.1 RHSA-2021:2469
Red Hat Enterprise Linux RHEL-7 dhcpx86_64 Advisory build 12:4.2.5-77.el7_7.1 RHSA-2021:2405
Red Hat Enterprise Linux RHEL-7 dhcpx86_64 Advisory build 12:4.2.5-83.el7_9.1 RHSA-2021:2357
Red Hat Enterprise Linux RHEL-7 dhcp-commonppc64 Advisory build 12:4.2.5-77.el7_7.1 RHSA-2021:2405
Red Hat Enterprise Linux RHEL-7 dhcp-commonppc64 Advisory build 12:4.2.5-83.el7_9.1 RHSA-2021:2357
Red Hat Enterprise Linux RHEL-7 dhcp-commonppc64le Advisory build 12:4.2.5-58.el7_4.5 RHSA-2021:2414
Red Hat Enterprise Linux RHEL-7 dhcp-commonppc64le Advisory build 12:4.2.5-69.el7_6.1 RHSA-2021:2469
Red Hat Enterprise Linux RHEL-7 dhcp-commonppc64le Advisory build 12:4.2.5-77.el7_7.1 RHSA-2021:2405
Red Hat Enterprise Linux RHEL-7 dhcp-commonppc64le Advisory build 12:4.2.5-83.el7_9.1 RHSA-2021:2357
Red Hat Enterprise Linux RHEL-7 dhcp-commons390x Advisory build 12:4.2.5-77.el7_7.1 RHSA-2021:2405
Red Hat Enterprise Linux RHEL-7 dhcp-commons390x Advisory build 12:4.2.5-83.el7_9.1 RHSA-2021:2357
Red Hat Enterprise Linux RHEL-7 dhcp-commonx86_64 Advisory build 12:4.2.5-42.el7_2.2 RHSA-2021:2418
Red Hat Enterprise Linux RHEL-7 dhcp-commonx86_64 Advisory build 12:4.2.5-47.el7_3.2 RHSA-2021:2415

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · isc · cna

Vendor advisories explicitly linked to this CVE.

42

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.4 / 10
Severity
high
Provider
isc · cna
Vector string
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ISC ISC DHCP 4.1 ESV to < 4.1-ESV-R16-P1 (affected · custom)4.4 to < 4.4.2-P1 (affected · custom) isc · cna

Weaknesses

1
  • Program code used by the ISC DHCP package to read and parse stored leases has a defect that can be exploited by an attacker to cause one of several undesirable outcomes, depending on the component attacked and the way in which it was compiled. Because of a discrepancy between the code which handles encapsulated option information in leases transmitted "on the wire" and the code which reads and parses lease information after it has been written to disk storage, it is potentially possible for an attacker to deliberately cause a situation where: dhcpd, while running in DHCPv4 or DHCPv6 mode, or dhclient, the ISC DHCP client implementation will attempt to read a stored lease that contains option information which will trigger a bug in the option parsing code. Affects 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. Affects both dhcpd (server) and dhcpcd (client). (isc · cna)

References

9

Provider assertions

2

isc · cna

A buffer overrun in lease file parsing code can be used to exploit a common vulnerability shared by dhcpd and dhclient

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
fab3d98ea000a442d71e97613148a712e47969403ecc0026854a7ef6d1a03ccc
Ingested
23 Sep 2026, 07:53:11 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected