| Name | CVE-2026-87819 |
| Description | GitPython before 3.1.60 contains a regular expression denial of service vulnerability in Actor.name_email_regex that processes commit author and committer fields. Attackers can craft a commit object with a malformed author field containing an unterminated angle bracket to cause quadratic backtracking, exhausting CPU resources for over two minutes per commit access. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4872-1, DSA-6594-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| python-git (PTS) | bookworm | 3.1.30-1+deb12u2 | vulnerable |
| bookworm (security) | 3.1.30-1+deb12u3 | fixed | |
| trixie | 3.1.44-1 | vulnerable | |
| trixie (security) | 3.1.44-1+deb13u1 | fixed | |
| forky, sid | 3.2.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| python-git | source | bookworm | 3.1.30-1+deb12u3 | DLA-4872-1 | ||
| python-git | source | trixie | 3.1.44-1+deb13u1 | DSA-6594-1 | ||
| python-git | source | (unstable) | 3.1.61-1 |
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-g5vv-9gxw-82hx
Fixed by: https://github.com/gitpython-developers/GitPython/commit/751473a5f3221d6f989291cbebcc404353fd3ba8 (3.1.60)
Followup for bug introduced by CVE fix: https://github.com/gitpython-developers/GitPython/commit/bc63b027e2fc737e2ec0222bfa764e1aa76a427f (3.1.61)