CWE
787 119
Advisory Published
Updated

CVE-2023-25139: Buffer Overflow

First published: Fri Feb 03 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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
GNU glibc=2.37

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-25139?

    The severity of CVE-2023-25139 is critical.

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

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

  • 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.

  • 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.

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203