CVE-2026-61695
published high CVSS 3.1 · 7.5Wire Swift runtime: negative LENGTH_DELIMITED length in skipGroup() crashes any protobuf-decoding service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| square | — | wire< 6.4.1 · >= 7.0.0-alpha01, < 7.0.0-alpha04 | Affected | Not stated | GitHub_M |
Description
Wire provides gRPC and protocol buffers for Android, Kotlin, Swift, and Java. Prior to 6.4.1 and 7.0.0-alpha04, Wire's Swift runtime ProtoReader.skipGroup(expectedEndTag:unknownFieldsWriter:) accepts a negative length for a LENGTH_DELIMITED field inside an unknown START_GROUP field. ProtoReader.readData() forwards the negative count to ReadBuffer.readData(count:), whose upper-bound-only check permits the value to reach Foundation Data(bytes:count:) and trigger an unrecoverable process trap instead of a catchable ProtoDecoder.Error. Any Swift process decoding untrusted protobuf bytes can be crashed without authentication, user interaction, or knowledge of the target schema. This issue is fixed in versions 6.4.1 and 7.0.0-alpha04.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| square | wire | < 6.4.1 (affected)>= 7.0.0-alpha01, < 7.0.0-alpha04 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-129 CWE-129: Improper Validation of Array Index
References
6- https://github.com/square/wire/commit/24043b6b3a5e5974a978f2745b76d50b31407c1c
- https://github.com/square/wire/commit/81ff7f24a6795d9a8be2e03f272b2d979a5d2c7e
- https://github.com/square/wire/pull/3616
- https://github.com/square/wire/releases/tag/6.4.1
- https://github.com/square/wire/releases/tag/7.0.0-alpha04
- https://github.com/square/wire/security/advisories/GHSA-86wm-r4c5-2rc9
Provider assertions
2GitHub_M · cna
Wire Swift runtime: negative LENGTH_DELIMITED length in skipGroup() crashes any protobuf-decoding service
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- af5ebe5aad659bcd0b93b47d8aa7e62fad793d54ac50da75efe7de2a54c05cf8
- Ingested
- 30 Sep 2026, 15:26:46 UTC
- Source record
- Official CVE record