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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-19T19:54:50.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-7xpr-hc2w-34m9
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- square wire: < 6.3.0; >= 7.0.0-alpha01, < 7.0.0-alpha03
- com.squareup.wire:wire-runtime-jvm (Maven): before 6.3.0; from 7.0.0-alpha01 before 7.0.0-alpha03
- com.squareup.wire:wire-runtime (Maven): before 6.3.0; from 7.0.0-alpha01 before 7.0.0-alpha03
- squareup wire: before 6.3.0; 7.0.0

## Every score

- GitHub_M: 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`
- GitHub: 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`

## References

- <https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9> (exploit, vendor-advisory, web)
- <https://github.com/square/wire/pull/3595> (issue-tracking, web)
- <https://github.com/square/wire/pull/3597> (issue-tracking, web)
- <https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0> (patch, web)
- <https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773> (patch, web)
- <https://github.com/square/wire/releases/tag/6.3.0> (release-notes, web)
- <https://github.com/square/wire/releases/tag/7.0.0-alpha03> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45799> (advisory)
- <https://github.com/square/wire> (package)

## Sources

- CVE List: [CVE-2026-45799](https://www.cve.org/CVERecord?id=CVE-2026-45799), CVE Terms of Use, modified 2026-07-20
- GitHub Advisory Database: [GHSA-7xpr-hc2w-34m9](https://github.com/advisories/GHSA-7xpr-hc2w-34m9), CC-BY-4.0, modified 2026-08-05
- NVD: [CVE-2026-45799](https://nvd.nist.gov/vuln/detail/CVE-2026-45799), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-45799 · Whole record: https://cve.day/CVE-2026-45799.json · Rebuilt by cve.day 2026-11-25T22:59:28.527Z
