CVE-2026-61695 json
Wire Swift runtime: negative LENGTH_DELIMITED length in skipGroup() crashes any protobuf-decoding service
published 2026-09-23 46 d ago modified 2026-09-30 39 d ago also EUVD-2026-85559 , GHSA-86wm-r4c5-2rc9
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- swift github.com/square/wire 6.4.1
- com.squareup.wire wire-runtime 6.4.1, 7.0.0-alpha04
- squareup wire 6.4.1, 7.0.0-alpha04
- github.com/square/wire@24043b6 commit
- github.com/square/wire@81ff7f2 commit
- github.com/square/wire#3616 pull request
- github.com/square/wire/releases/tag/6.4.1 release
- github.com/square/wire/releases/tag/7.0.0-alpha04 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 41 d ago
Exploit prediction
0.69% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/square/wire/security/advisories/GHSA-86wm-r4c5-2rc9 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| swift | github.com/square/wire | <6.4.1 |
6.4.1 |
Affected products
- square wire
Classification
- Weakness
-
- CWE-129 Improper Validation of Array Index
References
-
github.com
/square/wire/pull/3616
web
-
github.com
/square/wire/commit/24043b6b3a5e5974a978f2745b76d50b31407c1c
web
-
github.com
/square/wire/commit/81ff7f24a6795d9a8be2e03f272b2d979a5d2c7e
web
-
github.com
/square/wire/security/advisories/GHSA-86wm-r4c5-2rc9
exploit, web
-
github.com
/square/wire/releases/tag/6.4.1
web
-
github.com
/square/wire/releases/tag/7.0.0-alpha04
web
-
github.com
/square/wire
package
Sources
- CVE List CVE-2026-61695
- GitHub Advisory GHSA-86wm-r4c5-2rc9
- NVD CVE-2026-61695
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.