Search

Find a vulnerability

Search criteria

    4 vulnerabilities found for wire by square

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

    Vulnerability from nvd – Published: 2026-07-17 19:49 – Updated: 2026-07-17 19:49
    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.
    CWE
    • CWE-129 - Improper Validation of Array Index
    Assigner
    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": {
        "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-17T19:49:30.331Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2024-58103 (GCVE-0-2024-58103)

    Vulnerability from nvd – Published: 2025-03-16 00:00 – Updated: 2025-03-17 15:50
    VLAI
    Summary
    Square Wire before 5.2.0 does not enforce a recursion limit on nested groups in ByteArrayProtoReader32.kt and ProtoReader.kt.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    Assigner
    Impacted products
    Vendor Product Version
    Square Wire Affected: 0 , < 5.2.0 (semver)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-58103",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-03-17T15:50:16.370764Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-03-17T15:50:25.364Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Wire",
              "vendor": "Square",
              "versions": [
                {
                  "lessThan": "5.2.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Square Wire before 5.2.0 does not enforce a recursion limit on nested groups in ByteArrayProtoReader32.kt and ProtoReader.kt."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 5.8,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-674",
                  "description": "CWE-674 Uncontrolled Recursion",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-03-16T03:49:13.239Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "url": "https://github.com/square/wire/commit/b90e60c09befaff836a2fc2ee4d678451b2ec75d"
            },
            {
              "url": "https://github.com/square/wire/compare/5.1.0...5.2.0"
            }
          ],
          "x_generator": {
            "engine": "enrichogram 0.0.1"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2024-58103",
        "datePublished": "2025-03-16T00:00:00.000Z",
        "dateReserved": "2025-03-16T00:00:00.000Z",
        "dateUpdated": "2025-03-17T15:50:25.364Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

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

    Vulnerability from cvelistv5 – Published: 2026-07-17 19:49 – Updated: 2026-07-17 19:49
    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.
    CWE
    • CWE-129 - Improper Validation of Array Index
    Assigner
    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": {
        "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-17T19:49:30.331Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2024-58103 (GCVE-0-2024-58103)

    Vulnerability from cvelistv5 – Published: 2025-03-16 00:00 – Updated: 2025-03-17 15:50
    VLAI
    Summary
    Square Wire before 5.2.0 does not enforce a recursion limit on nested groups in ByteArrayProtoReader32.kt and ProtoReader.kt.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    Assigner
    Impacted products
    Vendor Product Version
    Square Wire Affected: 0 , < 5.2.0 (semver)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-58103",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-03-17T15:50:16.370764Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-03-17T15:50:25.364Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Wire",
              "vendor": "Square",
              "versions": [
                {
                  "lessThan": "5.2.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Square Wire before 5.2.0 does not enforce a recursion limit on nested groups in ByteArrayProtoReader32.kt and ProtoReader.kt."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 5.8,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-674",
                  "description": "CWE-674 Uncontrolled Recursion",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-03-16T03:49:13.239Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "url": "https://github.com/square/wire/commit/b90e60c09befaff836a2fc2ee4d678451b2ec75d"
            },
            {
              "url": "https://github.com/square/wire/compare/5.1.0...5.2.0"
            }
          ],
          "x_generator": {
            "engine": "enrichogram 0.0.1"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2024-58103",
        "datePublished": "2025-03-16T00:00:00.000Z",
        "dateReserved": "2025-03-16T00:00:00.000Z",
        "dateUpdated": "2025-03-17T15:50:25.364Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }