CVE-2018-6758 json
The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.
published 2018-02-06 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18505
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.
Patch / fix
- uwsgi Debian 14, Debian 13, Debian 12 2.0.15-10.2
debian advisories DEBIAN-CVE-2018-6758
- uwsgi Ubuntu 14.04 LTS 1.9.17.1-5ubuntu0.1
- uwsgi Ubuntu 16.04 LTS 2.0.12-5ubuntu3.2
ubuntu advisories UBUNTU-CVE-2018-6758
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- uwsgi openSUSE Tumbleweed 2.0.19.1-3.10
opensuse advisories openSUSE-SU-2024:11490-1
- uwsgi Alpine 3.24, Alpine 3.23, Alpine 3.22 +18 more 2.0.16-r0
alpine advisories ALPINE-CVE-2018-6758
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
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-2018-6758 updated cvss 7.3
uwsgi: Stack-based buffer overflow in core/utils.c:uwsgi_expand_path() can lead to crash and potential code execution
-
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
2.05% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/unbit/uwsgi/commit/cb4636f7c0af2e97a4eef7a3cdcbd85a71247bfe
patch, vendor-advisory
-
lists.unbit.it
/pipermail/uwsgi/2018-February/008835.html
issue-tracking, patch
-
lists.debian.org
/debian-lts-announce/2018/02/msg00010.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-6758
- NVD CVE-2018-6758
Fencer Vulns 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.