CVE-2016-4303 Memory corruption in n/a

Critical 9.8 Published Updated

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 12All versions3.1.3-6.1
iperf SUSE:Package Hub 12All versions3.1.3-6.1
iperf openSUSE:TumbleweedAll versions3.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.

All Debian Debian Linux vulnerabilities

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.

Is CVE-2016-4303 in your software?

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

Check your SBOMs for free