Vulnerabilidades / CVE-2023-25139

crítica

CVE-2023-25139

glibc: incorrect printf output for integers with thousands separator and width field

Publicada Modificada CWE 787
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según Red Hat (media), Ubuntu (media).

Descripción

sprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with a correct buffer size. This is unrelated to CWE-676. It may write beyond the bounds of the destination buffer when attempting to write a padded, thousands-separated string representation of a number, if the buffer is allocated the exact size required to represent that number as a string. For example, 1,234,567 (with padding to 13) overflows by two bytes.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
alpine 3.19mpfr44.2.1-r0
alpine 3.20mpfr44.2.1-r0
alpine 3.21mpfr44.2.1-r0
alpine 3.22mpfr44.2.1-r0
alpine 3.23mpfr44.2.1-r0
alpine 3.24mpfr44.2.1-r0
alpine edgempfr44.2.1-r0
chainguardglibc2.37-r1
ubuntu 23.04glibc2.37-0ubuntu2
wolfiglibc2.37-r1

Referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.