Skip to content

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.

HighCVSS 8.8 EPSS 2.9%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
debian/gnulib(Debian:12) < 20140202+stable-3.1 20140202+stable-3.1
debian/gnulib(Debian:13) < 20140202+stable-3.1 20140202+stable-3.1
debian/gnulib(Debian:14) < 20140202+stable-3.1 20140202+stable-3.1
gnulib < 2018-09-23 2018-09-23
ubuntu/gnulib(Ubuntu:16.04) < 20140202+stable-2+deb8u1build0.16.04.1 20140202+stable-2+deb8u1build0.16.04.1
ubuntu/gnulib(Ubuntu:16.04) = 20140202+stable-2 No fix listed
ubuntu/gnulib(Ubuntu:18.04) < 20140202+stable-2+deb8u1build0.18.04.1 20140202+stable-2+deb8u1build0.18.04.1
ubuntu/gnulib(Ubuntu:18.04) = 20140202+stable-2 No fix listed
ubuntu/gnulib(Ubuntu:18.04) = 20140202+stable-2build1 No fix listed

References