Skip to content
Emerging threatsHigh

CVE-2007-5365Openbsd Memory Corruption

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.

Scores

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

Exploit maturity

Proof of concept

ATLAS score

52/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Advisories And Exploit References

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 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.