{"id":"UBUNTU-CVE-2018-17942","details":"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.","modified":"2026-03-24T10:45:43.554573Z","published":"2018-10-03T08:29:00Z","upstream":["CVE-2018-17942"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-17942"},{"type":"REPORT","url":"https://github.com/coreutils/gnulib/commit/278b4175c9d7dd47c1a3071554aac02add3b3c35"},{"type":"REPORT","url":"https://lists.gnu.org/archive/html/bug-gnulib/2018-09/msg00107.html"},{"type":"REPORT","url":"https://savannah.gnu.org/bugs/?func=detailitem&item_id=54686"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-17942"}],"affected":[{"package":{"name":"gnulib","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/gnulib@20140202+stable-2+deb8u1build0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20140202+stable-2+deb8u1build0.16.04.1"}]}],"versions":["20140202+stable-2"],"ecosystem_specific":{"binaries":[{"binary_version":"20140202+stable-2+deb8u1build0.16.04.1","binary_name":"git-merge-changelog"},{"binary_version":"20140202+stable-2+deb8u1build0.16.04.1","binary_name":"gnulib"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-17942.json"}},{"package":{"name":"gnulib","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/gnulib@20140202+stable-2+deb8u1build0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20140202+stable-2+deb8u1build0.18.04.1"}]}],"versions":["20140202+stable-2","20140202+stable-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"20140202+stable-2+deb8u1build0.18.04.1","binary_name":"git-merge-changelog"},{"binary_version":"20140202+stable-2+deb8u1build0.18.04.1","binary_name":"gnulib"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-17942.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}