The uwsgiexpandpath function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.
{
"cpe": "cpe:2.3:a:unbit:uwsgi:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "2.0.15"
}
]
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"243490772673003282157936558199904593426",
"181592824591725200369686474910206047044",
"158615905151477501614971574296757523196",
"315841527456661264510776714703848883239",
"26709189314742607060451259810244503048",
"289459625645574912563299582688155520997",
"219008088992257488316115284816062178646",
"28645312378549450316791241360275036809",
"212277688537049713480888295541017770230",
"164660208065612182782306403571297121072",
"304630623969915843393271732044436154810",
"95920019456127796046077306239782103910"
]
},
"signature_version": "v1",
"source": "https://github.com/unbit/uwsgi/commit/cb4636f7c0af2e97a4eef7a3cdcbd85a71247bfe",
"signature_type": "Line",
"target": {
"file": "core/utils.c"
},
"id": "CVE-2018-6758-e1f148c8",
"deprecated": false
},
{
"digest": {
"length": 337.0,
"function_hash": "117135496517650499400134591371153409223"
},
"signature_version": "v1",
"source": "https://github.com/unbit/uwsgi/commit/cb4636f7c0af2e97a4eef7a3cdcbd85a71247bfe",
"signature_type": "Function",
"target": {
"function": "uwsgi_expand_path",
"file": "core/utils.c"
},
"id": "CVE-2018-6758-ff0cd9e1",
"deprecated": false
}
]
"2026-07-08T20:14:59Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6758.json"