Vulnerabilities · 2018 · Gnu
CVE-2018-17942
Gnulib vulnerability
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
Gnulib. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnulib runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.gnu.org/archive/html/bug-gnulib/2018-09/msg00107.html · Exploit
- savannah.gnu.org/bugs/?func=detailitem&item_id=54686 · Exploit
- github.com/coreutils/gnulib/commit/278b4175c9d7dd47c1a3071554aac02add3b3c35 · Patch
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T
- nvd.nist.gov/vuln/detail/CVE-2018-17942
- cve.org/CVERecord?id=CVE-2018-17942
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.