CVE-2023-25139

Source
https://cve.org/CVERecord?id=CVE-2023-25139
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25139.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-25139
Downstream
Related
Published
2023-02-03T00:00:00Z
Modified
2026-08-12T03:51:44.178459972Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25139.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/bminor/glibc

Affected ranges

Type
GIT
Repo
https://github.com/bminor/glibc
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:gnu:glibc:2.37:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.37"
        },
        {
            "last_affected": "2.37"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

2.*
2.37
glibc-2.*
glibc-2.37

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25139.json"