Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-5226

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-5226
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:13 UTC · Revision 1

Source evidence

CVE-2017-5226

core-osv · Original source

Published 29 Mar 2017, 20:59 UTC

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.

osv:CVE-2017-5226
Complete source record
{
  "id": "d8e0d66c72e418c477eafbe76f7256da81e876e873c477bff011049fb63350ae",
  "url": "https://osv.dev/vulnerability/CVE-2017-5226",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-5226",
    "summary": "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.",
    "evidence": "osv:CVE-2017-5226",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-5226",
      "aliases": [
        "CVE-2017-5226"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/containers/bubblewrap",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "a10af855abdd444df5e464187c15e1c81fa18d4d"
                },
                {
                  "fixed": "d7fc532c42f0e9bf427923bab85433282b3e5117"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:projectatomic:bubblewrap:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.1.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d7fc532c42f0e9bf427923bab85433282b3e5117"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "0.1.2",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5226.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-5226-01325d7e",
                "digest": {
                  "length": 8371,
                  "function_hash": "287962065378072587237830509889308472400"
                },
                "source": "https://github.com/containers/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117",
                "target": {
                  "file": "bubblewrap.c",
                  "function": "main"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-5226-611760d8",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "192894767759618667927446856224081485088",
                    "280413593697293249105206339416682856038",
                    "44362035466669055874973282698037160703"
                  ]
                },
                "source": "https://github.com/containers/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117",
                "target": {
                  "file": "bubblewrap.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:22:42Z"
          }
        }
      ],
      "modified": "2026-10-20T13:22:42.439904532Z",
      "provider": "osv",
      "references": [
        "https://www.openwall.com/lists/oss-security/2023/03/14/2",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1411811",
        "https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117",
        "https://github.com/projectatomic/bubblewrap/issues/142"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-5226",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387583,
  "published_at": "2017-03-29T20:59:00.31+00:00"
}