{"id":"CVE-2026-45799","published":"2026-07-17T19:49:30Z","modified":"2026-07-20T13:51:25Z","title":"Wire: skipGroup() missing negative-length check allows 10-byte payload to crash any Wire-decoding service","vendor":"square","product":"wire","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00728,"percentile":0.55109,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/square/wire/pull/3595","tags":["x_refsource_MISC"]},{"url":"https://github.com/square/wire/pull/3597","tags":["x_refsource_MISC"]},{"url":"https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0","tags":["x_refsource_MISC"]},{"url":"https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773","tags":["x_refsource_MISC"]},{"url":"https://github.com/square/wire/releases/tag/6.3.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/square/wire/releases/tag/7.0.0-alpha03","tags":["x_refsource_MISC"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":11.02},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"square","affectedVersions":[{"vendor":"square","product":"wire","versions":["< 6.3.0",">= 7.0.0-alpha01, < 7.0.0-alpha03"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-20T13:51:12.411548Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.squareup.wire:wire-runtime-jvm","vulnerableRanges":["<6.3.0",">=7.0.0-alpha01, <7.0.0-alpha03"],"patched":["6.3.0","7.0.0-alpha03"],"from":["GHSA-7xpr-hc2w-34m9"],"provenance":"source"},{"ecosystem":"Maven","package":"com.squareup.wire:wire-runtime","vulnerableRanges":["<6.3.0",">=7.0.0-alpha01, <7.0.0-alpha03"],"patched":["6.3.0","7.0.0-alpha03"],"from":["GHSA-7xpr-hc2w-34m9"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-45301","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-square-wire-cve-2024-58103","parents":[{"from":"CVE-2024-58103","to":"CVE-2026-45799","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt","wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt","wire-runtime/src/commonTest/kotlin/com/squareup/wire/ProtoReader32Test.kt","wire-runtime/src/commonTest/kotlin/com/squareup/wire/ProtoReaderTest.kt"],"commits":["https://github.com/square/wire/commit/b90e60c09befaff836a2fc2ee4d678451b2ec75d","https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0","https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773"],"basis":"shared function","functions":["ByteArrayProtoReader32","ProtoReader","ProtoReader32Test","ProtoReaderTest"]}]}],"children":[{"from":"CVE-2026-45799","to":"CVE-2026-63126","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.squareup.wire:wire-runtime","fromFixed":"6.3.0","toFixed":"6.4.5","daysApart":61},{"kind":"version-step","provenance":"source","package":"Maven:com.squareup.wire:wire-runtime","fromFixed":"7.0.0-alpha03","toFixed":"7.0.0-alpha04","daysApart":61},{"kind":"same-code","provenance":"machine","files":["wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt","wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt","wire-runtime/src/commonTest/kotlin/com/squareup/wire/ProtoReader32Test.kt","wire-runtime/src/commonTest/kotlin/com/squareup/wire/ProtoReaderTest.kt"],"commits":["https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0","https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773","https://github.com/square/wire/commit/082d5d83cec57ef68f1dd7d3e3d1d641c1fb670f","https://github.com/square/wire/commit/25ebcabb9ab7f12d1d77af75ecbc51726fddc015"],"basis":"shared function","functions":["ByteArrayProtoReader32","ProtoReader","ProtoReader32Test","ProtoReaderTest"]}]}],"packageHistory":[{"cve":"CVE-2024-58103","published":"2025-03-16","fixed":"5.2.0","kev":false},{"cve":"CVE-2026-45799","published":"2026-07-17","fixed":"7.0.0-alpha03","kev":false},{"cve":"CVE-2026-63126","published":"2026-09-16","fixed":"7.0.0-alpha04","kev":false}],"package":"Maven:com.squareup.wire:wire-runtime"}}