flatpak: Sandbox bypass via IOCSTI (incomplete fix for CVE-2017-5226)
Published Mar 26, 2019
9.0
CRITICALCVSS 3.0
EPSS 1.91%
Description
Flatpak before 1.0.8, 1.1.x and 1.2.x before 1.2.4, and 1.3.x before 1.3.1 allows a sandbox bypass. Flatpak versions since 0.8.1 address CVE-2017-5226 by using a seccomp filter to prevent sandboxed apps from using the TIOCSTI ioctl, which could otherwise be used to inject commands into the controlling terminal so that they would be executed outside the sandbox after the sandboxed app exits. This fix was incomplete: on 64-bit platforms, the seccomp filter could be bypassed by an ioctl request number that has TIOCSTI in its 32 least significant bits and an arbitrary nonzero value in its 32 most significant bits, which the Linux kernel would treat as equivalent to TIOCSTI.
Affected products
No data.
No data.
Red Hat Enterprise Linux 7
flatpak-0:1.0.2-5.el7_6
Fixed · RHSA-2019:1024
Red Hat Enterprise Linux 8
flatpak-0:1.0.6-3.el8_0
Fixed · RHSA-2019:1143
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | flatpak-0:1.0.2-5.el7_6 | Fixed | RHSA-2019:1024 |
| Red Hat Enterprise Linux 8 | flatpak-0:1.0.6-3.el8_0 | Fixed | RHSA-2019:1143 |
No package ranges for this CVE.
Remediation
Red Hat statement
This flaw can be exploited by malicious flatpak applications which include the code to exploit the wrong handling of the TIOCSTI ioctl (AV:L). No special action is needed to be performed by the attacker just having the exploit code should be enough for bypassing the sandbox restrictions (AC:L), Also the applications needs to be downloaded and run by the victim (PR:L). The flaw results in code being executed on the host system which is running the sandboxed application therefore this affects the host beyond the sandboxed application (S:C). Lastly considering the worst scenario in which the flatpak is run as root on the host system, this flaw can result in the malicious application running code as root on the host system (CIA:H).
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.91% (0.01909) | 79.06th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.91% (0.01909) | 77.02th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.21% (0.00209) | 59.32th | v3 (v2023.03.01) |
| Mar 19, 2024 | 0.21% (0.00209) | 58.15th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.25% (0.00247) | 63.71th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.25% (0.00247) | 60.75th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Sep 2, 2022 | 0.95% (0.00954) | 34.50th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00954) | 32.50th | v2 (v2022.01.01) |
| Feb 4, 2022 | 12.49% (0.12492) | 89.83th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.63% (0.03630) | 71.73th | v1 |
| Jan 6, 2022 | 3.63% (0.03630) | 71.48th | v1 |
| Sep 1, 2021 | 0.83% (0.00833) | 57.50th | v1 |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (7)
- https://access.redhat.com/errata/RHSA-2019:1024 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2019:1143 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2019-10063 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1695973 Issue Tracking
- https://github.com/flatpak/flatpak/issues/2782 x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-10063
- https://www.cve.org/CVERecord?id=CVE-2019-10063
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2019:1024 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/errata/RHSA-2019:1143 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2019-10063 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1695973 | Issue Tracking | |
| https://github.com/flatpak/flatpak/issues/2782 | x_refsource_MISCIssue TrackingPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-10063 | ||
| https://www.cve.org/CVERecord?id=CVE-2019-10063 |
Change history (0)
No recorded changes yet.