CVE-2007-5365
HighPublic exploitdhcpd stack-based buffer overlow
Published Oct 8, 2007 · Updated Mar 9, 2026 · Also known as DEBIAN-CVE-2007-5365, DSA-1388-1, DSA-1388-3
Key Facts
Patch immediately- CVE-2007-5365 is a high-severity vulnerability (CVSS 7.2 v2) affecting Debian Linux, Openbsd, Enterprise Linux (Redhat) and 5 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 80% probability of exploitation in the next 30 days.
- Fixed versions are available, including dhcp 1:2.0pl5-11, dhcp 2.0pl5-19.1sarge3, dhcp 2.0pl5-19.5etch1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v2
7.2
AV:L/AC:L/Au:N/C:C/I:C/A:C
EPSS (30-day exploit likelihood)
80%
Higher than 99.6% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2007-5365 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Affected Products
224 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Debian LinuxDebian | 3.1, 4.0 | n/a |
| OpenbsdOpenbsd | 4.0, 4.1, 4.2 | n/a |
| Enterprise LinuxRedhat | 2.1 | n/a |
| Linux Advanced WorkstationRedhat | 2.1 | n/a |
| OpensolarisSun | snv_01, snv_02, snv_03, snv_04, snv_05, snv_06, snv_07, snv_08 | n/a |
Patched Releases
dhcp
1:2.0pl5-11, 2.0pl5-19.1sarge3, 2.0pl5-19.5etch1, 2.0pl5-19.5etch2
Timeline
Publicly disclosed
Oct 8, 2007
Last updated
Mar 9, 2026
Weakness Type
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- advisoryRHSA-2007:0970
- advisory27160
- advisory27273
- advisory27338
- advisory27350
FAQ
Common Questions.
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…
Affected: Debian Linux versions 3.1, 4.0; Openbsd versions 4.0, 4.1, 4.2; Enterprise Linux (Redhat) versions 2.1, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including dhcp 1:2.0pl5-11, dhcp 2.0pl5-19.1sarge3, dhcp 2.0pl5-19.5etch1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2007-5365 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo