Skip to main content
CVE-2026-126303VulnerabilityPublished Updated

SteppingRecursiveDescentParser.parse() with ambiguous or self-embedding grammars · NLTK: Unbounded CPU consumption

Affects gptlineSource GCVE Database

0
Compare
Authoritative record:CVE-2026-126303· High 8.7

Not known to be exploited · CVSS 8.7 High : upgrade to 1.0.8_25 soon.

Data as of 18 Nov 2026, 17:51 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.7
CNA (VulnCheck)CVSS 3.17.5
Patch
Available – fixed in 1.0.8_25
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 17 Nov 2026.

What to do

Upgrade gptline to 1.0.8_25.

Affected software

ProductAffectedFixed in
Homebrewgptlinepkg:brew/gptlineOther threatsAffected
  • >=1.0.8 <1.0.8_25
Fixed in
  • 1.0.8_25

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in version 1.0.8_25. Users should upgrade to this version or later to ensure the parser enforces a time limit on parsing operations. Until upgraded, avoid using SteppingRecursiveDescentParser on untrusted or attacker-controlled grammars and inputs. Because the stepping parser lacks a max_time parameter and does not enforce timeouts, relying on the base RecursiveDescentParser with max_time set is a safer alternative for untrusted inputs.

Description

The NLTK SteppingRecursiveDescentParser's parse() method performs an unbounded top-down search on ambiguous or self-embedding grammars without any time or step limit, allowing an attacker who controls the grammar and input to cause indefinite CPU consumption and denial of service. Unlike its base class RecursiveDescentParser, which enforces a max_time limit, the stepping parser lacks this safeguard and can be forced to run indefinitely. This vulnerability affects versions >=1.0.8 and <1.0.8_25 of the affected product and has a high severity impact due to potential denial of service.

References

Community reviews

Loading reviews…