CVE-2017-20227 JAD 1.5.8e-1kali1 Stack-Based Buffer Overflow

Critical 9.3 Published Updated

Attackers can execute arbitrary code by providing overly long input to the JAD Java Decompiler, causing a stack-based buffer overflow.

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

What is CVE-2017-20227?

CVE-2017-20227 is a critical memory corruption vulnerability in Varaneckas JAD Java Decompiler, published on 28 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

JAD Java Decompiler 1.5.8e-1kali1 and prior contains a stack-based buffer overflow vulnerability that allows attackers to execute arbitrary code by supplying overly long input that exceeds buffer boundaries. Attackers can craft malicious input passed to the jad command to overflow the stack and execute a return-oriented programming chain that spawns a shell.

Weakness: CWE-787

Which versions are affected by CVE-2017-20227?

It affects 1 product.

Products include Varaneckas Jad Java Decompiler.

How do I fix CVE-2017-20227?

No fix has been published for CVE-2017-20227 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2017-20227 being exploited?

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

Sources

Also known as GHSA-qfhh-979f-m8jg.

Is CVE-2017-20227 in your software?

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

Check your SBOMs for free