Buffer overflow in OpenBSD

CVE-2007-5365

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.

Vulnerability class: Buffer Overflow

EPSS: 0.803 (99.6th percentile) — read the EPSS interpretation.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2007-5365?
CVE-2007-5365 is a vulnerability in OpenBSD, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. Published 2007-10-11.
Is CVE-2007-5365 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.