{"api_version":"1","generated_at":"2026-04-23T03:24:55+00:00","cve":"CVE-2017-5226","urls":{"html":"https://cve.report/CVE-2017-5226","api":"https://cve.report/api/cve/CVE-2017-5226.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-5226","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-5226"},"summary":{"title":"CVE-2017-5226","description":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-03-29 20:59:00","updated_at":"2023-03-17 12:15:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2020/07/10/1","name":"[oss-security] 20200710 WebKitGTK and WPE WebKit Security Advisory WSA-2020-0006","refsource":"MLIST","tags":[],"title":"oss-security - WebKitGTK and WPE WebKit Security Advisory WSA-2020-0006","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117","name":"https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117","refsource":"CONFIRM","tags":["Patch"],"title":"Call setsid() before executing sandboxed code (CVE-2017-5226) · projectatomic/bubblewrap@d7fc532 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/97260","name":"97260","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Bubblewrap CVE-2017-5226 Security Bypass Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1411811","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1411811","refsource":"CONFIRM","tags":["Issue Tracking","Patch"],"title":"1411811 – (CVE-2017-5226) CVE-2017-5226 bubblewrap: Nonprivileged session can escape to the parent session by using the TIOCSTI ioctl","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.openwall.com/lists/oss-security/2023/03/14/2","name":"https://www.openwall.com/lists/oss-security/2023/03/14/2","refsource":"MISC","tags":[],"title":"oss-security - TTY pushback vulnerabilities / TIOCSTI","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/projectatomic/bubblewrap/issues/142","name":"https://github.com/projectatomic/bubblewrap/issues/142","refsource":"CONFIRM","tags":["Exploit","Patch","Vendor Advisory"],"title":"CVE-2017-5226 -- bubblewrap escape via TIOCSTI ioctl · Issue #142 · projectatomic/bubblewrap · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2023/03/17/1","name":"[oss-security] 20230317 flatpak: CVE-2023-28100: TIOCLINUX can send commands outside sandbox if running on a virtual console","refsource":"MLIST","tags":[],"title":"oss-security - flatpak: CVE-2023-28100: TIOCLINUX can send commands outside sandbox\n if running on a virtual console","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5226","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5226","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"5226","vulnerable":"1","versionEndIncluding":"0.1.5","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"projectatomic","cpe5":"bubblewrap","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-5226","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/projectatomic/bubblewrap/issues/142","refsource":"CONFIRM","url":"https://github.com/projectatomic/bubblewrap/issues/142"},{"name":"97260","refsource":"BID","url":"http://www.securityfocus.com/bid/97260"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1411811","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1411811"},{"name":"https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117","refsource":"CONFIRM","url":"https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117"},{"refsource":"MLIST","name":"[oss-security] 20200710 WebKitGTK and WPE WebKit Security Advisory WSA-2020-0006","url":"http://www.openwall.com/lists/oss-security/2020/07/10/1"},{"refsource":"MISC","name":"https://www.openwall.com/lists/oss-security/2023/03/14/2","url":"https://www.openwall.com/lists/oss-security/2023/03/14/2"},{"refsource":"MLIST","name":"[oss-security] 20230317 flatpak: CVE-2023-28100: TIOCLINUX can send commands outside sandbox if running on a virtual console","url":"http://www.openwall.com/lists/oss-security/2023/03/17/1"}]}},"nvd":{"publishedDate":"2017-03-29 20:59:00","lastModifiedDate":"2023-03-17 12:15:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:projectatomic:bubblewrap:*:*:*:*:*:*:*:*","versionEndIncluding":"0.1.5","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"5226","Ordinal":"101739","Title":"CVE-2017-5226","CVE":"CVE-2017-5226","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"5226","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"5226","Ordinal":"2","NoteData":"2017-03-29","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"5226","Ordinal":"3","NoteData":"2020-07-10","Type":"Other","Title":"Modified"}]}}}