| Name | CVE-2018-17942 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1543-1 |
| Debian Bugs | 910757 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| gnulib (PTS) | bullseye | 20210102~ebaa53c-1 | fixed |
| bookworm | 20230209+stable-1 | fixed |
| trixie | 20250303-1 | fixed |
| forky, sid | 20250303-3 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| gnulib | source | jessie | 20140202+stable-2+deb8u1 | | DLA-1543-1 | |
| gnulib | source | stretch | 20140202+stable-2+deb9u1 | | | |
| gnulib | source | (unstable) | 20140202+stable-3.1 | low | | 910757 |
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