CVE-2024-12391 in Binary-Husky Gpt Academic
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Binary-Husky | Gpt Academic | 2024-10-15 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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 can exploit this vulnerability to hang the server for an arbitrary amount of time.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-12391 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-183425-M |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-1333: CWE-1333
Related attack patterns (CAPEC)
CAPEC-492 Regular Expression Exponential Blowup via CWE-1333
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the binary-husky/gpt_academic project, affecting the function '解析项目源码(手动指定和筛选源码文件类型)'. This vulnerability can cause the Python RE engine to take excessive time to execute, leading to a Denial of Service condition.
The vulnerability arises from the use of user-provided regular expressions in the '解析项目源码(手动指定和筛选源码文件类型)' function. An attacker can craft specific regular expressions that exploit the exponential time complexity of the Python RE engine, causing it to hang or consume excessive resources.
Questions
What is CVE-2024-12391?
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the binary-husky/gpt_academic project, affecting the function '解析项目源码(手动指定和筛选源码文件类型)'. This vulnerability can cause the Python RE engine to take excessive time to execute, leading to a Denial of Service condition.
What is the CVSS score for CVE-2024-12391?
CVE-2024-12391 has CVSS 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.0%.
Is CVE-2024-12391 actively exploited?
No confirmed active exploitation of CVE-2024-12391 as of 2026-09-25.
How do I remediate CVE-2024-12391?
Priority: MEDIUM.
What systems are affected by CVE-2024-12391?
CVE-2024-12391 affects Binary-Husky Gpt Academic.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Binary-Husky","product":"Gpt Academic","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.