--- title: "CVE-2007-5365: Stack-based buffer overflow… | CubePath" 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…" language: en source: https://cubepath.com/security/cve/CVE-2007-5365 --- # CVE-2007-5365: Stack-based buffer overflow… | CubePath ## 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. Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2007-5365) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.80265 (80.3% probability) Percentile 99.6% Scores of Nov 10, 2026 Model v2026.06.15 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [27338](http://secunia.com/advisories/27338) (secunia.com) third-party-advisory - [27350](http://secunia.com/advisories/27350) (secunia.com) third-party-advisory - [ADV-2008-3088](http://www.vupen.com/english/advisories/2008/3088) (vupen.com) vdb-entry - [4601](https://www.exploit-db.com/exploits/4601) (exploit-db.com) exploit - [openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/options.c](http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/options.c) - [bugs.debian.org/cgi-bin/bugreport.cgi?bug=446354](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446354) - [\[4.2\] 20071008 001: SECURITY FIX: October 8, 2007](http://www.openbsd.org/errata42.html#001%5Fdhcpd) (openbsd.org) vendor-advisory - [25984](http://www.securityfocus.com/bid/25984) (securityfocus.com) vdb-entry - [20071102 DoS Exploit for DHCPd bug (Bugtraq ID 25984 ; CVE-2007-5365)](http://www.securityfocus.com/archive/1/483230/100/100/threaded) (securityfocus.com) mailing-list - [openbsd-dhcp-bo(37045)](https://exchange.xforce.ibmcloud.com/vulnerabilities/37045) (exchange.xforce.ibmcloud.com) vdb-entry - [RHSA-2007:0970](http://www.redhat.com/support/errata/RHSA-2007-0970.html) (redhat.com) vendor-advisory - [DSA-1388](http://www.debian.org/security/2007/dsa-1388) (debian.org) vendor-advisory - [coresecurity.com/index.php5?module=ContentMod&action=item&i…](http://www.coresecurity.com/index.php5?module=ContentMod&action=item&id=1962) - [USN-531-1](http://www.ubuntu.com/usn/usn-531-1) (ubuntu.com) vendor-advisory - [oval:org.mitre.oval:def:5817](https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5817) (oval.cisecurity.org) vdb-entry signature - [USN-531-2](http://www.ubuntu.com/usn/usn-531-2) (ubuntu.com) vendor-advisory - [27160](http://secunia.com/advisories/27160) (secunia.com) third-party-advisory - [20071011 CORE-2007-0928: Stack-based buffer overflow vulnerability in OpenBSDâ??s DHCP server](http://www.securityfocus.com/archive/1/482085/100/100/threaded) (securityfocus.com) mailing-list - [27273](http://secunia.com/advisories/27273) (secunia.com) third-party-advisory - [\[4.0\] 20071008 016: SECURITY FIX: October 8, 2007](http://www.openbsd.org/errata40.html#016%5Fdhcpd) (openbsd.org) vendor-advisory - [243806](http://sunsolve.sun.com/search/document.do?assetkey=1-26-243806-1) (sunsolve.sun.com) vendor-advisory - [32668](http://secunia.com/advisories/32668) (secunia.com) third-party-advisory - [\[4.1\] 20071008 010: SECURITY FIX: October 8, 2007](http://www.openbsd.org/errata41.html#010%5Fdhcpd) (openbsd.org) vendor-advisory - [sunsolve.sun.com/search/document.do?assetkey=1-21-109077-21…](http://sunsolve.sun.com/search/document.do?assetkey=1-21-109077-21-1) - [1018794](http://www.securitytracker.com/id?1018794) (securitytracker.com) vdb-entry - [1021157](http://securitytracker.com/id?1021157) (securitytracker.com) vdb-entry - [32213](http://www.securityfocus.com/bid/32213) (securityfocus.com) vdb-entry ## Timeline 1. ID reserved Oct 10, 2007 2. Record published Oct 11, 2007 3. Record last updated Aug 7, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:00 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)