CVE-2007-5365 Memory corruption in n/a

High 7.2 Published Updated

Remote attackers can execute arbitrary code or crash the DHCP daemon via a malformed DHCP request with an invalid maximum message size.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-5365?

CVE-2007-5365 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 11 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2007-5365?

It affects 7 products.

Products include Debian Debian Linux, Openbsd Openbsd, Redhat Enterprise Linux, Redhat Linux Advanced Workstation, Sun Opensolaris, Sun Solaris and 1 more.

How do I fix CVE-2007-5365?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2007-5365 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5365 exists.

Public exploit code: 1 Exploit-DB entry.

All Debian Debian Linux vulnerabilities

Sources

Also known as DSA-1388-1, DSA-1388-3, GHSA-q79j-j4r9-8grp.

Is CVE-2007-5365 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free