{"id":"CVE-2007-5365","aliases":["DEBIAN-CVE-2007-5365","DSA-1388-1","DSA-1388-3","EUVD-2007-5343","GHSA-q79j-j4r9-8grp","RHSA-2007:0970"],"status":"published","title":"Stack-based buffer overflow in the cons_options function in options.c in dhcpd in OpenBSD 4.0...","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.","severity":{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.80265,"percentile":0.99622,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-119"],"published":"2007-10-11T10:00:00Z","modified":"2026-06-26T10:07:34Z","exploits":[{"source":"exploitdb","id":"EDB-4601","title":"Ubuntu 6.06 - DHCPd Remote Denial of Service","type":"dos","platform":"multiple","date":"2007-11-02","verified":true,"url":"https://www.exploit-db.com/exploits/4601"}],"fixes":[{"ecosystem":"Debian:4.0","package":"dhcp","fixed_in":["2.0pl5-19.5etch1","2.0pl5-19.5etch2"],"sources":["osv"]},{"ecosystem":"Debian:3.1","package":"dhcp","fixed_in":["2.0pl5-19.1sarge3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"dhcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0pl5-19.5etch1"}]}],"versions":["2.0pl5-19.5"]},{"source":"osv","ecosystem":"Debian:3.1","package":"dhcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0pl5-19.1sarge3"}]}],"versions":["2.0pl5-19.1","2.0pl5-19.1sarge2"]},{"source":"osv","ecosystem":"Debian:4.0","package":"dhcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0pl5-19.5etch2"}]}],"versions":["2.0pl5-19.5","2.0pl5-19.5etch1"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:2.1::as","package":"dhcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0pl5-11"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:2.1::aw","package":"dhcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0pl5-11"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:2.1::es","package":"dhcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0pl5-11"}]}],"bundled":2}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"openbsd","product":"openbsd"},{"vendor":"redhat","product":"enterprise_linux"},{"vendor":"redhat","product":"linux_advanced_workstation"},{"vendor":"sun","product":"opensolaris"},{"vendor":"sun","product":"solaris"},{"vendor":"ubuntu","product":"ubuntu_linux"}],"references":[{"url":"http://secunia.com/advisories/27338","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/27350","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/3088","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"https://www.exploit-db.com/exploits/4601","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/options.c","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446354","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openbsd.org/errata42.html#001_dhcpd","tags":["vendor-advisory","x_refsource_OPENBSD","x_transferred","Patch"]},{"url":"http://www.securityfocus.com/bid/25984","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch"]},{"url":"http://www.securityfocus.com/archive/1/483230/100/100/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/37045","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0970.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.debian.org/security/2007/dsa-1388","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.coresecurity.com/index.php5?module=ContentMod\u0026action=item\u0026id=1962","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-531-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5817","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-531-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://secunia.com/advisories/27160","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/482085/100/100/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/27273","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.openbsd.org/errata40.html#016_dhcpd","tags":["vendor-advisory","x_refsource_OPENBSD","x_transferred","Patch"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-243806-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred"]},{"url":"http://secunia.com/advisories/32668","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.openbsd.org/errata41.html#010_dhcpd","tags":["vendor-advisory","x_refsource_OPENBSD","x_transferred","Patch"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-21-109077-21-1","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securitytracker.com/id?1018794","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://securitytracker.com/id?1021157","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://www.securityfocus.com/bid/32213","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5365","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-q79j-j4r9-8grp"},{"url":"https://access.redhat.com/errata/RHSA-2007:0970","tags":["advisory"]},{"url":"http://www.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=327781","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0970.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-0063","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1618264","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-0063","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-0063","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-5365","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-5365","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-5365","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.","status":"published","published":"2007-10-11T10:00:00Z","modified":"2024-08-07T15:31:57.167Z","updated_at":"2026-11-02T13:32:11.910312Z"}],"euvd":[{"id":"EUVD-2007-5343","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.","status":"published","published":"2007-10-11T10:00:00Z","modified":"2024-08-07T15:31:57Z","updated_at":"2026-11-03T01:16:17.784694Z"}],"ghsa":[{"id":"GHSA-q79j-j4r9-8grp","title":"Stack-based buffer overflow in the cons_options function in options.c in dhcpd in OpenBSD 4.0...","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.","status":"published","published":"2022-05-01T18:32:41Z","modified":"2023-01-31T05:04:35Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:48:41.999229Z"}],"nvd":[{"id":"CVE-2007-5365","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.","status":"published","published":"2007-10-11T10:17:00Z","modified":"2026-06-16T22:45:58.187Z","cvss":[{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:22.203764Z"}],"osv":[{"id":"DSA-1388-1","title":"dhcp","status":"published","published":"2007-10-18T00:00:00Z","modified":"2026-03-09T01:01:51.370152Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"DSA-1388-3","title":"dhcp - buffer overflow","status":"published","published":"2007-10-29T00:00:00Z","modified":"2026-03-09T01:01:21.935783Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"RHSA-2007:0970","title":"Red Hat Security Advisory: dhcp security update","status":"published","published":"2024-09-15T16:58:59Z","modified":"2026-06-26T10:07:34Z","updated_at":"2026-11-02T15:52:59.70892Z"}]}}
