CVE-2018-17942: gnu gnulib Out-of-bounds Write
CVSS: 8.8v3.0HighModified
AliasesUBUNTU-CVE-2018-17942DEBIAN-CVE-2018-17942DLA-1543-1
Published 03-10-2018Last modified 05-08-2024
Vulnerability summary
CVE-2018-17942 is a high (CVSS 8.8) Out-of-bounds Write vulnerability in gnu gnulib. EPSS estimates a 2.49% chance of exploitation in the next 30 days, higher than 84.4% of scored vulnerabilities. 2 public exploits are recorded.
CVSS score
8.8/10
010
High · v3.0 (NVD)EPSS score
2.49%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 03-10-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versionsHigh 8.8Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
2.49%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
0.00 pp
From 2.49% on 20-09-2026
20-09-202620-10-2026
EPSS score2.49%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (savannah.gnu.org)
Maturity: unknown
Exploit Reference (lists.gnu.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian1 product
- gnulib< 20140202+stable-3.1 | < 20140202+stable-2+deb8u1
Gnu1 product
- gnulib< 2018-09-23
Ubuntu1 product
- gnulib< 20140202+stable-2+deb8u1build0.16.04.1 | < 20140202+stable-2+deb8u1build0.18.04.1
3 vendors · 3 products
References
8 links- github.com/coreutils/gnulib/commit/278b4175c9d7dd47c1a3071554aac02add3b3c35X Refsource MISCPatchThird Party AdvisoryREPORT
- lists.gnu.org/archive/html/bug-gnulib/2018-09/msg00107.htmlX Refsource MISCExploitMailing ListVendor AdvisoryREPORT