{"id":"CVE-2023-25139","aliases":["CVE-2023-25139"],"related":[],"kind":"vulnerability","state":"published","title":"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.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"sprintf en la librería GNU C (glibc) 2.37 tiene un desbordamiento del búfer (escritura fuera de los límites) en algunas situaciones con un tamaño de búfer correcto. Esto no tiene relación con CWE-676. Puede escribir más allá de los límites del búfer de destino cuando intenta escribir una representación de cadena rellenada y separada por miles de un número, si al búfer se le asigna el tamaño exacto requerido para representar ese número como una cadena. Por ejemplo, 1.234.567 (con relleno de 13) se desborda en dos bytes.","source":"nvd"}],"published":"2023-02-03T00:00:00.000Z","modified":"2026-10-14T23:17:15.260Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"2.37"}],"vendor":"gnu","product":"glibc","cpe":"cpe:2.3:a:gnu:glibc:2.37:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=30068","tags":["exploit","issue-tracking","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/10/1","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230302-0010/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-03-26T14:48:30.307Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-25139","url":"https://www.cve.org/CVERecord?id=CVE-2023-25139","licence":"CVE Terms of Use","modified":"2026-10-14T22:32:06.634Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-25139","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25139","licence":"Public domain","modified":"2026-10-14T23:17:15.260Z"}],"updatedAt":"2026-11-25T22:58:21.818Z","epss":{"score":0.01512,"percentile":0.75216,"date":"2026-12-01T12:00:22.000Z"}}