CVE-2024-12391: A vulnerability in binary-husky/gpt_academic, as of commit 310122f, allows for a Regular Expression Denial of
CVE-2024-12391 is a medium-severity flaw (CVSS 6.5) affecting gpt academic. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A vulnerability in binary-husky/gpt_academic, as of commit 310122f, allows for a Regular Expression Denial of Service (ReDoS) attack. The function '解析项目源码(手动指定和筛选源码文件类型)' permits the execution of user-provided regular expressions. Certain regular expressions can cause the Python RE engine to take exponential time to execute, leading to a Denial of Service (DoS) condition. An attacker who controls both the regular expression and the search string
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.9% (top 39%) |
| CISA exploited list | No |
| Weakness | CWE-1333 |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-12391?
gpt academic: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-12391 being exploited?
CVE-2024-12391 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-12391 affect?
CVE-2024-12391 affects gpt academic. Severity is medium (CVSS 6.5). A vulnerability in binary-husky/gpt_academic, as of commit 310122f, allows for a Regular Expression Denial of Service (ReDoS) attack. The function '解析项目源码(手动指定和筛选源码文件类型)' permits the execution of user-provided regular expressions. Certain r
How urgent is CVE-2024-12391?
Priority 43/100. Public exploit reference
Software pages
Related CVEs
- CVE-2026-0764 CRITICAL 9.8 DOWNGRADE GPT Academic upload Deserialization of Untrusted Data Remote Code Execution Vulnerability
- CVE-2026-0763 CRITICAL 9.8 DOWNGRADE GPT Academic run_in_subprocess_wrapper_func Deserialization of Untrusted Data Remote Code Execution Vulnerabil
- CVE-2026-0762 HIGH 8.1 DOWNGRADE GPT Academic stream_daas Deserialization of Untrusted Data Remote Code Execution Vulnerability
- CVE-2025-25185 HIGH 7.5 MITIGATE GPT Academic provides interactive interfaces for large language models
- CVE-2025-10236 MEDIUM 4.3 UPGRADE A vulnerability has been found in binary-husky gpt_academic up to 3.91