Bug 2565694

Summary: CVE-2026-120217 python-loguru: loguru: Denial of Service via inefficient regular expression complexity [epel-all]
Product: [Fedora] Fedora EPEL Reporter: Ganesh <gnaik>
Component: python-loguruAssignee: Ben Beasley <code>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: epel10CC: code, neuro-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["d8de1a50-9f36-4cda-92c0-63173ce59d6b"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-03 13:58:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2564513    

Description Ganesh 2026-11-03 11:11:15 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Ben Beasley 2026-11-03 13:58:27 UTC
I reported this upstream. It has been a while since the last release, but the upstream developer has been active lately, so it’s reasonable to hope that they may come up with a patch in the near future. Meanwhile, anyone who is using the loguru Python package to log untrusted input should not configure their logger with color=True.

*** This bug has been marked as a duplicate of bug 2565689 ***