cve.bz

CVE-2026-45799 squareup wire: Improper Validation of Array Index

7.5 highExploit referenceEPSS 0.7%Fix available

High (7.5) in squareup wire. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in com.squareup.wire:wire-runtime-jvm 6.3.0, 7.0.0-alpha03.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-07-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-129 Improper Validation of Array Index
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-45799 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-45799?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-45799?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-45799 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
squareup:wirebefore 6.3.0
squareup:wire7.0.0:alpha01
squareup:wire7.0.0:alpha02

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7xpr-hc2w-34m9Mavencom.squareup.wire:wire-runtime-jvm<6.3.06.3.0
GHSA-7xpr-hc2w-34m9Mavencom.squareup.wire:wire-runtime<6.3.06.3.0
GHSA-7xpr-hc2w-34m9Mavencom.squareup.wire:wire-runtime>=7.0.0-alpha01 <7.0.0-alpha037.0.0-alpha03
GHSA-7xpr-hc2w-34m9Mavencom.squareup.wire:wire-runtime-jvm>=7.0.0-alpha01 <7.0.0-alpha037.0.0-alpha03

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 moregrpcno fix listedUBUNTU-CVE-2026-45799

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Build of Apache Camel 3.33.3.SP2com.squareup.wire/wire-runtime:6.4.7Fixed 2026-09-22RHSA-2026:70257
Red Hat Build of Apache Camel 3.33.3.SP2com.squareup.wire/wire-runtime-jvm:6.4.7Fixed 2026-09-22RHSA-2026:70257
Red Hat build of Apache Camel 4 for Quarkus 3wire-runtimeAffected
Red Hat build of Apache Camel 4 for Quarkus 3wire-runtime-jvmAffected
Red Hat build of Apicurio Registry 3wire-runtimeAffected
Red Hat build of Apicurio Registry 3wire-runtime-jvmAffected
Red Hat Fuse 7wire-runtimeOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-45799.

Attack patterns (CAPEC)

  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON