CVE-2023-25139
criticalsprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with a correct buffer size.
Vendor / product: Gnu — glibc
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Affected products
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- http://www.openwall.com/lists/oss-security/2023/02/10/1 cve@mitre.org
- https://security.netapp.com/advisory/ntap-20230302-0010/ cve@mitre.org
- https://sourceware.org/bugzilla/show_bug.cgi?id=30068 cve@mitre.org
- http://www.openwall.com/lists/oss-security/2023/02/10/1 af854a3a-2127-422b-91ae-364da2661108
- https://security.netapp.com/advisory/ntap-20230302-0010/ af854a3a-2127-422b-91ae-364da2661108
- https://sourceware.org/bugzilla/show_bug.cgi?id=30068 af854a3a-2127-422b-91ae-364da2661108
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
