CVE-2026-45799 json
Wire: skipGroup() missing negative-length check allows 10-byte payload to crash any Wire-decoding service
published 2026-05-19 5 mo ago modified 2026-10-24 15 d ago also GHSA-7xpr-hc2w-34m9 , EUVD-2026-45301
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.squareup.wire:wire-runtime-jvm 6.3.0, 7.0.0-alpha03
- maven com.squareup.wire:wire-runtime 6.3.0, 7.0.0-alpha03
- squareup wire 6.3.0
- github.com/square/wire@47d5b0d commit
- github.com/square/wire@e4e56fa commit
- github.com/square/wire#3595 pull request
- github.com/square/wire#3597 pull request
- github.com/square/wire/releases/tag/6.3.0 release
- github.com/square/wire/releases/tag/7.0.0-alpha03 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-45799 updated cvss 7.5
com.squareup.wire/wire-runtime: com.squareup.wire/wire-runtime-jvm: Wire: Remote Denial of Service due to improper protobuf length validation
-
Red Hat build of Apache Camel 4 for Quarkus 3 wire-runtime, wire-runtime-jvm Red Hat build of Apicurio Registry 3 wire-runtime, wire-runtime-jvmaffected: no fix available
-
Red Hat Fuse 7 wire-runtimeaffected: no fix planned “Out of support scope”
-
Red Hat Build of Apache Camel 3.33.3.SP2 wire-runtime 6.4.7, wire-runtime-jvm 6.4.7fixed: vendor fix RHSA-2026:70257
-
Red Hat Build of Apache Camel 3.33.3.SP2 jimfs 1.1, jna 5.8.0, bcel 6.7.0, gax 2.74.1, icu4j 78.2, joni 2.2.6, +1615 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.73% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.squareup.wire:wire-runtime-jvm | <6.3.0 >=7.0.0-alpha01, <7.0.0-alpha03 |
6.3.0 7.0.0-alpha03 |
| maven | com.squareup.wire:wire-runtime | <6.3.0 >=7.0.0-alpha01, <7.0.0-alpha03 |
6.3.0 7.0.0-alpha03 |
Affected products
- square wire
Classification
- Weakness
-
- CWE-129 Improper Validation of Array Index
References
-
github.com
/square/wire/pull/3595
web, issue-tracking
-
github.com
/square/wire/pull/3597
web, issue-tracking
-
github.com
/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0
web, patch
-
github.com
/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773
web, patch
-
github.com
/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9
exploit, web, vendor-advisory
-
github.com
/square/wire/releases/tag/6.3.0
web, release-notes
-
github.com
/square/wire/releases/tag/7.0.0-alpha03
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-45799
advisory
-
github.com
/square/wire
package
Sources
- CVE List CVE-2026-45799
- GitHub Advisory GHSA-7xpr-hc2w-34m9
- NVD CVE-2026-45799
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.