CVE-2012-4465 json
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 den…
published 2012-10-10 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-4394
- cvss
- 6.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- cgit openSUSE Tumbleweed 1.0-1.3
opensuse advisories openSUSE-SU-2024:10137-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-4465 updated cvss 6.0
cgit: specially-crafted commit can trigger a heap-based buffer overflow
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.38% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- git.zx2c4.com /cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec
-
secunia.com
/advisories/50734
third-party-advisory, vendor-advisory
-
openwall.com
/lists/oss-security/2012/09/30/1
mailing-list
-
hjemli.net
/pipermail/cgit/2012-July/000652.html
mailing-list
- bugzilla.redhat.com /show_bug.cgi?id=820733
-
securityfocus.com
/bid/55724
vdb-entry
-
openwall.com
/lists/oss-security/2012/10/03/7
mailing-list
Sources
- CVE List CVE-2012-4465
- NVD CVE-2012-4465
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.