CVE-2026-45799
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.
Weakness
- CWE-129: Improper Validation of Array Index
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-07-20 |
Timeline
- 2026-05-19GitHub advisory published (GHSA-7xpr-hc2w-34m9)59 days before publication
- 2026-07-17Published by the CNA19:49 UTC
- 2026-07-20CISA SSVC decision recorded3 days after publication
Exploit and advisory records
GitHub advisory GHSA-7xpr-hc2w-34m9, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven com.squareup.wire:wire-runtime | before 6.3.0 | 6.3.0 |
| Maven com.squareup.wire:wire-runtime | from 7.0.0-alpha01 before 7.0.0-alpha03 | 7.0.0-alpha03 |
| Maven com.squareup.wire:wire-runtime-jvm | before 6.3.0 | 6.3.0 |
| Maven com.squareup.wire:wire-runtime-jvm | from 7.0.0-alpha01 before 7.0.0-alpha03 | 7.0.0-alpha03 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| squareup wire | before 6.3.0fixed in 6.3.07.0.0no fix listed | 6.3.0not listed |
References
- https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0
- https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773
- https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9
- https://github.com/square/wire/pull/3595
- https://github.com/square/wire/pull/3597
- https://github.com/square/wire/releases/tag/6.3.0
- https://github.com/square/wire/releases/tag/7.0.0-alpha03
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-45799'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-45799'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-45799'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-45799'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).