CVE-2016-20040 TiEmu 3.03-nogdb+dfsg-3 Buffer Overflow via ROM Parameter
Local attackers can execute arbitrary code or crash the TiEmu emulator by supplying an oversized ROM parameter to the command-line interface.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2016-20040?
CVE-2016-20040 is a high-severity memory corruption vulnerability in ticalc Texas Instrument Emulator, published on 28 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
TiEmu 3.03-nogdb+dfsg-3 contains a buffer overflow vulnerability in the ROM parameter handling that allows local attackers to crash the application or execute arbitrary code. Attackers can supply an oversized ROM parameter to the tiemu command-line interface to overflow the stack buffer and overwrite the instruction pointer with malicious addresses.
Weakness: CWE-22
Which versions are affected by CVE-2016-20040?
How do I fix CVE-2016-20040?
No fix has been published for CVE-2016-20040 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-2016-20040 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-20040 exists.
Sources
Also known as DEBIAN-CVE-2016-20040, GHSA-253h-f8wh-gcxr, UBUNTU-CVE-2016-20040.