CVE-2023-25139
published critical CVSS 3.1 · 9.8glibc: incorrect printf output for integers with thousands separator and width field
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Alpine Linux | edge | mpfr4 | Fixed | 4.2.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibcaarch64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| Alpine Linux | v3.19 | mpfr4 | Fixed | 4.2.1-r0 | Package fix record |
| Alpine Linux | v3.20 | mpfr4 | Fixed | 4.2.1-r0 | Package fix record |
Show 53 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Alpine Linux | v3.21 | mpfr4 | Fixed | 4.2.1-r0 | Package fix record |
| Alpine Linux | v3.22 | mpfr4 | Fixed | 4.2.1-r0 | Package fix record |
| Alpine Linux | v3.23 | mpfr4 | Fixed | 4.2.1-r0 | Package fix record |
| Alpine Linux | v3.24 | mpfr4 | Fixed | 4.2.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibcppc64le | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibcs390x | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibcx86_64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-develaarch64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-develppc64le | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-devels390x | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-develx86_64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-devel-staticaarch64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-devel-staticppc64le | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-devel-statics390x | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-devel-staticx86_64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-extraaarch64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-extrappc64le | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-extras390x | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-extrax86_64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-htmlaarch64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-htmlppc64le | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-htmls390x | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-htmlx86_64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-i18ndataaarch64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-i18ndatappc64le | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-i18ndatas390x | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-i18ndatax86_64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-infoaarch64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-infoppc64le | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-infos390x | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-infox86_64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-langaarch64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-langppc64le | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-langs390x | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-langx86_64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-localeaarch64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-localeppc64le | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-locales390x | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-localex86_64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-locale-baseaarch64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-locale-baseppc64le | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-locale-bases390x | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-locale-basex86_64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-profileaarch64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-profileppc64le | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-profiles390x | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-profilex86_64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nscdaarch64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nscdppc64le | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nscds390x | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nscdx86_64 | Advisory build | 2.38-1.1 | OPENSUSE-SU-2024:13123-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
2- n/a
- CWE-787 CWE-787 Out-of-bounds Write
References
4- [oss-security] 20230210 CVE-2023-25139: glibc-2.37 sprintf buffer overflow http://www.openwall.com/lists/oss-security/2023/02/10/1
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://security.netapp.com/advisory/ntap-20230302-0010/
- https://sourceware.org/bugzilla/show_bug.cgi?id=30068
Provider assertions
4mitre · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7e1664794659074031b284201d2a1922e555c4730fab7be27c2df6f09e16881a
- Ingested
- 14 Oct 2026, 22:44:09 UTC
- Source record
- Official CVE record