Skip to content
Vulnerability Intelligence

CVE-2007-5365

HighPublic exploit

dhcpd 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
ProductAffected versionsFixed in
Debian LinuxDebian3.1, 4.0n/a
OpenbsdOpenbsd4.0, 4.1, 4.2n/a
Enterprise LinuxRedhat2.1n/a
Linux Advanced WorkstationRedhat2.1n/a
OpensolarisSunsnv_01, snv_02, snv_03, snv_04, snv_05, snv_06, snv_07, snv_08n/a
3 more affected products in the full CVE brief

Patched Releases

dhcp

1:2.0pl5-11, 2.0pl5-19.1sarge3, 2.0pl5-19.5etch1, 2.0pl5-19.5etch2

Timeline

  1. Publicly disclosed

    Oct 8, 2007

  2. Last updated

    Mar 9, 2026

Weakness Type

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

15 more references in the full CVE brief

FAQ

Common Questions.

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