CVE-2026-45799
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
7.5
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-07-17 20:17:18.393000
Last modified
2026-10-24 20:10:00.137000
View original CVE JSON
{
"id": "CVE-2026-45799",
"sourceIdentifier": "[email protected]",
"published": "2026-07-17T20:17:18.393",
"lastModified": "2026-10-24T20:10:00.137",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Wire proporciona gRPC y búferes de protocolo para Android, Kotlin, Swift y Java. Antes de las versiones 6.3.0 y 7.0.0-alpha03, ByteArrayProtoReader32.skipGroup() y ProtoReader.skipGroup() en wire-runtime no validan que la longitud de un campo LENGTH_DELIMITED sea no negativa antes de skip(), permitiendo que una codificación varint de protobuf manipulada que representa -128 como un Int con signo haga que skip(-128) mueva la posición interna a un valor negativo y haga que la siguiente llamada a readByte() lance una ArrayIndexOutOfBoundsException en lugar de la IOException o ProtocolException documentada, lo que puede provocar la caída de servicios que utilizan ProtoAdapter.decode(byte[]) con cargas útiles no confiables. Este problema está solucionado en las versiones 6.3.0 y 7.0.0-alpha03."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "square",
"product": "wire",
"versions": [
{
"version": "< 6.3.0",
"status": "affected"
},
{
"version": ">= 7.0.0-alpha01, < 7.0.0-alpha03",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-20T13:51:12.411548Z",
"id": "CVE-2026-45799",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-129"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:squareup:wire:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.3.0",
"matchCriteriaId": "F96A71D0-34CA-41EF-AD9B-6AE7A077FABE"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:squareup:wire:7.0.0:alpha01:*:*:*:*:*:*",
"matchCriteriaId": "5147D638-F2E2-46D8-B4AB-3CA75DDA7521"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:squareup:wire:7.0.0:alpha02:*:*:*:*:*:*",
"matchCriteriaId": "83728E5D-61B7-4D17-A74B-D9B8577B29AD"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/square/wire/pull/3595",
"source": "[email protected]",
"tags": [
"Issue Tracking"
]
},
{
"url": "https://github.com/square/wire/pull/3597",
"source": "[email protected]",
"tags": [
"Issue Tracking"
]
},
{
"url": "https://github.com/square/wire/releases/tag/6.3.0",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/square/wire/releases/tag/7.0.0-alpha03",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9",
"source": "[email protected]",
"tags": [
"Vendor Advisory",
"Exploit"
]
},
{
"url": "https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Vendor Advisory",
"Exploit"
]
}
]
}