Improper Validation of Array Index
CVE-2026-61695
Summary
Wire provides gRPC and protocol buffers for Android, Kotlin, Swift, and Java. Prior to 6.4.1 and 7.x prior to 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.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-129 - Improper Validation of Array Index
The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.
References
Advisory Timeline
- Published