VDB
ALPINE-CVE-2023-25139
ALPINE-CVE-2023-25139
PUBLISHED
CVSS 9.800000190734863 CRITICAL
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 Scores
CVSS v3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.19 | mpfr4 | 4.2.0, 4.0.2-r3, 4.0.2-r1 |
| Alpine:v3.21 | mpfr4 | 0, 4.0.2-r1, 4.0.2-r3 |
| Alpine:v3.20 | mpfr4 | 4.0.2-r4, 4.0.2-r1, 4.0.2-r2 |
| Alpine:v3.22 | mpfr4 | 4.2.0, 0, 4.0.2-r2 |
| Alpine:v3.23 | mpfr4 | 0, 4.0.2-r1, 4.0.2-r2 |
Timeline
- Feb 3, 2023 CVE Published
- Dec 3, 2025 CVE Updated
- Apr 30, 2026 Distribution Patch