{"id":"CVE-2023-25139","details":"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.","modified":"2026-08-28T11:45:55.186245866Z","published":"2023-02-03T00:00:00Z","related":["CGA-hxh9-xr5v-q9vc","openSUSE-SU-2024:13123-1"],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25139.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25139.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25139"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230302-0010/"},{"type":"REPORT","url":"https://sourceware.org/bugzilla/show_bug.cgi?id=30068"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2023/02/10/1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bminor/glibc","events":[{"introduced":"a704fd9a133bfb10510e18702f48a6a9c88dbbd5"},{"last_affected":"a704fd9a133bfb10510e18702f48a6a9c88dbbd5"}],"database_specific":{"cpe":"cpe:2.3:a:gnu:glibc:2.37:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.37"},{"last_affected":"2.37"}],"source":"CPE_STRING"}}],"versions":["2.37","glibc-2.37"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25139.json"}},{"ranges":[{"type":"GIT","repo":"https://sourceware.org/git/glibc.git","events":[{"introduced":"a704fd9a133bfb10510e18702f48a6a9c88dbbd5"},{"last_affected":"a704fd9a133bfb10510e18702f48a6a9c88dbbd5"}],"database_specific":{"extracted_events":[{"introduced":"2.37"},{"last_affected":"2.37"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:gnu:glibc:2.37:*:*:*:*:*:*:*"}}],"versions":["2.37","glibc-2.37"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25139.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}