{"cve":"CVE-2026-40319","nvd":{"published":"2026-04-17T18:16:32.063","modified":"2026-10-25T23:10:00.167","status":"Analyzed","description":"Giskard is an open-source testing framework for AI models. In versions prior to 1.0.2b1, the RegexMatching check passes a user-supplied regular expression pattern directly to Python's re.search() without any timeout or complexity guard. A crafted regex pattern can trigger catastrophic backtracking, causing the process to hang indefinitely. Exploitation requires write access to a check definition and subsequent execution of the test suite. This issue has been fixed in giskard-checks version 1.0.2b1.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","score":1.0},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-1333"],"references":["https://github.com/Giskard-AI/giskard-oss/releases/tag/giskard-checks%2Fv1.0.2b1","https://github.com/Giskard-AI/giskard-oss/security/advisories/GHSA-rq2q-4r55-9877"],"products":["giskard:giskard"],"source":"nvd","synced_at":"2026-10-25T23:44:33.281319194+00:00"},"epss":{"cve":"CVE-2026-40319","score":0.00149,"percentile":0.04069,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-rq2q-4r55-9877","url":"https://osv.dev/vulnerability/GHSA-rq2q-4r55-9877","summary":"Giskard has a Regular Expression Denial of Service (ReDoS) in RegexMatching Check","modified":"2026-07-13T16:42:45.875566454Z","packages":[{"ecosystem":"PyPI","name":"giskard-checks","purl":"pkg:pypi/giskard-checks","ranges":["<1.0.2b1"],"fixed":["1.0.2b1"]}]},{"id":"PYSEC-2026-2489","url":"https://osv.dev/vulnerability/PYSEC-2026-2489","summary":"Giskard has a Regular Expression Denial of Service (ReDoS) in RegexMatching Check","modified":"2026-07-13T16:32:37.592772486Z","packages":[{"ecosystem":"PyPI","name":"giskard-checks","purl":"pkg:pypi/giskard-checks","ranges":["<1.0.2b1"],"fixed":["1.0.2b1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}