CVE-2026-45799
Wire: skipGroup() missing negative-length check allows 10-byte payload to crash any Wire-decoding service
Description
Wire 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.
INFO
Published Date :
July 17, 2026, 8:17 p.m.
Last Modified :
Aug. 12, 2026, 7:04 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update wire-runtime to version 6.3.0 or higher.
- Ensure protobuf field lengths are validated.
- Validate untrusted protobuf payloads.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-45799.
| URL | Resource |
|---|---|
| https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0 | Patch |
| https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773 | Patch |
| https://github.com/square/wire/pull/3595 | Issue Tracking |
| https://github.com/square/wire/pull/3597 | Issue Tracking |
| https://github.com/square/wire/releases/tag/6.3.0 | Release Notes |
| https://github.com/square/wire/releases/tag/7.0.0-alpha03 | Release Notes |
| https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9 | Vendor Advisory Exploit |
| https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9 | Vendor Advisory Exploit |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-45799 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-45799
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-45799 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-45799 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 12, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:squareup:wire:*:*:*:*:*:*:*:* versions up to (excluding) 6.3.0 *cpe:2.3:a:squareup:wire:7.0.0:alpha01:*:*:*:*:*:* *cpe:2.3:a:squareup:wire:7.0.0:alpha02:*:*:*:*:*:* Added Reference Type GitHub, Inc.: https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/square/wire/pull/3595 Types: Issue Tracking Added Reference Type GitHub, Inc.: https://github.com/square/wire/pull/3597 Types: Issue Tracking Added Reference Type GitHub, Inc.: https://github.com/square/wire/releases/tag/6.3.0 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/square/wire/releases/tag/7.0.0-alpha03 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9 Types: Exploit, Vendor Advisory Added Reference Type CISA-ADP: https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9 Types: Exploit, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 20, 2026
Action Type Old Value New Value Added Reference https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9 Added SSVC {'id': 'CVE-2026-45799', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-20T13:51:12.411548Z'} -
New CVE Received by [email protected]
Jul. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'square', 'product': 'wire', 'versions': [{'status': 'affected', 'version': '< 6.3.0'}, {'status': 'affected', 'version': '>= 7.0.0-alpha01, < 7.0.0-alpha03'}]}] Added Description Wire 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-129 Added Reference https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0 Added Reference https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773 Added Reference https://github.com/square/wire/pull/3595 Added Reference https://github.com/square/wire/pull/3597 Added Reference https://github.com/square/wire/releases/tag/6.3.0 Added Reference https://github.com/square/wire/releases/tag/7.0.0-alpha03 Added Reference https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9