CVE-2014-7912 Memory corruption in n/a
Remote attackers can execute arbitrary code or cause denial of service via malicious DHCP messages due to improper validation in the dhcpcd client.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-7912?
CVE-2014-7912 is a medium-severity memory corruption vulnerability in n/a, published on 30 Jul 2015. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The get_option function in dhcp.c in dhcpcd before 6.2.0, as used in dhcpcd 5.x in Android before 5.1 and other products, does not validate the relationship between length fields and the amount of data, which allows remote DHCP servers to execute arbitrary code or cause a denial of service (memory corruption) via a large length value of an option in a DHCPACK message.
Weakness: CWE-119
Which versions are affected by CVE-2014-7912?
It affects 1 product.
Products include Dhcpcd Project Dhcpcd.
How do I fix CVE-2014-7912?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2014-7912 being exploited?
There is no known exploitation of CVE-2014-7912 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
- CVE-2019-11577 Memory corruption in n/a
- CVE-2016-1503 Memory corruption in n/a
- CVE-2016-1504 dhcpcd before 6.10.0 allows remote attackers to cause a denial of service (invalid read and crash) via vectors related to the option length.
- CVE-2026-56116 dhcpcd Memory Leak DoS via IPv6 Router Advertisement Handling
- CVE-2014-7913 Memory corruption in n/a
Sources
Also known as DEBIAN-CVE-2014-7912, GHSA-f6q4-hgr5-frj4, UBUNTU-CVE-2014-7912.