Stack-based buffer overflow in the cons_options function in options.c in dhcpd in OpenBSD 4.0 through 4.2, and some other dhcpd implementati
Stack-based buffer overflow in the cons_options function in options.c in dhcpd in OpenBSD 4.0 through 4.2, and some other dhcpd implementations based on ISC dhcp-2, allows remote attackers to execute arbitrary code or cause a denial of service (daemon crash) via a DHCP request specifying a maximum message size smaller than the minimum IP MTU.
- Published
- Oct 11, 2007
- Updated
- Jun 16, 2026
- EPSS
- 80.3% · 100th percentile
- CWE
- CWE-119
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
52
Plan
Add it to your regular patch cycle.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 24 / 30 · 80.3%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| openbsd | openbsd | cpe:2.3:o:openbsd:openbsd |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | linux advanced workstation | cpe:2.3:o:redhat:linux_advanced_workstation |
| sun | opensolaris | cpe:2.3:o:sun:opensolaris |
| sun | solaris | cpe:2.3:o:sun:solaris |
| ubuntu | ubuntu linux | cpe:2.3:o:ubuntu:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux3.1
- debian debian linux4.0
- openbsd openbsd4.0
- openbsd openbsd4.1
- openbsd openbsd4.2
- redhat enterprise linux2.1
- redhat linux advanced workstation2.1
- sun opensolarissnv_01
- sun opensolarissnv_02
- sun opensolarissnv_03
- sun opensolarissnv_04
- sun opensolarissnv_05
- sun opensolarissnv_06
- sun opensolarissnv_07
- sun opensolarissnv_08
- sun opensolarissnv_09
- sun opensolarissnv_10
- sun opensolarissnv_100
- sun opensolarissnv_101
- sun opensolarissnv_102
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:3.1 | dhcp | before 2.0pl5-19.1sarge3 | 2.0pl5-19.1sarge3 |
| Debian:4.0 | dhcp | before 2.0pl5-19.5etch1 | 2.0pl5-19.5etch1 |
| Debian:4.0 | dhcp | before 2.0pl5-19.5etch2 | 2.0pl5-19.5etch2 |
| Red Hat:enterprise_linux:2.1::as | dhcp | before 1:2.0pl5-11 | 1:2.0pl5-11 |
Same product
openbsd: all recordsOther highest-scoring records for the same primary product.
- CVE-2007-1365Buffer overflow in kern/uipc_mbuf2.c in OpenBSD 3.9 and 4.0 allows remote attackers to execute arbitrary code via fragmented IPv6 packets du45Plan
- CVE-2004-0220isakmpd in OpenBSD 3.4 and earlier allows remote attackers to cause a denial of service via an ISAKMP packet with a malformed Cert Request p41Plan
- CVE-2001-0284Buffer overflow in IPSEC authentication mechanism for OpenBSD 2.8 and earlier allows remote attackers to cause a denial of service and possi41Plan
- CVE-2000-1010Format string vulnerability in talkd in OpenBSD and possibly other BSD-based OSes allows remote attackers to execute arbitrary commands via 41Plan
- CVE-2020-16088iked in OpenIKED, as used in OpenBSD through 6.7, allows authentication bypass because ca.c has the wrong logic for checking whether a publi40Plan
- CVE-2019-19521libc in OpenBSD 6.6 allows authentication bypass via the -schallenge username, as demonstrated by smtpd, ldapd, or radiusd.40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:dhcp | 2.0pl5-19.5etch1 · Debian:4.0 | Package registry (OSV) |
| red hat:dhcp | 1:2.0pl5-11 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | dos | 2007-11-02 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+22 d
- TodaySep 30, 2026+6930 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=446354
- secunia.com/advisories/27160
- secunia.com/advisories/27273
- secunia.com/advisories/27338
- secunia.com/advisories/27350
- secunia.com/advisories/32668
- securitytracker.com/id?1021157
- sunsolve.sun.com/search/document.do?assetkey=1-21-109077-21-1
- sunsolve.sun.com/search/document.do?assetkey=1-26-243806-1
- www.coresecurity.com/index.php5?module=ContentMod&action=item&id=1962
- www.debian.org/security/2007/dsa-1388
- www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/options.c
- www.openbsd.org/errata40.html#016_dhcpd
- www.openbsd.org/errata41.html#010_dhcpd
- www.openbsd.org/errata42.html#001_dhcpd
- www.redhat.com/support/errata/RHSA-2007-0970.html
- www.securityfocus.com/archive/1/482085/100/100/threaded
- www.securityfocus.com/archive/1/483230/100/100/threaded
- www.securityfocus.com/bid/25984
- www.securityfocus.com/bid/32213
Vendor advisories and official records. Exploit/PoC links are deliberately left out.