Skip to main content
VulnerabilityPublished

CVE-2026-63126: square wire · Integer Overflow or Wraparound

Affects square wireSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 7.0.0-alpha04 or 6.4.5 soon.

Data as of 31 Oct 2026, 20:20 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 7.0.0-alpha04, 6.4.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 31 Oct 2026.

What to do

Upgrade wire and square/wire to 7.0.0-alpha04 or 6.4.5.

Affected software

ProductAffectedFixed in
squarewireAffected
  • >=7.0.0-alpha01 <7.0.0-alpha04
Fixed in
  • 7.0.0-alpha04
squarewireAffected
  • <6.4.5
Fixed in
  • 6.4.5
GitHubsquare/wirepkg:github/square/wireOther threatsAffected
  • <6.4.5
  • >=7.0.0-alpha01 <7.0.0-alpha04
Fixed in
  • 6.4.5
  • 7.0.0-alpha04

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

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.

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.

References

Community reviews

Loading reviews…