CVE-2026-32287 (GCVE-0-2026-32287)

Vulnerability from cvelistv5 – Published: 2026-03-26 19:40 – Updated: 2026-03-30 14:55
VLAI?
Title
Infinite loop in github.com/antchfx/xpath
Summary
Boolean XPath expressions that evaluate to true can cause an infinite loop in logicalQuery.Select, leading to 100% CPU usage. This can be triggered by top-level selectors such as "1=1" or "true()".
CWE
  • CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')
Assigner
Go
Impacted products
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "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"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2026-32287",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-03-30T14:12:30.141178Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-03-30T14:55:05.920Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "packageName": "github.com/antchfx/xpath",
          "product": "github.com/antchfx/xpath",
          "programRoutines": [
            {
              "name": "logicalQuery.Select"
            },
            {
              "name": "Expr.Evaluate"
            },
            {
              "name": "NodeIterator.MoveNext"
            },
            {
              "name": "ancestorQuery.Evaluate"
            },
            {
              "name": "ancestorQuery.Select"
            },
            {
              "name": "attributeQuery.Evaluate"
            },
            {
              "name": "attributeQuery.Select"
            },
            {
              "name": "booleanQuery.Evaluate"
            },
            {
              "name": "booleanQuery.Select"
            },
            {
              "name": "cachedChildQuery.Evaluate"
            },
            {
              "name": "cachedChildQuery.Select"
            },
            {
              "name": "childQuery.Evaluate"
            },
            {
              "name": "childQuery.Select"
            },
            {
              "name": "descendantOverDescendantQuery.Evaluate"
            },
            {
              "name": "descendantOverDescendantQuery.Select"
            },
            {
              "name": "descendantQuery.Evaluate"
            },
            {
              "name": "descendantQuery.Select"
            },
            {
              "name": "filterQuery.Evaluate"
            },
            {
              "name": "filterQuery.Select"
            },
            {
              "name": "followingQuery.Evaluate"
            },
            {
              "name": "followingQuery.Select"
            },
            {
              "name": "functionQuery.Evaluate"
            },
            {
              "name": "groupQuery.Evaluate"
            },
            {
              "name": "groupQuery.Select"
            },
            {
              "name": "lastFuncQuery.Evaluate"
            },
            {
              "name": "logicalQuery.Evaluate"
            },
            {
              "name": "mergeQuery.Evaluate"
            },
            {
              "name": "mergeQuery.Select"
            },
            {
              "name": "numericQuery.Evaluate"
            },
            {
              "name": "parentQuery.Evaluate"
            },
            {
              "name": "parentQuery.Select"
            },
            {
              "name": "precedingQuery.Evaluate"
            },
            {
              "name": "precedingQuery.Select"
            },
            {
              "name": "selfQuery.Evaluate"
            },
            {
              "name": "selfQuery.Select"
            },
            {
              "name": "transformFunctionQuery.Evaluate"
            },
            {
              "name": "transformFunctionQuery.Select"
            },
            {
              "name": "unionQuery.Evaluate"
            },
            {
              "name": "unionQuery.Select"
            }
          ],
          "vendor": "github.com/antchfx/xpath",
          "versions": [
            {
              "lessThan": "1.3.6",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Boolean XPath expressions that evaluate to true can cause an infinite loop in logicalQuery.Select, leading to 100% CPU usage. This can be triggered by top-level selectors such as \"1=1\" or \"true()\"."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "CWE-835: Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027)",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-03-26T19:40:52.142Z",
        "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "shortName": "Go"
      },
      "references": [
        {
          "url": "https://github.com/antchfx/xpath/issues/121"
        },
        {
          "url": "https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494"
        },
        {
          "url": "https://github.com/golang/vulndb/issues/4526"
        },
        {
          "url": "https://pkg.go.dev/vuln/GO-2026-4526"
        }
      ],
      "title": "Infinite loop in github.com/antchfx/xpath"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
    "assignerShortName": "Go",
    "cveId": "CVE-2026-32287",
    "datePublished": "2026-03-26T19:40:52.142Z",
    "dateReserved": "2026-03-11T16:38:46.556Z",
    "dateUpdated": "2026-03-30T14:55:05.920Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-32287\",\"sourceIdentifier\":\"security@golang.org\",\"published\":\"2026-03-26T20:16:12.403\",\"lastModified\":\"2026-03-30T15:16:28.290\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Boolean XPath expressions that evaluate to true can cause an infinite loop in logicalQuery.Select, leading to 100% CPU usage. This can be triggered by top-level selectors such as \\\"1=1\\\" or \\\"true()\\\".\"},{\"lang\":\"es\",\"value\":\"Expresiones booleanas de XPath que se eval\u00faan como verdaderas pueden causar un bucle infinito en logicalQuery.Select, lo que lleva a un uso del 100% de la CPU. Esto puede ser activado por selectores de nivel superior como 1=1 o true().\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"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}]},\"references\":[{\"url\":\"https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494\",\"source\":\"security@golang.org\"},{\"url\":\"https://github.com/antchfx/xpath/issues/121\",\"source\":\"security@golang.org\"},{\"url\":\"https://github.com/golang/vulndb/issues/4526\",\"source\":\"security@golang.org\"},{\"url\":\"https://pkg.go.dev/vuln/GO-2026-4526\",\"source\":\"security@golang.org\"},{\"url\":\"https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select\",\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\"}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.5, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"NONE\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-32287\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-03-30T14:12:30.141178Z\"}}}], \"references\": [{\"url\": \"https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select\", \"tags\": [\"exploit\"]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-03-30T14:12:56.371Z\"}}], \"cna\": {\"title\": \"Infinite loop in github.com/antchfx/xpath\", \"affected\": [{\"vendor\": \"github.com/antchfx/xpath\", \"product\": \"github.com/antchfx/xpath\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"1.3.6\", \"versionType\": \"semver\"}], \"packageName\": \"github.com/antchfx/xpath\", \"collectionURL\": \"https://pkg.go.dev\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"logicalQuery.Select\"}, {\"name\": \"Expr.Evaluate\"}, {\"name\": \"NodeIterator.MoveNext\"}, {\"name\": \"ancestorQuery.Evaluate\"}, {\"name\": \"ancestorQuery.Select\"}, {\"name\": \"attributeQuery.Evaluate\"}, {\"name\": \"attributeQuery.Select\"}, {\"name\": \"booleanQuery.Evaluate\"}, {\"name\": \"booleanQuery.Select\"}, {\"name\": \"cachedChildQuery.Evaluate\"}, {\"name\": \"cachedChildQuery.Select\"}, {\"name\": \"childQuery.Evaluate\"}, {\"name\": \"childQuery.Select\"}, {\"name\": \"descendantOverDescendantQuery.Evaluate\"}, {\"name\": \"descendantOverDescendantQuery.Select\"}, {\"name\": \"descendantQuery.Evaluate\"}, {\"name\": \"descendantQuery.Select\"}, {\"name\": \"filterQuery.Evaluate\"}, {\"name\": \"filterQuery.Select\"}, {\"name\": \"followingQuery.Evaluate\"}, {\"name\": \"followingQuery.Select\"}, {\"name\": \"functionQuery.Evaluate\"}, {\"name\": \"groupQuery.Evaluate\"}, {\"name\": \"groupQuery.Select\"}, {\"name\": \"lastFuncQuery.Evaluate\"}, {\"name\": \"logicalQuery.Evaluate\"}, {\"name\": \"mergeQuery.Evaluate\"}, {\"name\": \"mergeQuery.Select\"}, {\"name\": \"numericQuery.Evaluate\"}, {\"name\": \"parentQuery.Evaluate\"}, {\"name\": \"parentQuery.Select\"}, {\"name\": \"precedingQuery.Evaluate\"}, {\"name\": \"precedingQuery.Select\"}, {\"name\": \"selfQuery.Evaluate\"}, {\"name\": \"selfQuery.Select\"}, {\"name\": \"transformFunctionQuery.Evaluate\"}, {\"name\": \"transformFunctionQuery.Select\"}, {\"name\": \"unionQuery.Evaluate\"}, {\"name\": \"unionQuery.Select\"}]}], \"references\": [{\"url\": \"https://github.com/antchfx/xpath/issues/121\"}, {\"url\": \"https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494\"}, {\"url\": \"https://github.com/golang/vulndb/issues/4526\"}, {\"url\": \"https://pkg.go.dev/vuln/GO-2026-4526\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Boolean XPath expressions that evaluate to true can cause an infinite loop in logicalQuery.Select, leading to 100% CPU usage. This can be triggered by top-level selectors such as \\\"1=1\\\" or \\\"true()\\\".\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"description\": \"CWE-835: Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"1bb62c36-49e3-4200-9d77-64a1400537cc\", \"shortName\": \"Go\", \"dateUpdated\": \"2026-03-26T19:40:52.142Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-32287\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-03-30T14:55:05.920Z\", \"dateReserved\": \"2026-03-11T16:38:46.556Z\", \"assignerOrgId\": \"1bb62c36-49e3-4200-9d77-64a1400537cc\", \"datePublished\": \"2026-03-26T19:40:52.142Z\", \"assignerShortName\": \"Go\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…