CVE-2007-5365: 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…
Noroxi assessment
Priority: Plan (action score 52/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 80.2% (FIRST EPSS); higher than 99.6% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: dhcp (Debian:3.1) 2.0pl5-19.1sarge3; dhcp (Debian:4.0) 2.0pl5-19.5etch1, 2.0pl5-19.5etch2; dhcp (Red Hat:enterprise_linux:2.1::as) 1:2.0pl5-11.
Add it to your regular patch cycle. Upgrade to dhcp (Debian:3.1) 2.0pl5-19.1sarge3; dhcp (Debian:4.0) 2.0pl5-19.5etch1, 2.0pl5-19.5etch2; dhcp (Red Hat:enterprise_linux:2.1::as) 1:2.0pl5-11 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.2% · 99th percentile
- CWE
- CWE-119
Report tools
Action score
52
Add it to your regular patch cycle.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 24 / 30 · 80.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| 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
+12 more rows
- 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…46Plan
- 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…41Plan
- CVE-2001-0284Buffer overflow in IPSEC authentication mechanism for OpenBSD 2.8 and earlier allows remote attackers to cause a denial of service and…41Plan
Published before and after this one in the same product
- ← EarlierCVE-2007-0343Jan 17, 2007 · OpenBSD before 20070116 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via certain IPv6 ICMP (aka…21Monitor
- ← EarlierCVE-2007-2242Apr 25, 2007 · The IPv6 protocol allows remote attackers to cause a denial of service via crafted IPv6 type 0 route headers (IPV6_RTHDR_TYPE_0) that…33Monitor
- Later →CVE-2008-0384Jan 22, 2008 · OpenBSD 4.2 allows local users to cause a denial of service (kernel panic) by calling the SIOCGIFRTLABEL IOCTL on an interface that does…19Monitor
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
- TodayNov 16, 2026+6976 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
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
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- 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.