CVE-2026-63126Square Wire integer overflow
CVSS score
7.5
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.82%
0.82% chance of exploitation in the next 30 days, higher than 58.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running square Wire and compare its version with the affected versions.
Update to a fixed version
- Update Wire to 6.4.5, 7.0.0-alpha04 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| square Wire | < 6.4.5 · >= 7.0.0-alpha01, < 7.0.0-alpha04 |
Weakness
- CWE-190 integer overflow
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-63126 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.8% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-63126?
CVE-2026-63126 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Square Wire (< 6.4.5; >= 7.0.0-alpha01, < 7.0.0-alpha04)
Is there a patch for CVE-2026-63126?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/square/wire/commit/082d5d83cec57ef68f1dd7d3e3d1d641c1fb670f
- github.com/square/wire/commit/25ebcabb9ab7f12d1d77af75ecbc51726fddc015
- github.com/square/wire/pull/3635
- github.com/square/wire/releases/tag/6.4.5
- github.com/square/wire/releases/tag/7.0.0-alpha04
- github.com/square/wire/security/advisories/GHSA-9rm7-3qhh-h2mc
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.