# CVE-2019-7307: Apport contains a TOCTTOU vulnerability when reading the users ~/.apport-ignore.xml

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.0, CNA) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-367
- **Published:** 2019-08-29T14:40:18.750Z
- **Modified:** 2026-06-17T02:40:25.560Z

## Who should check

- Anyone running Ubuntu apport before 2.14.1-0ubuntu3.29+esm1; before 2.20.1-0ubuntu2.19; before 2.20.9-0ubuntu7.7; before 2.20.10-0ubuntu27.1; before 2.20.11-0ubuntu5

## Description

Apport before versions 2.14.1-0ubuntu3.29+esm1, 2.20.1-0ubuntu2.19, 2.20.9-0ubuntu7.7, 2.20.10-0ubuntu27.1, 2.20.11-0ubuntu5 contained a TOCTTOU vulnerability when reading the users ~/.apport-ignore.xml file, which allows a local attacker to replace this file with a symlink to any other file on the system and so cause Apport to include the contents of this other file in the resulting crash report. The crash report could then be read by that user either by causing it to be uploaded and reported to Launchpad, or by leveraging some other vulnerability to read the resulting crash report, and so allow the user to read arbitrary files on the system.

## Affected and fixed versions

- Ubuntu apport: before 2.14.1-0ubuntu3.29+esm1; before 2.20.1-0ubuntu2.19; before 2.20.9-0ubuntu7.7; before 2.20.10-0ubuntu27.1; before 2.20.11-0ubuntu5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2019-7307. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2019-7307.md
Affected: Ubuntu apport before 2.14.1-0ubuntu3.29+esm1; before 2.20.1-0ubuntu2.19; before 2.20.9-0ubuntu7.7; before 2.20.10-0ubuntu27.1; before 2.20.11-0ubuntu5
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Ubuntu apport: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2019-7307 being exploited?

There is no confirmed exploitation: CVE-2019-7307 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2019-7307?

Medium: CVSS 6.5 (v3.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2019-7307?

Ubuntu apport before 2.14.1-0ubuntu3.29+esm1; before 2.20.1-0ubuntu2.19; before 2.20.9-0ubuntu7.7; before 2.20.10-0ubuntu27.1; before 2.20.11-0ubuntu5.

### Is there a fix for CVE-2019-7307?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2019-7307?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-7307.html>
- exploit: <https://bugs.launchpad.net/ubuntu/%2Bsource/apport/%2Bbug/1830858>
- exploit: <http://packetstormsecurity.com/files/172858/Ubuntu-Apport-Whoopsie-DoS-Integer-Overflow.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2019-7307>

HTML: <https://flawdb.com/CVE-2019-7307> · JSON: <https://flawdb.com/api/v1/entries/CVE-2019-7307>
