Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2023-25139
VULNERABILITY

CVE-2023-25139

Common Vulnerabilities and Exposures record

CRITICAL

Summary

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.

Risk

CVSS
9.8
Severity
CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Timeline

Published
Feb 3, 2023 06:15
Modified
Oct 14, 2026 23:17
Last observed
Oct 15, 2026 12:23

CWE

CWE-787

Affected product identifiers

cpe:2.3:a:gnu:glibc:2.37:*:*:*:*:*:*:*

References