Vulnerability Details : 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 category: OverflowMemory Corruption
Products affected by CVE-2023-25139
- cpe:2.3:a:gnu:glibc:2.37:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-25139
0.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 61 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-25139
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2023-25139
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-25139
-
https://security.netapp.com/advisory/ntap-20230302-0010/
CVE-2023-25139 GNU C Library (glibc) Vulnerability in NetApp Products | NetApp Product Security
-
https://sourceware.org/bugzilla/show_bug.cgi?id=30068
30068 – incorrect printf output for integers with thousands separator and width fieldExploit;Issue Tracking;Third Party Advisory
-
http://www.openwall.com/lists/oss-security/2023/02/10/1
oss-security - CVE-2023-25139: glibc-2.37 sprintf buffer overflow
Jump to