Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Glibc | 2.37 |
Related Weaknesses (CWE)
References
- http://www.openwall.com/lists/oss-security/2023/02/10/1
- https://security.netapp.com/advisory/ntap-20230302-0010/
- https://sourceware.org/bugzilla/show_bug.cgi?id=30068ExploitIssue TrackingThird Party Advisory
- http://www.openwall.com/lists/oss-security/2023/02/10/1
- https://security.netapp.com/advisory/ntap-20230302-0010/
- https://sourceware.org/bugzilla/show_bug.cgi?id=30068ExploitIssue TrackingThird Party Advisory
FAQ
What is CVE-2023-25139?
CVE-2023-25139 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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...
How severe is CVE-2023-25139?
CVE-2023-25139 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2023-25139?
Check the references section above for vendor advisories and patch information. Affected products include: Gnu Glibc.