# CVE-2022-2928: An option refcount overflow exists in dhcpd

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.36% (percentile 72, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2022-10-07T04:45:11.751Z
- **Modified:** 2026-06-17T04:42:50.170Z

## Who should check

- Anyone running ISC DHCP 4.4.0 through versions before 4.4.3-P1; 4.1 ESV 4.1-ESV-R1 through versions before 4.1-ESV-R16-P1

## Description

In ISC DHCP 4.4.0 -\> 4.4.3, ISC DHCP 4.1-ESV-R1 -\> 4.1-ESV-R16-P1, when the function option\_code\_hash\_lookup() is called from add\_option(), it increases the option's refcount field. However, there is not a corresponding call to option\_dereference() to decrement the refcount field. The function add\_option() is only used in server responses to lease query packets. Each lease query response calls this function for several options, so eventually, the reference counters could overflow and cause the server to abort.

## Affected and fixed versions

- ISC DHCP: 4.4.0 through versions before 4.4.3-P1; 4.1 ESV 4.1-ESV-R1 through versions before 4.1-ESV-R16-P1 (cvelist)

## Mitigation

- Vendor workaround: Disable lease query on the server for DHCPv4 or restart the server periodically.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-2928. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-2928.md
Affected: ISC DHCP 4.4.0 through versions before 4.4.3-P1; 4.1 ESV 4.1-ESV-R1 through versions before 4.1-ESV-R16-P1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for ISC DHCP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-2928 being exploited?

There is no confirmed exploitation: CVE-2022-2928 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.36% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-2928?

Medium: CVSS 6.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-2928?

ISC DHCP 4.4.0 through versions before 4.4.3-P1; 4.1 ESV 4.1-ESV-R1 through versions before 4.1-ESV-R16-P1.

### Is there a fix for CVE-2022-2928?

No fixed version is listed in the sources yet. Vendor workaround: Disable lease query on the server for DHCPv4 or restart the server periodically.

### How do I check if I'm affected by CVE-2022-2928?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://kb.isc.org/docs/cve-2022-2928>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QQXYCIWUDILRCNBAIMVFCSGXBRKEPB4K/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T6IBFH4MRRNJQVWEKILQ6I6CXWW766FX/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2SARIK7KZ7MGQIWDRWZFAOSQSPXY4GOU/>
- vendor: <https://security.gentoo.org/glsa/202305-22>
- other: <https://lists.debian.org/debian-lts-announce/2022/10/msg00015.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-2928>

HTML: <https://flawdb.com/CVE-2022-2928> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-2928>
