CVE Catalog

CVE-2026-63126

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Summary

Wire (gRPC/protobuf for Android, Kotlin, Swift, and Java) before 6.4.5 and 7.0.0-alpha04 does not consistently validate attacker-controlled lengths against the current logical message boundary. In Kotlin, decoding paths (e.g., ProtoAdapter.decode, internalNextLengthDelimited, ReadBuffer.readVarint, ProtoDecoder.decodeSizeDelimited) can cross logical boundaries, perform pointer arithmetic, or reserve excessive memory. An attacker supplying malformed protobuf bytes can cause unchecked exceptions, traps, out-of-bounds behavior, or excessive allocation, resulting in denial of service.

Risk Assessment

The vulnerability allows remote denial of service (DoS) in applications using Wire to parse untrusted protobuf data. No confidentiality, integrity, or code-execution impact is known, but service availability may be disrupted.

Recommendation

Upgrade the Wire library to version 6.4.5 or 7.0.0-alpha04 (or later). Until patched, avoid processing untrusted protobuf data through the vulnerable decoding paths.

Other vulnerabilities in Wire

See all
Original NVD description (English source)

Wire provides gRPC and protocol buffers for Android, Kotlin, Swift, and Java. Prior to 6.4.5 and 7.0.0-alpha04, Wire protobuf readers do not consistently validate attacker-controlled lengths against the current logical message boundary before advancing cursors, pointers, limits, slices, or allocations. In Kotlin, ProtoAdapter.decode(ByteArray) and ProtoAdapter.decode(ByteString) use ByteArrayProtoReader32.internalNextLengthDelimited(), where a positive oversized length can wrap pos + length to a negative limit and escape the existing negative-length check. Related ProtoReader, ReadBuffer.readVarint(), ReadBuffer.verifyAdditional(count:), packed-repeated, nested-message, and ProtoDecoder.decodeSizeDelimited(_:from:) paths can cross logical boundaries, perform pointer arithmetic, reserve capacity, or convert an unrepresentable size before proving the requested bytes exist. An attacker who supplies malformed protobuf bytes can cause unchecked exceptions, traps, out-of-bounds behavior, or excessive allocation, resulting in denial of service without known confidentiality, integrity, or code-execution impact. This issue is fixed in versions 6.4.5 and 7.0.0-alpha04.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS