---
id: CVE-2026-61695
title: 'Wire provides gRPC and protocol buffers for Android, Kotlin, Swift, and Java'
summary: >-
  Wire provides gRPC and protocol buffers for Android, Kotlin, Swift, and Java.
  Prior to 6.4.1 and 7.0.0-alpha04, Wire's Swift runtime
  ProtoReader.skipGroup(expectedEndTag:unknownFieldsWriter:) accepts a negative
  length for a LENGTH_DELIMI…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-129
vendor: square
product: github.com/square/wire
affected:
  - github.com/square/wire <= 6.4.0
patched:
  - github.com/square/wire 6.4.1
published: '2026-09-23'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T19:17:32.810'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61695'
references:
  - url: >-
      https://github.com/square/wire/commit/24043b6b3a5e5974a978f2745b76d50b31407c1c
    label: security-advisories@github.com
  - url: >-
      https://github.com/square/wire/commit/81ff7f24a6795d9a8be2e03f272b2d979a5d2c7e
    label: security-advisories@github.com
  - url: 'https://github.com/square/wire/pull/3616'
    label: security-advisories@github.com
  - url: 'https://github.com/square/wire/releases/tag/6.4.1'
    label: security-advisories@github.com
  - url: 'https://github.com/square/wire/releases/tag/7.0.0-alpha04'
    label: security-advisories@github.com
  - url: 'https://github.com/square/wire/security/advisories/GHSA-86wm-r4c5-2rc9'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-86wm-r4c5-2rc9'
tags:
  - nvd
  - ghsa
  - swift
  - cve.org
aliases:
  - GHSA-86wm-r4c5-2rc9
ecosystem: swift
ingestedAt: '2026-09-23T19:31:04.461Z'
---

## Overview

Wire provides gRPC and protocol buffers for Android, Kotlin, Swift, and Java. Prior to 6.4.1 and 7.0.0-alpha04, Wire's Swift runtime ProtoReader.skipGroup(expectedEndTag:unknownFieldsWriter:) accepts a negative length for a LENGTH_DELIMITED field inside an unknown START_GROUP field. ProtoReader.readData() forwards the negative count to ReadBuffer.readData(count:), whose upper-bound-only check permits the value to reach Foundation Data(bytes:count:) and trigger an unrecoverable process trap instead of a catchable ProtoDecoder.Error. Any Swift process decoding untrusted protobuf bytes can be crashed without authentication, user interaction, or knowledge of the target schema. This issue is fixed in versions 6.4.1 and 7.0.0-alpha04.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-61695)

Affected packages:

- `github.com/square/wire <= 6.4.0`

Patched in:

- `github.com/square/wire 6.4.1`

Source: https://github.com/advisories/GHSA-86wm-r4c5-2rc9
