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…
- 7.2HighCVSS base score
- 80.3%Exploitation in 30 daysEPSS · top 0.4% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it. A reference of the record is tagged as an exploit.
Show the exploits2
Exploit-DB1 entry
- Ubuntu 6.06 - DHCPd Remote Denial of Service (Exploit-DB entry) (opens in a new tab)
EDB-ID 4601dos, multiplepublished 2 Nov 2007Verified
References tagged exploit1 reference
- 4601 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 17 years later
· 17 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 80.3% · top 0.4% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.2.
Affected products
n/a
- affected n/a
References
27
- 27338 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 27350 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2008-3088 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 4601 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/options.c (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446354 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [4.2] 20071008 001: SECURITY FIX: October 8, 2007 (opens in a new tab)vendor-advisoryx_refsource_OPENBSDx_transferred
- 25984 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 20071102 DoS Exploit for DHCPd bug (Bugtraq ID 25984 ; CVE-2007-5365) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- openbsd-dhcp-bo(37045) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- RHSA-2007:0970 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-1388 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://www.coresecurity.com/index.php5?module=ContentMod&action=item&id=1962 (opens in a new tab)x_refsource_MISCx_transferred
- USN-531-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- oval:org.mitre.oval:def:5817 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- USN-531-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 27160 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20071011 CORE-2007-0928: Stack-based buffer overflow vulnerability in OpenBSDâ??s DHCP server (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 27273 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- [4.0] 20071008 016: SECURITY FIX: October 8, 2007 (opens in a new tab)vendor-advisoryx_refsource_OPENBSDx_transferred
- 243806 (opens in a new tab)vendor-advisoryx_refsource_SUNALERTx_transferred
- 32668 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- [4.1] 20071008 010: SECURITY FIX: October 8, 2007 (opens in a new tab)vendor-advisoryx_refsource_OPENBSDx_transferred
- http://sunsolve.sun.com/search/document.do?assetkey=1-21-109077-21-1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1018794 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 1021157 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 32213 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2007-5343 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2007-5365)Record last updated .