Critical
Security advisory
Integer overflow in the authenticate_post function in CGit before 0.12 allows remote attackers to have unspecified impact via a large value in the Content-Length HTTP header, which triggers a buffer overflow.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-1901
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:08 UTC · Revision 1
Source evidence
Integer overflow in the authenticate_post function in CGit before 0.12 allows remote attackers to have unspecified impact via a large value in the Content-Length HTTP header, which triggers a buffer overflow.
osv:CVE-2016-1901
Complete source record
{
"id": "ec44ce128e400c7b0d8f4503147319bebdb3fbcaf14cb4c26dffc5d3b227766a",
"url": "https://osv.dev/vulnerability/CVE-2016-1901",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-1901",
"summary": "Integer overflow in the authenticate_post function in CGit before 0.12 allows remote attackers to have unspecified impact via a large value in the Content-Length HTTP header, which triggers a buffer overflow.",
"evidence": "osv:CVE-2016-1901",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2016-1901",
"aliases": [
"CVE-2016-1901"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.zx2c4.com/cgit",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "cadbb69990d232ce49547190b1cff2b57fc8b438"
},
{
"fixed": "4458abf64172a62b92810c2293450106e6dfc763"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cgit_project:cgit:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.11.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4458abf64172a62b92810c2293450106e6dfc763"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.11.2",
"v0.11.1",
"v0.11.0",
"v0.10.2",
"v0.10.1",
"v0.10",
"v0.9.2",
"v0.9.1",
"v0.9",
"v0.8.3",
"v0.8.2",
"v0.8.1",
"v0.8",
"v0.7",
"v0.6.3",
"v0.6.2",
"v0.6.1",
"v0.6",
"v0.5",
"v0.4",
"v0.3",
"v0.2",
"v0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-1901.json",
"vanir_signatures": [
{
"id": "CVE-2016-1901-95834c7c",
"digest": {
"length": 502,
"function_hash": "91807045455295017519516621474102082140"
},
"source": "https://git.zx2c4.com/cgit@4458abf64172a62b92810c2293450106e6dfc763",
"target": {
"file": "cgit.c",
"function": "authenticate_post"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2016-1901-d5b187a7",
"digest": {
"threshold": 0.9,
"line_hashes": [
"50161904421011037412943174156570592313",
"323348394024932948650418271075221821184",
"134652070258692373190625334827825705051",
"141316581865117512757489622978323703720"
]
},
"source": "https://git.zx2c4.com/cgit@4458abf64172a62b92810c2293450106e6dfc763",
"target": {
"file": "cgit.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:12:42Z"
}
}
],
"modified": "2026-10-20T13:12:42.625805755Z",
"provider": "osv",
"references": [],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "22"
},
{
"last_affected": "22"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2016-1901",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387302,
"published_at": "2016-01-20T16:59:05.88+00:00"
}