Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and…
Priority LOW 35CWE-119Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
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.
Why it matters now
EPSS 0.03383 88th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 28
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:lars_hjemli:cgit:*:*:*:*:*:*:*:* | up to 0.9.0.3 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.1:*:*:*:*:*:*:* | 0.1 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.2:*:*:*:*:*:*:* | 0.2 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.3:*:*:*:*:*:*:* | 0.3 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.4:*:*:*:*:*:*:* | 0.4 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.5:*:*:*:*:*:*:* | 0.5 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.6:*:*:*:*:*:*:* | 0.6 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.6.1:*:*:*:*:*:*:* | 0.6.1 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.6.2:*:*:*:*:*:*:* | 0.6.2 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.6.3:*:*:*:*:*:*:* | 0.6.3 | Vulnerable | Lars Hjemli |
- cpe:2.3:a:lars_hjemli:cgit:*:*:*:*:*:*:*:* Versions up to 0.9.0.3 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.1:*:*:*:*:*:*:* Versions 0.1 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.2:*:*:*:*:*:*:* Versions 0.2 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.3:*:*:*:*:*:*:* Versions 0.3 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.4:*:*:*:*:*:*:* Versions 0.4 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.5:*:*:*:*:*:*:* Versions 0.5 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.6:*:*:*:*:*:*:* Versions 0.6 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.6.1:*:*:*:*:*:*:* Versions 0.6.1 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.6.2:*:*:*:*:*:*:* Versions 0.6.2 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.6.3:*:*:*:*:*:*:* Versions 0.6.3 Vulnerable ·Lars Hjemli
Show 18 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:lars_hjemli:cgit:0.7:*:*:*:*:*:*:* | 0.7 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.7.1:*:*:*:*:*:*:* | 0.7.1 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.7.2:*:*:*:*:*:*:* | 0.7.2 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.8:*:*:*:*:*:*:* | 0.8 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.8.1:*:*:*:*:*:*:* | 0.8.1 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.8.1.1:*:*:*:*:*:*:* | 0.8.1.1 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.8.2:*:*:*:*:*:*:* | 0.8.2 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.8.2.1:*:*:*:*:*:*:* | 0.8.2.1 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.8.2.2:*:*:*:*:*:*:* | 0.8.2.2 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.8.3:*:*:*:*:*:*:* | 0.8.3 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.8.3.1:*:*:*:*:*:*:* | 0.8.3.1 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.8.3.2:*:*:*:*:*:*:* | 0.8.3.2 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.8.3.3:*:*:*:*:*:*:* | 0.8.3.3 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.8.3.4:*:*:*:*:*:*:* | 0.8.3.4 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.8.3.5:*:*:*:*:*:*:* | 0.8.3.5 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.9:*:*:*:*:*:*:* | 0.9 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.9.0.1:*:*:*:*:*:*:* | 0.9.0.1 | Vulnerable | Lars Hjemli |
| cpe:2.3:a:lars_hjemli:cgit:0.9.0.2:*:*:*:*:*:*:* | 0.9.0.2 | Vulnerable | Lars Hjemli |
- cpe:2.3:a:lars_hjemli:cgit:0.7:*:*:*:*:*:*:* Versions 0.7 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.7.1:*:*:*:*:*:*:* Versions 0.7.1 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.7.2:*:*:*:*:*:*:* Versions 0.7.2 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.8:*:*:*:*:*:*:* Versions 0.8 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.8.1:*:*:*:*:*:*:* Versions 0.8.1 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.8.1.1:*:*:*:*:*:*:* Versions 0.8.1.1 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.8.2:*:*:*:*:*:*:* Versions 0.8.2 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.8.2.1:*:*:*:*:*:*:* Versions 0.8.2.1 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.8.2.2:*:*:*:*:*:*:* Versions 0.8.2.2 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.8.3:*:*:*:*:*:*:* Versions 0.8.3 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.8.3.1:*:*:*:*:*:*:* Versions 0.8.3.1 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.8.3.2:*:*:*:*:*:*:* Versions 0.8.3.2 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.8.3.3:*:*:*:*:*:*:* Versions 0.8.3.3 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.8.3.4:*:*:*:*:*:*:* Versions 0.8.3.4 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.8.3.5:*:*:*:*:*:*:* Versions 0.8.3.5 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.9:*:*:*:*:*:*:* Versions 0.9 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.9.0.1:*:*:*:*:*:*:* Versions 0.9.0.1 Vulnerable ·Lars Hjemli
- cpe:2.3:a:lars_hjemli:cgit:0.9.0.2:*:*:*:*:*:*:* Versions 0.9.0.2 Vulnerable ·Lars Hjemli
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2012-4465
- 2026-10-03 Alias added: GHSA-79m9-fj96-r8q8
References
Other 5
More Lars Hjemli Cgit vulnerabilities
- TI-2012-03888 Argument injection vulnerability in syntax-highlighting.sh in cgit 9.0.3 and earlier… CVSS 2.0MEDIUM 6.0
- TI-2011-00886 Off-by-one error in the convert_query_hexchar function in html.c in cgit.cgi in cgit… CVSS 2.0MEDIUM 5.0
- TI-2013-01886 Directory traversal vulnerability in the cgit_parse_readme function in ui-summary.c in… CVSS 2.0MEDIUM 4.3
- TI-2011-02371 Cross-site scripting (XSS) vulnerability in the print_fileinfo function in ui-diff.c in… CVSS 2.0LOW 3.5
Sources
- CVE-2012-4465 · CVE Program
- CVE-2012-4465 · NVD
- FIRST EPSS
- GHSA-79m9-fj96-r8q8 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-4465 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences