CVE-2016-4303 Memory corruption in n/a
Remote attackers can trigger a heap-based buffer overflow in the cJSON library via malformed UTF8/16 strings, leading to arbitrary code execution or crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-4303?
CVE-2016-4303 is a critical memory corruption vulnerability in Debian Debian Linux, published on 26 Sep 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The parse_string function in cjson.c in the cJSON library mishandles UTF8/16 strings, which allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a non-hex character in a JSON string, which triggers a heap-based buffer overflow.
Weakness: CWE-120
Which versions are affected by CVE-2016-4303?
It affects 5 products.
Linux distribution packages (3)
iperf SUSE:Package Hub 12 | All versions | 3.1.3-6.1 |
iperf SUSE:Package Hub 12 | All versions | 3.1.3-6.1 |
iperf openSUSE:Tumbleweed | All versions | 3.1.3-1.3 |
Products include Debian Debian Linux, Es Iperf3, Novell Suse Package Hub for Suse Linux Enterprise, Opensuse Leap, Opensuse Opensuse.
How do I fix CVE-2016-4303?
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-2016-4303 being exploited?
There is no known exploitation of CVE-2016-4303 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2016-4303, DLA-2080-1, GHSA-86rq-gv28-jjr6, MGASA-2016-0235, UBUNTU-CVE-2016-4303, USN-4788-1 and 3 more.