CVE Catalog

CVE-2026-120217

MediumCVSS 4.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.27%

19th percentile - higher than 19% of all known CVEs

Summary

A vulnerability was detected in loguru 0.7.3 in the AnsiParser.feed function of loguru/_colorizer.py, part of the ANSI Color-Markup Parser component. Manipulating input results in inefficient regular expression complexity (ReDoS), and the attack can be carried out remotely. The exploit is publicly available, and the vendor did not respond to the disclosure.

Risk Assessment

A remote attacker can cause excessive CPU consumption through crafted input, potentially leading to denial of service (DoS) in applications using loguru. The public availability of the exploit increases the risk of abuse.

Recommendation

Restrict or validate input passed to the ANSI color parser and monitor resource usage of applications using loguru. Track library updates and apply the fix as soon as it becomes available.

Related vulnerabilities

Original NVD description (English source)

A vulnerability was detected in Delgan loguru 0.7.3. The affected element is the function AnsiParser.feed of the file loguru/_colorizer.py of the component ANSI Color-Markup Parser. Performing a manipulation results in inefficient regular expression complexity. The attack is possible to be carried out remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS