CVE-2017-5226: When executing a program via the bubblewrap sandbox, the nonpriv session can escape to the parent session by u
CVE-2017-5226 is a critical-severity flaw (CVSS 10.0) affecting bubblewrap. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
When executing a program via the bubblewrap sandbox, the nonpriv session can escape to the parent session by using the TIOCSTI ioctl to push characters into the terminal's input buffer, allowing an attacker to escape the sandbox.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 10.0 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.2% (top 12%) |
| CISA exploited list | No |
| Weakness | CWE-20 |
| Published | 2017-03-29 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-5226?
bubblewrap: upgrade to newer than 0.1.5. Exact commands for each OS are on this page.
Is CVE-2017-5226 being exploited?
CVE-2017-5226 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-5226 affect?
CVE-2017-5226 affects bubblewrap. Severity is critical (CVSS 10.0). When executing a program via the bubblewrap sandbox, the nonpriv session can escape to the parent session by using the TIOCSTI ioctl to push characters into the terminal's input buffer, allowing an attacker to escape the sandbox.
How urgent is CVE-2017-5226?
Priority 67/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2020-5291 HIGH 7.2 UPGRADE MITIGATE Bubblewrap (bwrap) before version 0.4.1, if installed in setuid mode and the kernel supports unprivileged user
- CVE-2019-12439 HIGH 7.4 UPGRADE bubblewrap.c in Bubblewrap before 0.3.3 misuses temporary directories in /tmp as a mount point
- CVE-2016-8659 HIGH 7.0 UPGRADE Bubblewrap before 0.1.3 sets the PR_SET_DUMPABLE flag, which might allow local users to gain privileges by att