Wire: skipGroup() missing negative-length check allows 10-byte payload to crash any Wire-decoding service

Summary

CVECVE-2026-45799
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-17 20:17:18 UTC
Updated2026-08-12 19:04:04 UTC
DescriptionWire provides gRPC and protocol buffers for Android, Kotlin, Swift, and Java. Prior to 6.3.0 and 7.0.0-alpha03, ByteArrayProtoReader32.skipGroup() and ProtoReader.skipGroup() in wire-runtime do not validate that a LENGTH_DELIMITED field length is non-negative before skip(), allowing a crafted protobuf varint encoding -128 as a signed Int to make skip(-128) move the internal position negative and make the next readByte() throw ArrayIndexOutOfBoundsException instead of the documented IOException or ProtocolException, which can crash services using ProtoAdapter.decode(byte[]) on untrusted payloads. This issue is fixed in versions 6.3.0 and 7.0.0-alpha03.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.005460000 probability, percentile 0.430030000 (date 2026-08-13)

Problem Types: CWE-129 | CWE-129 CWE-129: Improper Validation of Array Index


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNADECLARED7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Squareup Wire All All All All
Application Squareup Wire 7.0.0 alpha01 All All
Application Squareup Wire 7.0.0 alpha02 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Square Wire affected < 6.3.0 Not specified
CNA Square Wire affected >= 7.0.0-alpha01, < 7.0.0-alpha03 Not specified

References

ReferenceSourceLinkTags
github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9 134c704f-9b21-4f2e-91b3-4a467353bcc0 github.com Vendor Advisory, Exploit
github.com/square/wire/pull/3597 [email protected] github.com Issue Tracking
github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0 [email protected] github.com Patch
github.com/square/wire/releases/tag/6.3.0 [email protected] github.com Release Notes
github.com/square/wire/releases/tag/7.0.0-alpha03 [email protected] github.com Release Notes
github.com/square/wire/pull/3595 [email protected] github.com Issue Tracking
github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773 [email protected] github.com Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report