# CVE-2026-61695: Wire Swift runtime: negative LENGTH_DELIMITED length in skipGroup() crashes any protobuf-decoding service

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-23T18:44:11.336Z
- Modified: 2026-09-30T19:38:27.293Z
- Also known as: GHSA-86wm-r4c5-2rc9
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- square wire: < 6.4.1; >= 7.0.0-alpha01, < 7.0.0-alpha04
- github.com/square/wire (SwiftURL): before 6.4.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/square/wire/security/advisories/GHSA-86wm-r4c5-2rc9> (exploit, web)
- <https://github.com/square/wire/pull/3616> (web)
- <https://github.com/square/wire/commit/24043b6b3a5e5974a978f2745b76d50b31407c1c> (web)
- <https://github.com/square/wire/commit/81ff7f24a6795d9a8be2e03f272b2d979a5d2c7e> (web)
- <https://github.com/square/wire/releases/tag/6.4.1> (web)
- <https://github.com/square/wire/releases/tag/7.0.0-alpha04> (web)
- <https://github.com/square/wire> (package)

## Sources

- CVE List: [CVE-2026-61695](https://www.cve.org/CVERecord?id=CVE-2026-61695), CVE Terms of Use, modified 2026-09-29
- GitHub Advisory Database: [GHSA-86wm-r4c5-2rc9](https://github.com/advisories/GHSA-86wm-r4c5-2rc9), CC-BY-4.0, modified 2026-09-23
- NVD: [CVE-2026-61695](https://nvd.nist.gov/vuln/detail/CVE-2026-61695), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-61695 · Whole record: https://cve.day/CVE-2026-61695.json · Rebuilt by cve.day 2026-11-25T22:59:40.655Z
