Inefficient regular expression complexity in GitPython - CVE-2026-87819

 

Inefficient regular expression complexity in GitPython - CVE-2026-87819

Published: August 26, 2026 / Updated: September 14, 2026


Vulnerability identifier: #VU145800
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2026-87819
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to inefficient regular expression complexity in Actor.name_email_regex in git/util.py when parsing the author or committer header of a git commit object containing a long string with an unterminated < character. A remote attacker can supply a specially crafted commit object to cause a denial of service.

The issue is triggered when GitPython resolves commit metadata such as .author or .committer from repositories or commit objects obtained from untrusted sources.


Affected software

GitPython
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
Python 3 Module
openSUSE Leap
python311-GitPython

How to mitigate CVE-2026-87819

Install security update from vendor's website.

GitPython - update to 3.1.60
python311-GitPython - update to 3.1.34.1693646983.2a2ae77-150400.9.11.1

External References

Related Security Bulletins