Buffer overflow in GNU Glibc
CVE-2023-25139
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.015 (73.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 73.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.015 · change: +0.001
Affected products
- GNU Glibc — versions 2.37
Weakness classification (CWE)
Public proof-of-concept exploits
References
- sourceware.org/bugzilla/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- www.openwall.com/lists/oss-security/2023/02/10/1 (mailing-list)
- security.netapp.com/advisory/ntap-20230302-0010/
- 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Frequently asked questions
- What is CVE-2023-25139?
- CVE-2023-25139 is a critical-severity vulnerability in GNU Glibc, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2023-02-03.
- How severe is CVE-2023-25139?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2023-25139 known to be exploited?
- 8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.