SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2018-17942

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.

HIGH 8.8EPSS 2.49%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (2.49%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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 3.0
8.8 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.49% probability · 85th percentile
Public exploits
None in Exploit-DB
CISA KEV
Not listed
Weakness
CWE-787
Affected
gnu/gnulib
Source
cve@mitre.org
EPSS trend
0%3%5%27 October 2026: 2.49%27 October 202627 October 2026

EPSS 2.5% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.