MediumVulnerabilityLLM-specific
CVE-2024-12391: binary-husky/gpt_academic ReDoS via user-provided regex in source parsing
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-12391
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.9%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
CVE-2024-12391 affects binary-husky/gpt_academic as of commit 310122f. The function '解析项目源码(手动指定和筛选源码文件类型)' runs user-provided regular expressions, and certain patterns make the Python RE engine take exponential time. An attacker who controls both the regex and the search string can hang the server for an arbitrary duration.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- MediumCVE-2026-143823: MLflow denial of service via regex backtracking in skill registration errorsSimilar attack, NVD/CVE Database
- MediumAutonomous AI attack targeted Perplexity to steal cloud credentialsSimilar attack, BleepingComputer
- HighCVE-2026-76813: CKAN MCP Server denial of service through unbounded response decompressionSimilar attack, NVD/CVE Database
- MediumCVE-2026-142225: Bytebase DBHub regular expression denial of service via search_objectsSimilar attack, NVD/CVE Database
- HighCVE-2026-59345: ExtractedTextFormatter denial of service when processing untrusted document textSimilar attack, NVD/CVE Database