CVE-2023-25139: sprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with
CVE-2023-25139 is a critical-severity flaw (CVSS 9.8) affecting glibc. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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) overflo
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.5% (top 26%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2023-02-03 |
| Last modified | 2026-10-14 |
Last updated 2026-10-14 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-25139?
glibc: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-25139 being exploited?
CVE-2023-25139 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-25139 affect?
CVE-2023-25139 affects glibc. Severity is critical (CVSS 9.8). 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 w
How urgent is CVE-2023-25139?
Priority 63/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2023-4813 MEDIUM 5.9 UPGRADE MITIGATE A flaw has been identified in glibc
- CVE-2023-5156 HIGH 7.5 UPGRADE MITIGATE A flaw was found in the GNU C Library
- CVE-2023-4911 HIGH 7.8 EXPLOITED MITIGATE MITIGATE GNU C Library Buffer Overflow Vulnerability
- CVE-2023-0687 MEDIUM 4.6 UPGRADE A vulnerability was found in GNU C Library 2.38
- CVE-2022-23219 CRITICAL 9.8 UPGRADE DOWNGRADE The deprecated compatibility function clnt_create in the sunrpc module of the GNU C Library (aka glibc) throug