CVE-2012-4465
publishedcgit: specially-crafted commit can trigger a heap-based buffer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| SUSE / openSUSE | openSUSE-Tumbleweed | cgitaarch64 | Advisory build | 1.0-1.3 | OPENSUSE-SU-2024:10137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cgitppc64le | Advisory build | 1.0-1.3 | OPENSUSE-SU-2024:10137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cgits390x | Advisory build | 1.0-1.3 | OPENSUSE-SU-2024:10137-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cgitx86_64 | Advisory build | 1.0-1.3 | OPENSUSE-SU-2024:10137-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
7- http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec
- [cgit] 20120703 avoid stack-smash when processing unusual commit http://hjemli.net/pipermail/cgit/2012-July/000652.html
- 50734 http://secunia.com/advisories/50734
- [oss-security] 20120930 cgit: heap buffer overflow http://www.openwall.com/lists/oss-security/2012/09/30/1
- [oss-security] 20121003 Re: cgit: heap buffer overflow http://www.openwall.com/lists/oss-security/2012/10/03/7
- 55724 http://www.securityfocus.com/bid/55724
- https://bugzilla.redhat.com/show_bug.cgi?id=820733
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 75bc634ed3481827e9872a11c63cee65a56c4fbec9549d502d3f9d437935389e
- Ingested
- 23 Sep 2026, 07:39:20 UTC
- Source record
- Official CVE record