Search

Find a vulnerability

Search criteria

    3 vulnerabilities found for wire by squareup

    FKIE_CVE-2026-45799

    Vulnerability from fkie_nvd - Published: 2026-07-17 20:17 - Updated: 2026-10-24 20:10
    Summary
    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.
    Impacted products
    Vendor Product Version
    squareup wire *
    squareup wire 7.0.0
    squareup wire 7.0.0

    {
      "affected": [
        {
          "affectedData": [
            {
              "product": "wire",
              "vendor": "square",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 6.3.0"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 7.0.0-alpha01, \u003c 7.0.0-alpha03"
                }
              ]
            }
          ],
          "source": "security-advisories@github.com"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:squareup:wire:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F96A71D0-34CA-41EF-AD9B-6AE7A077FABE",
                  "versionEndExcluding": "6.3.0",
                  "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",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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\u00faferes 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\u00f3n varint de protobuf manipulada que representa -128 como un Int con signo haga que skip(-128) mueva la posici\u00f3n 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\u00edda de servicios que utilizan ProtoAdapter.decode(byte[]) con cargas \u00fatiles no confiables. Este problema est\u00e1 solucionado en las versiones 6.3.0 y 7.0.0-alpha03."
        }
      ],
      "id": "CVE-2026-45799",
      "lastModified": "2026-10-24T20:10:00.137",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "security-advisories@github.com",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-45799",
              "options": [
                {
                  "exploitation": "poc"
                },
                {
                  "automatable": "yes"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-07-20T13:51:12.411548Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-07-17T20:17:18.393",
      "references": [
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Issue Tracking"
          ],
          "url": "https://github.com/square/wire/pull/3595"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Issue Tracking"
          ],
          "url": "https://github.com/square/wire/pull/3597"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Release Notes"
          ],
          "url": "https://github.com/square/wire/releases/tag/6.3.0"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Release Notes"
          ],
          "url": "https://github.com/square/wire/releases/tag/7.0.0-alpha03"
        },
        {
          "source": "security-advisories@github.com",
          "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"
          ],
          "url": "https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9"
        }
      ],
      "sourceIdentifier": "security-advisories@github.com",
      "vulnStatus": "Analyzed",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-129"
            }
          ],
          "source": "security-advisories@github.com",
          "type": "Secondary"
        }
      ]
    }

    CVE-2026-45799 (GCVE-0-2026-45799)

    Vulnerability from nvd – Published: 2026-07-17 19:49 – Updated: 2026-07-20 13:51
    VLAI
    Title
    Wire: skipGroup() missing negative-length check allows 10-byte payload to crash any Wire-decoding service
    Summary
    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.
    SSVC
    Exploitation: poc Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-07-20 13:51 UTC
    CWE
    • CWE-129 - Improper Validation of Array Index
    Assigner
    GitHub_M CNA under the mitre root
    CNA scorecard C 72/100 over 7922 records in the last 180 days details
    Impacted products
    Vendor Product Version
    square wire Affected: < 6.3.0
    Affected: >= 7.0.0-alpha01, < 7.0.0-alpha03
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-45799",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-07-20T13:51:12.411548Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-07-20T13:51:25.748Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "wire",
              "vendor": "square",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 6.3.0"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 7.0.0-alpha01, \u003c 7.0.0-alpha03"
                }
              ]
            }
          ],
          "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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-129",
                  "description": "CWE-129: Improper Validation of Array Index",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-07-17T19:49:30.331Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9"
            },
            {
              "name": "https://github.com/square/wire/pull/3595",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/square/wire/pull/3595"
            },
            {
              "name": "https://github.com/square/wire/pull/3597",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/square/wire/pull/3597"
            },
            {
              "name": "https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0"
            },
            {
              "name": "https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773"
            },
            {
              "name": "https://github.com/square/wire/releases/tag/6.3.0",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/square/wire/releases/tag/6.3.0"
            },
            {
              "name": "https://github.com/square/wire/releases/tag/7.0.0-alpha03",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/square/wire/releases/tag/7.0.0-alpha03"
            }
          ],
          "source": {
            "advisory": "GHSA-7xpr-hc2w-34m9",
            "discovery": "UNKNOWN"
          },
          "title": "Wire: skipGroup() missing negative-length check allows 10-byte payload to crash any Wire-decoding service"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-45799",
        "datePublished": "2026-07-17T19:49:30.331Z",
        "dateReserved": "2026-05-13T08:19:32.603Z",
        "dateUpdated": "2026-07-20T13:51:25.748Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-45799 (GCVE-0-2026-45799)

    Vulnerability from cvelistv5 – Published: 2026-07-17 19:49 – Updated: 2026-07-20 13:51
    VLAI
    Title
    Wire: skipGroup() missing negative-length check allows 10-byte payload to crash any Wire-decoding service
    Summary
    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.
    SSVC
    Exploitation: poc Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-07-20 13:51 UTC
    CWE
    • CWE-129 - Improper Validation of Array Index
    Assigner
    GitHub_M CNA under the mitre root
    CNA scorecard C 72/100 over 7922 records in the last 180 days details
    Impacted products
    Vendor Product Version
    square wire Affected: < 6.3.0
    Affected: >= 7.0.0-alpha01, < 7.0.0-alpha03
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-45799",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-07-20T13:51:12.411548Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-07-20T13:51:25.748Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "wire",
              "vendor": "square",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 6.3.0"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 7.0.0-alpha01, \u003c 7.0.0-alpha03"
                }
              ]
            }
          ],
          "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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-129",
                  "description": "CWE-129: Improper Validation of Array Index",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-07-17T19:49:30.331Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/square/wire/security/advisories/GHSA-7xpr-hc2w-34m9"
            },
            {
              "name": "https://github.com/square/wire/pull/3595",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/square/wire/pull/3595"
            },
            {
              "name": "https://github.com/square/wire/pull/3597",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/square/wire/pull/3597"
            },
            {
              "name": "https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0"
            },
            {
              "name": "https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773"
            },
            {
              "name": "https://github.com/square/wire/releases/tag/6.3.0",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/square/wire/releases/tag/6.3.0"
            },
            {
              "name": "https://github.com/square/wire/releases/tag/7.0.0-alpha03",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/square/wire/releases/tag/7.0.0-alpha03"
            }
          ],
          "source": {
            "advisory": "GHSA-7xpr-hc2w-34m9",
            "discovery": "UNKNOWN"
          },
          "title": "Wire: skipGroup() missing negative-length check allows 10-byte payload to crash any Wire-decoding service"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-45799",
        "datePublished": "2026-07-17T19:49:30.331Z",
        "dateReserved": "2026-05-13T08:19:32.603Z",
        "dateUpdated": "2026-07-20T13:51:25.748Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }