Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-7892
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:59 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-7892
Complete source record
{
"id": "74dcec44657af73096007816f9772cdb35380cffed9f292ce8d89db1f68c7620",
"url": "https://osv.dev/vulnerability/CVE-2017-7892",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-7892",
"summary": "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.",
"evidence": "osv:CVE-2017-7892",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-7892",
"aliases": [
"CVE-2017-7892"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/capnproto/capnproto",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "133b496e09fdb9937a364a12b69385f2dbcc9cdb"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:capnproto:capnproto:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.5.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.5.3",
"v0.5.2",
"v0.5.1.2",
"v0.5.1.1",
"v0.5.1",
"v0.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7892.json"
}
}
],
"modified": "2026-10-20T10:49:35.556399232Z",
"provider": "osv",
"references": [
"https://github.com/sandstorm-io/capnproto/blob/master/security-advisories/2017-04-17-0-apple-clang-elides-bounds-check.md"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-7892",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380587,
"published_at": "2017-04-17T21:59:00.403+00:00"
}