| Name | CVE-2012-4465 |
| Description | Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and earlier allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via an empty username in the "Author" field in a commit. |
| 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) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| cgit (PTS) | bullseye | 1.2.3+git2.25.1-1 | fixed |
| bookworm | 1.2.3+git20221219.50.91f2590+git2.39.1-1 | fixed |
| trixie | 1.2.3+git20240802.70.09d24d7+git2.46.0-1 | fixed |
| forky, sid | 1.2.3+git20250818.80.3346409+git2.51.0-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| cgit | source | (unstable) | (not affected) | | | |
Notes
- cgit <not-affected> (Fixed before the initial upload into the archive)