CVE-2023-25139: Buffer Overflow

Published Feb 3, 2023
·
Updated

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.

Affected Software

1 affected component
GNU glibc=2.37

Event History

Feb 3, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·06:15 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-25139?

The severity of CVE-2023-25139 is critical.

2

What is the affected software for CVE-2023-25139?

The affected software for CVE-2023-25139 is GNU glibc version 2.37.

3

What is the Common Weakness Enumeration (CWE) ID for CVE-2023-25139?

The Common Weakness Enumeration (CWE) ID for CVE-2023-25139 is CWE-119 and CWE-787.

4

What is the description of CVE-2023-25139?

CVE-2023-25139 is a buffer overflow vulnerability in sprintf function in GNU C Library (glibc) 2.37, which can result in out-of-bounds write in some situations.

5

How can I fix CVE-2023-25139?

To fix CVE-2023-25139, it is recommended to update to a version of GNU C Library (glibc) that is not affected by this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203