# CVE-2026-40319: Giskard has a Regular Expression Denial of Service (ReDoS) in RegexMatching Check

- Severity: Low 1.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-04-14T23:13:39.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-rq2q-4r55-9877, PYSEC-2026-2489
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Giskard-AI giskard-oss: < 1.0.2b1
- giskard-checks (PyPI): before 1.0.2b1
- giskard giskard: before 1.0.2

## Every score

- GitHub_M: CVSS:4.0 1.0 Low `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`
- GitHub: CVSS:3.1 5.5 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 Low `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`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/Giskard-AI/giskard-oss/security/advisories/GHSA-rq2q-4r55-9877> (vendor-advisory, web)
- <https://github.com/Giskard-AI/giskard-oss/releases/tag/giskard-checks%2Fv1.0.2b1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40319> (advisory)
- <https://github.com/Giskard-AI/giskard-oss> (package)
- <https://pypi.org/project/giskard-checks> (package)
- <https://github.com/advisories/GHSA-rq2q-4r55-9877> (advisory)

## Sources

- CVE List: [CVE-2026-40319](https://www.cve.org/CVERecord?id=CVE-2026-40319), CVE Terms of Use, modified 2026-04-20
- GitHub Advisory Database: [GHSA-rq2q-4r55-9877](https://github.com/advisories/GHSA-rq2q-4r55-9877), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-40319](https://nvd.nist.gov/vuln/detail/CVE-2026-40319), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-2489](https://osv.dev/vulnerability/PYSEC-2026-2489), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-40319 · Whole record: https://cve.day/CVE-2026-40319.json · Rebuilt by cve.day 2026-11-25T22:59:18.950Z
