{"id":"CVE-2007-5365","published":"2007-10-11T10:00:00Z","modified":"2024-08-07T15:31:57Z","title":"Stack-based buffer overflow in the cons_options function in options.c in dhcpd in OpenBSD 4.0 through 4.2, and some…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"A stack-based buffer overflow in the cons_options function in options.c of dhcpd in OpenBSD 4.0 through 4.2, and in some other dhcpd implementations based on ISC dhcp-2, lives in the DHCP server's option-handling code. An unauthenticated remote attacker can send a crafted DHCP request that specifies a maximum message size smaller than the minimum IP MTU, allowing arbitrary code execution or a denial of service by crashing the daemon, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:20:14Z"},"cvss":null,"epss":{"score":0.80265,"percentile":0.99618,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"http://secunia.com/advisories/27338","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/27350","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2008/3088","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://www.exploit-db.com/exploits/4601","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/options.c","tags":["x_refsource_CONFIRM"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446354","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openbsd.org/errata42.html#001_dhcpd","tags":["vendor-advisory","x_refsource_OPENBSD"]},{"url":"http://www.securityfocus.com/bid/25984","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securityfocus.com/archive/1/483230/100/100/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/37045","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0970.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.debian.org/security/2007/dsa-1388","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.coresecurity.com/index.php5?module=ContentMod&action=item&id=1962","tags":["x_refsource_MISC"]},{"url":"http://www.ubuntu.com/usn/usn-531-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5817","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.ubuntu.com/usn/usn-531-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://secunia.com/advisories/27160","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/archive/1/482085/100/100/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/27273","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.openbsd.org/errata40.html#016_dhcpd","tags":["vendor-advisory","x_refsource_OPENBSD"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-243806-1","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"http://secunia.com/advisories/32668","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.openbsd.org/errata41.html#010_dhcpd","tags":["vendor-advisory","x_refsource_OPENBSD"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-21-109077-21-1","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id?1018794","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://securitytracker.com/id?1021157","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.securityfocus.com/bid/32213","tags":["vdb-entry","x_refsource_BID"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2007-5343","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2007-5343","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":4601,"url":"https://www.exploit-db.com/exploits/4601","title":"Ubuntu 6.06 - DHCPd Remote Denial of Service","type":"dos","platform":"multiple","date":"2007-11-02","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2007-11-02"},"first":{"date":"2007-11-02","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/4601"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/4601"],"flow":[],"timeline":[{"date":"2007-10-11","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2007-5365","provenance":"source"},{"date":"2007-11-02","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-4601)","url":"https://www.exploit-db.com/exploits/4601","provenance":"source"}],"speed":{"daysToPublicExploit":22,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.92,"detail":"percentile 0.9962"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 1 Exploit-DB entry"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}