{"id":"CVE-2017-7892","aliases":["DEBIAN-CVE-2017-7892","EUVD-2017-16864","GHSA-q5jr-ph84-c3r5","UBUNTU-CVE-2017-7892"],"status":"published","title":"Sandstorm Cap'n Proto before 0.5.3.1 allows remote crashes related to a compiler optimization. A...","description":"Sandstorm Cap'n Proto before 0.5.3.1 allows remote crashes related to a compiler optimization. A remote attacker can trigger a segfault in a 32-bit libcapnp application because Cap'n Proto relies on pointer arithmetic calculations that overflow. An example compiler with optimization that elides a bounds check in such calculations is Apple LLVM version 8.1.0 (clang-802.0.41). The attack vector is a crafted far pointer within a message.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01839,"percentile":0.79114,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2017-04-17T21:00:00Z","modified":"2026-10-20T10:49:35Z","fixes":[{"ecosystem":"Debian:12","package":"capnproto","fixed_in":["0.6.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"capnproto","fixed_in":["0.6.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"capnproto","fixed_in":["0.6.1-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"capnproto","fixed_in":["0.4.0-1ubuntu2.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"capnproto","fixed_in":["0.5.3-2ubuntu1.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"capnproto","fixed_in":["0.6.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"capnproto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"capnproto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"capnproto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"capnproto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0-1ubuntu2.1"}]}],"versions":["0.2.1-1","0.4.0~git20131030+e7d2778-0ubuntu1","0.4.0-1ubuntu1","0.4.0-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"capnproto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-2ubuntu1.1"}]}],"versions":["0.4.0-1ubuntu3","0.5.3-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"capnproto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-1"}]}],"versions":["0.5.3-2ubuntu2"]}],"products":[{"vendor":"capnproto","product":"capnproto"}],"references":[{"url":"https://github.com/sandstorm-io/capnproto/blob/master/security-advisories/2017-04-17-0-apple-clang-elides-bounds-check.md","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7892"},{"url":"https://github.com/advisories/GHSA-q5jr-ph84-c3r5"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-7892","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-7892","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-7892","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-7892","description":"Sandstorm Cap'n Proto before 0.5.3.1 allows remote crashes related to a compiler optimization. A remote attacker can trigger a segfault in a 32-bit libcapnp application because Cap'n Proto relies on pointer arithmetic calculations that overflow. An example compiler with optimization that elides a bounds check in such calculations is Apple LLVM version 8.1.0 (clang-802.0.41). The attack vector is a crafted far pointer within a message.","status":"published","published":"2017-04-17T21:00:00Z","modified":"2024-09-17T02:48:10.187Z","updated_at":"2026-11-02T14:33:20.171335Z"}],"euvd":[{"id":"EUVD-2017-16864","description":"Sandstorm Cap'n Proto before 0.5.3.1 allows remote crashes related to a compiler optimization. A remote attacker can trigger a segfault in a 32-bit libcapnp application because Cap'n Proto relies on pointer arithmetic calculations that overflow. An example compiler with optimization that elides a bounds check in such calculations is Apple LLVM version 8.1.0 (clang-802.0.41). The attack vector is a crafted far pointer within a message.","status":"published","published":"2017-04-17T21:00:00Z","modified":"2024-09-17T02:48:10Z","updated_at":"2026-11-03T00:28:36.981601Z"}],"ghsa":[{"id":"GHSA-q5jr-ph84-c3r5","title":"Sandstorm Cap'n Proto before 0.5.3.1 allows remote crashes related to a compiler optimization. A...","description":"Sandstorm Cap'n Proto before 0.5.3.1 allows remote crashes related to a compiler optimization. A remote attacker can trigger a segfault in a 32-bit libcapnp application because Cap'n Proto relies on pointer arithmetic calculations that overflow. An example compiler with optimization that elides a bounds check in such calculations is Apple LLVM version 8.1.0 (clang-802.0.41). The attack vector is a crafted far pointer within a message.","status":"published","published":"2022-05-17T02:48:28Z","modified":"2023-01-27T05:06:22Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:42:54.023332Z"}],"nvd":[{"id":"CVE-2017-7892","description":"Sandstorm Cap'n Proto before 0.5.3.1 allows remote crashes related to a compiler optimization. A remote attacker can trigger a segfault in a 32-bit libcapnp application because Cap'n Proto relies on pointer arithmetic calculations that overflow. An example compiler with optimization that elides a bounds check in such calculations is Apple LLVM version 8.1.0 (clang-802.0.41). The attack vector is a crafted far pointer within a message.","status":"published","published":"2017-04-17T21:59:00.403Z","modified":"2026-06-17T01:25:24.647Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:03:46.08744Z"}],"osv":[{"id":"CVE-2017-7892","description":"Sandstorm Cap'n Proto before 0.5.3.1 allows remote crashes related to a compiler optimization. A remote attacker can trigger a segfault in a 32-bit libcapnp application because Cap'n Proto relies on pointer arithmetic calculations that overflow. An example compiler with optimization that elides a bounds check in such calculations is Apple LLVM version 8.1.0 (clang-802.0.41). The attack vector is a crafted far pointer within a message.","status":"published","published":"2017-04-17T21:59:00.403Z","modified":"2026-10-20T10:49:35.556399232Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:06.868403Z"},{"id":"DEBIAN-CVE-2017-7892","description":"Sandstorm Cap'n Proto before 0.5.3.1 allows remote crashes related to a compiler optimization. A remote attacker can trigger a segfault in a 32-bit libcapnp application because Cap'n Proto relies on pointer arithmetic calculations that overflow. An example compiler with optimization that elides a bounds check in such calculations is Apple LLVM version 8.1.0 (clang-802.0.41). The attack vector is a crafted far pointer within a message.","status":"published","published":"2017-04-17T21:59:00.403Z","modified":"2026-09-01T20:03:50.626691149Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.698576Z"},{"id":"UBUNTU-CVE-2017-7892","description":"Sandstorm Cap'n Proto before 0.5.3.1 allows remote crashes related to a compiler optimization. A remote attacker can trigger a segfault in a 32-bit libcapnp application because Cap'n Proto relies on pointer arithmetic calculations that overflow. An example compiler with optimization that elides a bounds check in such calculations is Apple LLVM version 8.1.0 (clang-802.0.41). The attack vector is a crafted far pointer within a message.","status":"published","published":"2017-04-17T21:59:00Z","modified":"2026-04-22T11:33:47.693323Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:15.773974Z"}]}}
