{"id":"CVE-2026-40319","aliases":["GHSA-rq2q-4r55-9877","PYSEC-2026-2489"],"url":"https://o3.security/vulnerability/CVE-2026-40319","summary":"Giskard has a Regular Expression Denial of Service (ReDoS) in RegexMatching Check","details":"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.","published":"2026-04-17T17:16:37.676Z","modified":"2026-08-07T11:31:21.088392437Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"giskard-checks","fixedVersion":"1.0.2b1"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/Giskard-AI/giskard-oss/releases/tag/giskard-checks%2Fv1.0.2b1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40319.json"},{"type":"ADVISORY","url":"https://github.com/Giskard-AI/giskard-oss/security/advisories/GHSA-rq2q-4r55-9877"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40319"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:31:21.088392437Z"}}