Back
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…
Medium6.5EPSS 3.4%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 3.4% · top 11% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
Affected products
n/a
- affected n/a
References (7)
- [oss-security] 20120930 cgit: heap buffer overflow (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec (opens in a new tab)x_refsource_CONFIRMx_transferred
- [cgit] 20120703 avoid stack-smash when processing unusual commit (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=820733 (opens in a new tab)x_refsource_MISCx_transferred
- 50734 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 55724 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- [oss-security] 20121003 Re: cgit: heap buffer overflow (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .