{"id":"UBUNTU-CVE-2026-4645","details":"A flaw was found in the `github.com/antchfx/xpath` component. A remote attacker could exploit this vulnerability by submitting crafted Boolean XPath expressions that evaluate to true. This can cause an infinite loop in the `logicalQuery.Select` function, leading to 100% CPU utilization and a Denial of Service (DoS) condition for the affected system.","modified":"2026-04-02T21:23:58.117433Z","published":"2026-03-23T14:16:00Z","withdrawn":"2026-04-02T17:29:39Z","upstream":["CVE-2026-4645"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-4645"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-4645"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-4645"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2450214"},{"type":"REPORT","url":"https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494"},{"type":"REPORT","url":"https://github.com/antchfx/xpath/issues/121"},{"type":"REPORT","url":"https://github.com/golang/vulndb/issues/4526"}],"affected":[{"package":{"name":"golang-github-antchfx-xpath","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-antchfx-xpath@1.1.2-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-antchfx-xpath-dev","binary_version":"1.1.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-4645.json"}},{"package":{"name":"golang-github-antchfx-xpath","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-antchfx-xpath@1.1.2-2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-antchfx-xpath-dev","binary_version":"1.1.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-4645.json"}},{"package":{"name":"golang-github-antchfx-xpath","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-antchfx-xpath@1.1.2-2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.2-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.2-2","binary_name":"golang-github-antchfx-xpath-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-4645.json"}},{"package":{"name":"golang-golang-x-vuln","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-golang-x-vuln@1.0.1-1ubuntu0.3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20230201.4c848ed-2build1","1.0.1-1","1.0.1-1ubuntu0.1","1.0.1-1ubuntu0.2","1.0.1-1ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-golang-x-vuln-dev","binary_version":"1.0.1-1ubuntu0.3"},{"binary_name":"govulncheck","binary_version":"1.0.1-1ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-4645.json"}},{"package":{"name":"golang-github-antchfx-xpath","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-github-antchfx-xpath@1.3.3-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.3-1","binary_name":"golang-github-antchfx-xpath-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-4645.json"}},{"package":{"name":"golang-golang-x-vuln","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-golang-x-vuln@1.0.4-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-golang-x-vuln-dev","binary_version":"1.0.4-1"},{"binary_version":"1.0.4-1","binary_name":"govulncheck"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-4645.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}