# CVE-2024-10955: ReDoS (Regular Expression Denial of Service) in gaizhenbiao/chuanhuchatgpt

- Severity: Medium 6.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.74%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:11:01.287Z
- Modified: 2026-06-17T06:56:46.260Z
- Also known as: PYSEC-2025-94
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

A Regular Expression Denial of Service (ReDoS) vulnerability exists in gaizhenbiao/chuanhuchatgpt, as of commit 20b2e02. The server uses the regex pattern `r'<[^>]+>'` to parse user input. In Python's default regex engine, this pattern can take polynomial time to match certain crafted inputs. An attacker can exploit this by uploading a malicious JSON payload, causing the server to consume 100% CPU for an extended period. This can lead to a Denial of Service (DoS) condition, potentially affecting the entire server.

(As written by CVE List.)

## Affected

- gaizhenbiao gaizhenbiao/chuanhuchatgpt: from unspecified up to latest
- gaizhenbiao chuanhuchatgpt: 2024-09-19
- chuanhuchatgpt (PyPI): up to 2024-09-19

## Every score

- @huntr_ai: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://huntr.com/bounties/8291f8d0-5060-47e7-9986-1f411310fb7b> (exploit, evidence, third-party-advisory)

## Sources

- CVE List: [CVE-2024-10955](https://www.cve.org/CVERecord?id=CVE-2024-10955), CVE Terms of Use, modified 2025-10-15
- NVD: [CVE-2024-10955](https://nvd.nist.gov/vuln/detail/CVE-2024-10955), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-94](https://osv.dev/vulnerability/PYSEC-2025-94), CC-BY-4.0, modified 2026-05-21

---

Page: https://cve.day/CVE-2024-10955 · Whole record: https://cve.day/CVE-2024-10955.json · Rebuilt by cve.day 2026-11-25T22:58:52.343Z
