[ CVE-2026-61695 · Published 23 Sep 2026 ]
Wire Swift runtime: negative LENGTH_DELIMITED length in skipGroup() crashes any protobuf-decoding service
[ Why it matters ]Priority signals
- Public proof-of-concept exploit exists (CISA SSVC)
[ Description ]Official 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.
[ Fixes ]Fixes and patches
- github.com/square/wire 6.4.1Fixed version · GitHub Advisories · swift package github.com/square/wire: upgrade to 6.4.1 or later (affected <= 6.4.0)
[ Packages ]Affected open-source packages
- github.com/square/wire swiftAffected <= 6.4.0 · fixed in 6.4.1 · GHSA-86wm-r4c5-2rc9
[ References ]References
- github.com/square/wire/commit/24043b6b3a5e5974a978f2745b76d50b31407c1c
- github.com/square/wire/commit/81ff7f24a6795d9a8be2e03f272b2d979a5d2c7e
- github.com/square/wire/pull/3616
- github.com/square/wire/releases/tag/6.4.1
- github.com/square/wire/releases/tag/7.0.0-alpha04
- github.com/square/wire/security/advisories/GHSA-86wm-r4c5-2rc9