---
title: "CVE-2016-20040\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2016-20040?format=md
keywords: index, follow
---

# CVE-2016-20040

Publication date 28 March 2026

Last updated 17 August 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.4 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2016-20040?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| tiemu | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 24.04 LTS noble | Needs evaluation |
| 22.04 LTS jammy | Needs evaluation |
| 20.04 LTS focal | Needs evaluation |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:

CVSS v4.0

[CVSS v4.0](https://ubuntu.com/security/CVE-2016-20040?format=md)
[CVSS v3.0](https://ubuntu.com/security/CVE-2016-20040?format=md)

**Base score**

8.6 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Attack requirements | None |
  | Privileges required | None |
  | User interaction | None |
  | Vulnerable system - Confidentiality impact | High |
  | Vulnerable system - Integrity impact | High |
  | Vulnerable system - Availability impact | High |
  | Subsequent system - Confidentiality impact | None |
  | Subsequent system - Integrity impact | None |
  | Subsequent system - Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.6 · High |
  | Base + Threat score | - |
  | Base + Environmental score | - |
  | Base + Threat + Environmental score | - |

**Vector:** CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-20040)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2016-20040)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2016-20040)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2016-20040)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2016-20040>
* <https://www.exploit-db.com/exploits/39692>
* <http://lpg.ticalc.org/prj_tiemu/>
* <https://www.vulncheck.com/advisories/tiemu-nogdb-dfsg-3-buffer-overflow-via-rom-parameter>
