{"api_version":"1","generated_at":"2026-04-23T13:06:45+00:00","cve":"CVE-2026-32287","urls":{"html":"https://cve.report/CVE-2026-32287","api":"https://cve.report/api/cve/CVE-2026-32287.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-32287","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-32287"},"summary":{"title":"Infinite loop in github.com/antchfx/xpath","description":"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()\".","state":"PUBLISHED","assigner":"Go","published_at":"2026-03-26 20:16:12","updated_at":"2026-04-21 15:33:09"},"problem_types":["CWE-835","CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"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"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"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"}}],"references":[{"url":"https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select","name":"https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://pkg.go.dev/vuln/GO-2026-4526","name":"https://pkg.go.dev/vuln/GO-2026-4526","refsource":"security@golang.org","tags":["Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/antchfx/xpath/issues/121","name":"https://github.com/antchfx/xpath/issues/121","refsource":"security@golang.org","tags":["Issue Tracking","Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/golang/vulndb/issues/4526","name":"https://github.com/golang/vulndb/issues/4526","refsource":"security@golang.org","tags":["Issue Tracking","Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494","name":"https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494","refsource":"security@golang.org","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-32287","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32287","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"github.com/antchfx/xpath","product":"github.com/antchfx/xpath","version":"affected 1.3.6 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"32287","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"antchfx","cpe5":"xpath","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"32287","cve":"CVE-2026-32287","epss":"0.000560000","percentile":"0.176940000","score_date":"2026-04-22","updated_at":"2026-04-23 00:03:15"},"legacy_qids":[]},"source_records":{"cve_program":{"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 ('Infinite Loop')","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"},"nvd":{"publishedDate":"2026-03-26 20:16:12","lastModifiedDate":"2026-04-21 15:33:09","problem_types":["CWE-835","CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')"],"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}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:antchfx:xpath:*:*:*:*:*:go:*:*","versionEndExcluding":"1.3.6","matchCriteriaId":"9456C4F2-D4AD-4F6D-9520-00E6C5C4AB18"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"32287","Ordinal":"1","Title":"Infinite loop in github.com/antchfx/xpath","CVE":"CVE-2026-32287","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"32287","Ordinal":"1","NoteData":"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()\".","Type":"Description","Title":"Infinite loop in github.com/antchfx/xpath"}]}}}