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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gnulib | 20140202+stable-3.1 | — |
| Debian 13 | gnulib | 20140202+stable-3.1 | — |
| Debian 12 | gnulib | 20140202+stable-3.1 | — |
| Debian 8 | gnulib | 20140202+stable-2+deb8u1 | DLA-1543-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | gnulib | 20140202+stable-2+deb8u1build0.18.04.1 | — |
| Ubuntu 16.04 LTS | gnulib | 20140202+stable-2+deb8u1build0.16.04.1 | — |
Advisories 1
- DLA-1543-1 gnulib - security update Debian Security (DSA / DLA) · Mar 9, 2026