# CVE-2020-15709: add-apt-repository print ASNI terminal codes

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-02)
- Published: 2020-09-05T03:30:18.015Z
- Modified: 2026-06-17T02:57:06.030Z
- Weaknesses: CWE-20
- Assigned by: canonical

## Description

Versions of add-apt-repository before 0.98.9.2, 0.96.24.32.14, 0.96.20.10, and 0.92.37.8ubuntu0.1~esm1, printed a PPA (personal package archive) description to the terminal as-is, which allowed PPA owners to provide ANSI terminal escapes to modify terminal contents in unexpected ways.

(As written by CVE List.)

## Affected

- Canonical add-apt-repository: from 0.98.9.* before 0.98.9.2; from 0.96.24.32.* before 0.96.24.32.14; from 0.96.20.* before 0.96.20.10; from 0.92.37.* before 0.92.37.8ubuntu0.1~esm1; from 0.92.37.0 before 0.92.37.8ubuntu0.1\~esm1; from 0.96.20.0 before 0.96.20.10; from 0.96.24.32.0 before 0.96.24.32.14; from 0.98.9.0 before 0.98.9.2

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://git.launchpad.net/software-properties/commit/add-apt-repository?id=97e2fe7d181e8711e0f5253d3b8db40426c17f1e> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2020-15709](https://www.cve.org/CVERecord?id=CVE-2020-15709), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2020-15709](https://nvd.nist.gov/vuln/detail/CVE-2020-15709), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15709 · Whole record: https://cve.day/CVE-2020-15709.json · Rebuilt by cve.day 2026-11-25T22:57:54.526Z
