Buffer overflow in GNU Gnulib
CVE-2018-17942
The convert_to_decimal function in vasnprintf.c in Gnulib before 2018-09-23 has a heap-based buffer overflow because memory is not allocated for a trailing '\0' character during %f processing.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.029, 87.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/coreutils/gnulib/commit/278b4175c9d7dd47c1a3071554aac02add3b3c35 (Patch, Third Party Advisory)
- savannah.gnu.org/bugs/ (Exploit, Vendor Advisory)
- lists.gnu.org/archive/html/bug-gnulib/2018-09/msg00107.html (Exploit, Mailing List, Vendor Advisory)
- FEDORA-2020-acac61cfd0 (vendor-advisory)
- FEDORA-2020-663f619e9c (vendor-advisory)