# CVE-2026-63126: Wire: Unauthenticated decoder crash via 32-bit length integer overflow in ByteArrayProtoReader32 (incomplete fix of CVE-2026-45799)

- 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.68%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-16T18:13:33.197Z
- Modified: 2026-09-30T17:43:24.057Z
- Also known as: GHSA-9rm7-3qhh-h2mc
- Weaknesses: CWE-190
- 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.4.5 and 7.0.0-alpha04, Wire protobuf readers do not consistently validate attacker-controlled lengths against the current logical message boundary before advancing cursors, pointers, limits, slices, or allocations. In Kotlin, ProtoAdapter.decode(ByteArray) and ProtoAdapter.decode(ByteString) use ByteArrayProtoReader32.internalNextLengthDelimited(), where a positive oversized length can wrap pos + length to a negative limit and escape the existing negative-length check. Related ProtoReader, ReadBuffer.readVarint(), ReadBuffer.verifyAdditional(count:), packed-repeated, nested-message, and ProtoDecoder.decodeSizeDelimited(_:from:) paths can cross logical boundaries, perform pointer arithmetic, reserve capacity, or convert an unrepresentable size before proving the requested bytes exist. An attacker who supplies malformed protobuf bytes can cause unchecked exceptions, traps, out-of-bounds behavior, or excessive allocation, resulting in denial of service without known confidentiality, integrity, or code-execution impact. This issue is fixed in versions 6.4.5 and 7.0.0-alpha04.

(As written by CVE List.)

## Affected

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

## 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-9rm7-3qhh-h2mc> (exploit, web)
- <https://github.com/square/wire/pull/3635> (web)
- <https://github.com/square/wire/commit/082d5d83cec57ef68f1dd7d3e3d1d641c1fb670f> (web)
- <https://github.com/square/wire/commit/25ebcabb9ab7f12d1d77af75ecbc51726fddc015> (web)
- <https://github.com/square/wire/releases/tag/6.4.5> (web)
- <https://github.com/square/wire/releases/tag/7.0.0-alpha04> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-63126> (advisory)
- <https://github.com/square/wire> (package)

## Sources

- CVE List: [CVE-2026-63126](https://www.cve.org/CVERecord?id=CVE-2026-63126), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-9rm7-3qhh-h2mc](https://github.com/advisories/GHSA-9rm7-3qhh-h2mc), CC-BY-4.0, modified 2026-09-17
- NVD: [CVE-2026-63126](https://nvd.nist.gov/vuln/detail/CVE-2026-63126), Public domain, modified 2026-09-30

---

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