Skip to main content

CVE-2026-63126: CWE-190: Integer Overflow or Wraparound in square wire

0
High
VulnerabilityCVE-2026-63126cvecve-2026-63126cwe-190
Published: 09/16/2026 (09/16/2026, 18:13:33 UTC)
Source: CVE Database V5
Vendor/Project: square
Product: wire

Description

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

square

wire

Affected versions
<6.4.5>=7.0.0-alpha01 <7.0.0-alpha04
GitHub Actionsmore threats →ai
square/wire
pkg:github/square/wire
Affected versions
<6.4.5>=7.0.0-alpha01 <7.0.0-alpha04

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/16/2026, 18:46:32 UTC

Technical Analysis

The Wire library's protobuf readers fail to consistently validate length fields controlled by attackers before advancing internal cursors and buffers. In Kotlin, the ProtoAdapter.decode methods use ByteArrayProtoReader32.internalNextLengthDelimited(), where a positive oversized length can cause integer overflow, wrapping the position plus length to a negative limit and bypassing negative-length checks. Similar issues exist in related ProtoReader and ReadBuffer methods, allowing crossing of logical message boundaries and unsafe memory operations. An attacker supplying malformed protobuf bytes can trigger unchecked exceptions, out-of-bounds memory access, or excessive allocations, resulting in denial of service. The vulnerability affects versions prior to 6.4.5 and from 7.0.0-alpha01 up to but not including 7.0.0-alpha04. The issue is resolved in 6.4.5 and 7.0.0-alpha04.

Potential Impact

Exploitation of this vulnerability can cause denial of service through application crashes or excessive memory consumption due to unchecked exceptions and out-of-bounds memory operations. There is no known impact on confidentiality, integrity, or remote code execution.

Mitigation Recommendations

Upgrade to Wire library version 6.4.5 or later, or to 7.0.0-alpha04 or later. These versions include fixes that properly validate length fields and prevent integer overflow conditions. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-15T16:54:55.816Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aaae0a755bf5e2cf500c4e2

Added to database: 09/16/2026, 18:32:07 UTC

Last enriched: 09/16/2026, 18:46:32 UTC

Last updated: 09/17/2026, 04:53:14 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses