Home / Lars Hjemli / Cgit / CVE-2012-4465
CVE-2012-4465: is it exploited, and which versions of Lars Hjemli Cgit are affected and fixed?
CVE-2012-4465 is a memory corruption (buffer overflow) vulnerability in Lars Hjemli Cgit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: cgit through 0.9.0.3, cgit 0.1, cgit 0.2 and 25 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-4465?
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.
From the CVE record by redhat, last updated August 6, 2024, 20:35 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| lars hjemli | cgit | through 0.9.0.3 | application |
| lars hjemli | cgit | 0.1 | application |
| lars hjemli | cgit | 0.2 | application |
| lars hjemli | cgit | 0.3 | application |
| lars hjemli | cgit | 0.4 | application |
| lars hjemli | cgit | 0.5 | application |
| lars hjemli | cgit | 0.6 | application |
| lars hjemli | cgit | 0.6.1 | application |
| lars hjemli | cgit | 0.6.2 | application |
| lars hjemli | cgit | 0.6.3 | application |
| lars hjemli | cgit | 0.7 | application |
| lars hjemli | cgit | 0.7.1 | application |
| lars hjemli | cgit | 0.7.2 | application |
| lars hjemli | cgit | 0.8 | application |
| lars hjemli | cgit | 0.8.1 | application |
| lars hjemli | cgit | 0.8.1.1 | application |
| lars hjemli | cgit | 0.8.2 | application |
| lars hjemli | cgit | 0.8.2.1 | application |
| lars hjemli | cgit | 0.8.2.2 | application |
| lars hjemli | cgit | 0.8.3 | application |
| lars hjemli | cgit | 0.8.3.1 | application |
| lars hjemli | cgit | 0.8.3.2 | application |
| lars hjemli | cgit | 0.8.3.3 | application |
| lars hjemli | cgit | 0.8.3.4 | application |
| lars hjemli | cgit | 0.8.3.5 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:45 UTC.
How severe is CVE-2012-4465?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-4465 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.38% probability of exploitation activity in the next 30 days, percentile 89.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- [oss-security] 20120930 cgit: heap buffer overflow mailing-list, x_refsource_MLIST
- http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec x_refsource_CONFIRM
- [cgit] 20120703 avoid stack-smash when processing unusual commit mailing-list, x_refsource_MLIST
- https://bugzilla.redhat.com/show_bug.cgi?id=820733 x_refsource_MISC
- 50734 third-party-advisory, x_refsource_SECUNIA
- 55724 vdb-entry, x_refsource_BID
- [oss-security] 20121003 Re: cgit: heap buffer overflow mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- August 21, 2012
- Published
- October 10, 2012, 18:00 UTC
- CVE record updated
- August 6, 2024, 20:35 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:45 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Cgit?
- Aug 9, 2013CVE-2013-2117 Jason A Donenfeld Cgit: path traversal (reading or writing files outside the intended folder)
- Nov 11, 2012CVE-2012-4548 Lars Hjemli Cgit: n/a
- Aug 3, 2011CVE-2011-2711 Lars Hjemli Cgit: cross-site scripting (XSS)
- Mar 20, 2011CVE-2011-1027 Lars Hjemli Cgit: off-by-one Error
Questions about CVE-2012-4465
Is CVE-2012-4465 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 3.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Lars Hjemli Cgit are affected by CVE-2012-4465?
cgit through 0.9.0.3, cgit 0.1, cgit 0.2, cgit 0.3, cgit 0.4, cgit 0.5 and 22 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-4465?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2012-4465?
Medium (6.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-4465?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.