VULNERABILITY INTELLIGENCE
CVE-2023-25139
CVSS score9.8 CRITICAL
EPSS probability1.50%
CISA KEVNot currently listed
Published2023-02-03
Last modified2026-10-14
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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.
Weakness classification
- nvd@nist.gov: CWE-787
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-787
Primary references
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org — Exploit, Issue Tracking, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Issue Tracking, Third Party Advisory
- 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e