CVE-2018-17942

NameCVE-2018-17942
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1543-1
Debian Bugs910757

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gnulib (PTS)jessie, jessie (lts)20140202+stable-2+deb8u1fixed
stretch20140202+stable-2+deb9u1fixed
buster20140202+stable-4fixed
bullseye20210102~ebaa53c-1fixed
bookworm20230209+stable-1fixed
sid, trixie20240701-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gnulibsourcewheezy(unfixed)end-of-life
gnulibsourcejessie20140202+stable-2+deb8u1DLA-1543-1
gnulibsourcestretch20140202+stable-2+deb9u1
gnulibsource(unstable)20140202+stable-3.1low910757

Notes

pspp affecting bug: https://savannah.gnu.org/bugs/?func=detailitem&item_id=54686
https://lists.gnu.org/archive/html/bug-gnulib/2018-09/msg00107.html
https://github.com/coreutils/gnulib/commit/278b4175c9d7dd47c1a3071554aac02add3b3c35

Search for package or bug name: Reporting problems