CVE-2007-5365
Stack-based buffer overflow in the cons_options function in options.c in dhcpd in OpenBSD 4.0...
CVE-2007-5365 is a high vulnerability (CVSS 7.2) in Openbsd, published October 11, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 80.3%, the 99th percentile. Fixed in dhcp 2.0pl5-19.5etch1.
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.
Exploit likelihood
What each source reports
NVD Score used
7.2
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.
- Record
CVE-2007-5365- CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2007-5365- Updated
- 2026-11-02
EUVDEUVD-2007-5343 No score
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.
- Record
EUVD-2007-5343- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-q79j-j4r9-8grp No score
Stack-based buffer overflow in the cons_options function in options.c in dhcpd in OpenBSD 4.0...
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.
- Record
GHSA-q79j-j4r9-8grp- Weakness
- CWE-119
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
dhcpDebian:4.0 |
before 2.0pl5-19.5etch1, plus listed versions 2.0pl5-19.5 |
2.0pl5-19.5etch1 |
dhcpDebian:3.1 |
before 2.0pl5-19.1sarge3, plus listed versions 2.0pl5-19.12.0pl5-19.1sarge2 |
2.0pl5-19.1sarge3 |
dhcpDebian:4.0 |
before 2.0pl5-19.5etch2, plus listed versions 2.0pl5-19.52.0pl5-19.5etch1 |
2.0pl5-19.5etch2 |
dhcpRed Hat:enterprise_linux:2.1::as |
before 1:2.0pl5-11 | 1:2.0pl5-11 |
dhcpRed Hat:enterprise_linux:2.1::aw |
before 1:2.0pl5-11 | 1:2.0pl5-11 |
dhcpRed Hat:enterprise_linux:2.1::es |
before 1:2.0pl5-11 | 1:2.0pl5-11 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Ubuntu 6.06 - DHCPd Remote Denial of Service | 2007-11-02 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | affected, aliases, exploits, facts, references, title | Exploit-DB, GitHub Advisories, OSV |
| 2026-11-02 | created | CVE List, NVD |
References
secunia.com/advisories/27338
secunia.com/advisories/27350
vupen.com/english/advisories/2008/3088
exploit-db.com/exploits/4601
openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/options.c
bugs.debian.org/cgi-bin/bugreport.cgi?bug=446354
Show 33 moreShow less
openbsd.org/errata42.html
securityfocus.com/bid/25984
securityfocus.com/archive/1/483230/100/100/threaded
exchange.xforce.ibmcloud.com/vulnerabilities/37045
redhat.com/support/errata/RHSA-2007-0970.html
debian.org/security/2007/dsa-1388
coresecurity.com/index.php5?module=ContentMod&action=item&id=1962
ubuntu.com/usn/usn-531-1
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5817
ubuntu.com/usn/usn-531-2
secunia.com/advisories/27160
securityfocus.com/archive/1/482085/100/100/threaded
secunia.com/advisories/27273
openbsd.org/errata40.html
sunsolve.sun.com/search/document.do?assetkey=1-26-243806-1
secunia.com/advisories/32668
openbsd.org/errata41.html
sunsolve.sun.com/search/document.do?assetkey=1-21-109077-21-1
securitytracker.com/id?1018794
securitytracker.com/id?1021157
securityfocus.com/bid/32213
nvd.nist.gov/vuln/detail/CVE-2007-5365
github.com/advisories/GHSA-q79j-j4r9-8grp
access.redhat.com/errata/RHSA-2007:0970
redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=327781
security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0970.json
access.redhat.com/security/cve/CVE-2007-0063
bugzilla.redhat.com/show_bug.cgi?id=1618264
cve.org/CVERecord?id=CVE-2007-0063
nvd.nist.gov/vuln/detail/CVE-2007-0063
access.redhat.com/security/cve/CVE-2007-5365
cve.org/CVERecord?id=CVE-2007-5365