Skip to main content
CVE-2024-12388VulnerabilityPublished Updated

CVE-2024-12388: binary-husky/gpt_academic · ReDoS

Affects binary-husky/gpt_academicSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.0 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

AI-suggested

To mitigate CVE-2024-12388, organizations should first identify all instances of binary-husky/gpt_academic in their environment. Since no official patches are currently available, immediate steps include: 1) Reviewing and refactoring the vulnerable regular expressions to use more efficient patterns or alternative parsing methods that avoid catastrophic backtracking. 2) Implementing input validation to reject or sanitize inputs that could trigger the ReDoS condition before they reach the regex engine. 3) Applying rate limiting and connection throttling on network interfaces to reduce the impact of repeated malicious requests. 4) Monitoring application performance and logs for signs of abnormal CPU usage or request patterns indicative of ReDoS attempts. 5) Isolating the vulnerable service behind web application firewalls (WAFs) or reverse proxies that can detect and block suspicious payloads. 6) Engaging with the vendor or open-source maintainers for updates or patches and applying them promptly once available. 7) Considering temporary disabling or restricting access to the vulnerable functionality if feasible until a fix is deployed.

Description

A vulnerability in binary-husky/gpt_academic version 310122f allows for a Regular Expression Denial of Service (ReDoS) attack. The application uses a regular expression to parse user input, which can take polynomial time to match certain crafted inputs. This allows an attacker to send a small malicious payload to the server, causing it to become unresponsive and unable to handle any requests from other users.

References

Community reviews

Loading reviews…