Cloudanix VulnDB

CVE-2026-63126

High · 7.5

CVSS

7.5

EPSS

0.8%

Published

Sep 16, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A data-handling library in some apps can be overwhelmed by specially crafted input, causing those apps to crash or slow down until the library is updated.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Deserialization
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Protobuf length validation failures in Wire readers allow attacker-controlled oversized values to bypass boundary checks via integer wrapping or pointer arithmetic, enabling out-of-bounds access, excessive allocations, or traps during decode operations in paths such as ProtoAdapter.decode and nested message handling.

Why it matters to the business

Applications relying on the library for untrusted protobuf data can experience denial of service through crashes or resource exhaustion, disrupting service availability until patches are applied.

How an attack unfolds

An attacker supplies a crafted protobuf payload containing positive oversized length fields to a vulnerable decode path; the library performs unchecked cursor advancement or allocation that escapes logical message limits, resulting in exceptions or excessive memory use without requiring authentication.

How to fix it

Upgrade the Wire library to version 6.4.5 or 7.0.0-alpha04 (or later) in all affected Kotlin, Java, Android, and Swift codebases; recompile and redeploy dependent applications.

How to confirm the fix worked

Confirm the deployed Wire version meets or exceeds 6.4.5 or 7.0.0-alpha04; test decoding routines with known-malformed length-delimited payloads to verify absence of crashes or unbounded allocations.

Typical attack path

  1. Identify an endpoint or API accepting protobuf-serialized input processed by Wire
  2. Craft a malformed message with length fields designed to trigger wrapping or boundary escape
  3. Deliver the payload to trigger ProtoAdapter.decode or equivalent
  4. Observe denial of service from unchecked exceptions or resource exhaustion

How to detect it

Review application logs for protobuf-related exceptions, out-of-memory events, or decode failures around the time of suspicious traffic; correlate with high CPU or memory spikes on services handling protobuf messages.

What your security team should do

  • Immediately inventory all uses of Wire protobuf and schedule upgrades to the fixed releases
  • Apply network-level filtering or request size limits on protobuf endpoints as a short-term control
  • Monitor application logs and resource metrics for protobuf decode failures
  • Conduct regression testing of deserialization code paths after patching

The record

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.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities