← Vulnerability feed

Vulnerability record · CVE-2024-12391 · published 20 March 2025

CVE-2024-12391: Binary-husky gpt academic inefficient regular expression (redos) vulnerability

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

6.5 CVSS 3.0 Medium EPSS 0.95% · top 40.2% CWE-1333 · Inefficient regular expression (ReDoS)
6.5CVSS 3.0 base score
0.95%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-12391 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-0763Binary-husky gpt academic deserialization of untrusted data vulnerabilityGPT Academic run_in_subprocess_wrapper_func Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote a…EPSS 1.3%9.8CVE-2026-0764Binary-husky gpt academic deserialization of untrusted data vulnerabilityGPT Academic upload Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbi…EPSS 1.3%9.8CVE-2024-31224Binary-husky gpt academic deserialization of untrusted data vulnerabilityGPT Academic provides interactive interfaces for large language models. A vulnerability was found in gpt_academic versions 3.64 through 3.73. The ser…EPSS 1.2%8.8CVE-2024-12389Binary-husky gpt academic vulnerabilityA path traversal vulnerability exists in binary-husky/gpt_academic version git 310122f. The application supports the extraction of user-provided 7z f…EPSS 1.7%8.8CVE-2024-12390Binary-husky gpt academic link following vulnerabilityA vulnerability in binary-husky/gpt_academic version git 310122f allows for remote code execution. The application supports the extraction of user-pr…EPSS 1.7%8.8CVE-2024-11039Binary-husky gpt academic deserialization of untrusted data vulnerabilityA pickle deserialization vulnerability exists in the Latex English error correction plug-in function of binary-husky/gpt_academic versions up to and …EPSS 2.1%8.8CVE-2024-10986Binary-husky gpt academic link following vulnerabilityGPT Academic version 3.83 is vulnerable to a Local File Read (LFI) vulnerability through its HotReload function. This function can download and extra…EPSS 0.82%8.8CVE-2024-10954Binary-husky gpt academic code injection vulnerabilityIn the `manim` plugin of binary-husky/gpt_academic, versions prior to the fix, a vulnerability exists due to improper handling of user-provided promp…EPSS 1.5%

Source: NIST National Vulnerability Database (record CVE-2024-12391), CISA KEV, FIRST EPSS (scores of 2026-10-02). This page is refreshed as NVD updates the record.