CVE catalog

CVE-2023-25139

glibc affected and fixed versions

[CVE catalog]

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.

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C
Published
Source
[NVD] · [CVE record]
EPSS
1.50% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "glibc",
      "status": "not affected",
      "release": "sid",
      "version": "2.43-7"
    },
    {
      "name": "glibc",
      "status": "not affected",
      "release": "forky",
      "version": "2.43-7"
    },
    {
      "name": "glibc",
      "status": "not affected",
      "release": "trixie",
      "version": "2.41-12+deb13u4"
    },
    {
      "name": "glibc",
      "status": "not affected",
      "release": "bookworm",
      "version": "2.36-9+deb12u14"
    },
    {
      "name": "glibc",
      "status": "not affected",
      "release": "bookworm-security",
      "version": "2.36-9+deb12u7"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "glibc",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "unimportant",
      "fixed_version": "0"
    },
    {
      "bug": null,
      "name": "glibc",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "unimportant",
      "fixed_version": "0"
    },
    {
      "bug": null,
      "name": "glibc",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "unimportant",
      "fixed_version": "0"
    },
    {
      "bug": null,
      "name": "glibc",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "unimportant",
      "fixed_version": "0"
    }
  ],
  "distribution_packages": [
    {
      "name": "glibc",
      "ranges": [],
      "ecosystem": "cpe",
      "fixed_version": "",
      "provider_record_id": "NVD-CVE-2023-25139"
    },
    {
      "name": "mpfr4",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.2.1-r0"
            }
          ]
        }
      ],
      "release": "3.19",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "4.2.1-r0",
      "provider_record_id": "ALPINE-CVE-2023-25139"
    },
    {
      "name": "mpfr4",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.2.1-r0"
            }
          ]
        }
      ],
      "release": "3.20",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "4.2.1-r0",
      "provider_record_id": "ALPINE-CVE-2023-25139"
    },
    {
      "name": "mpfr4",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.2.1-r0"
            }
          ]
        }
      ],
      "release": "3.21",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "4.2.1-r0",
      "provider_record_id": "ALPINE-CVE-2023-25139"
    },
    {
      "name": "mpfr4",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.2.1-r0"
            }
          ]
        }
      ],
      "release": "3.22",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "4.2.1-r0",
      "provider_record_id": "ALPINE-CVE-2023-25139"
    },
    {
      "name": "mpfr4",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.2.1-r0"
            }
          ]
        }
      ],
      "release": "3.23",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "4.2.1-r0",
      "provider_record_id": "ALPINE-CVE-2023-25139"
    },
    {
      "name": "mpfr4",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.2.1-r0"
            }
          ]
        }
      ],
      "release": "3.24",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "4.2.1-r0",
      "provider_record_id": "ALPINE-CVE-2023-25139"
    },
    {
      "name": "glibc",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.38-1.1"
            }
          ]
        }
      ],
      "release": "tumbleweed",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "2.38-1.1",
      "provider_record_id": "OPENSUSE-SU-2024:13123-1"
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [glibc-doc]Unknown

    Source package: [glibc]

    Details (4)
    • 2.36-9+deb12u14 · all · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u14 · all · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · all · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · all · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [glibc-source]Unknown

    Source package: [glibc]

    Details (4)
    • 2.36-9+deb12u14 · all · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u14 · all · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · all · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · all · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [libc6]Unknown

    Source package: [glibc]

    Details (4)
    • 2.36-9+deb12u14 · amd64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u14 · arm64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · amd64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · arm64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [libc6-dbg]Unknown

    Source package: [glibc]

    Details (4)
    • 2.36-9+deb12u14 · amd64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u14 · arm64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · amd64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · arm64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [libc6-dev]Unknown

    Source package: [glibc]

    Details (4)
    • 2.36-9+deb12u14 · amd64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u14 · arm64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · amd64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · arm64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • Source package: [glibc]

    Details (2)
    • 2.36-9+deb12u14 · amd64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · amd64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [libc6-dev-x32]Unknown

    Source package: [glibc]

    Details (2)
    • 2.36-9+deb12u14 · amd64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · amd64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [libc6-i386]Unknown

    Source package: [glibc]

    Details (2)
    • 2.36-9+deb12u14 · amd64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · amd64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [libc6-x32]Unknown

    Source package: [glibc]

    Details (2)
    • 2.36-9+deb12u14 · amd64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · amd64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [libc-bin]Unknown

    Source package: [glibc]

    Details (4)
    • 2.36-9+deb12u14 · amd64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u14 · arm64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · amd64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · arm64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [libc-dev-bin]Unknown

    Source package: [glibc]

    Details (4)
    • 2.36-9+deb12u14 · amd64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u14 · arm64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · amd64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · arm64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [libc-devtools]Unknown

    Source package: [glibc]

    Details (4)
    • 2.36-9+deb12u14 · amd64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u14 · arm64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · amd64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · arm64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [libc-l10n]Unknown

    Source package: [glibc]

    Details (4)
    • 2.36-9+deb12u14 · all · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u14 · all · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · all · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · all · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [locales]Unknown

    Source package: [glibc]

    Details (4)
    • 2.36-9+deb12u14 · all · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u14 · all · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · all · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · all · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [locales-all]Unknown

    Source package: [glibc]

    Details (4)
    • 2.36-9+deb12u14 · amd64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u14 · arm64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · amd64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · arm64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

  • [nscd]Unknown

    Source package: [glibc]

    Details (4)
    • 2.36-9+deb12u14 · amd64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u14 · arm64 · bookworm

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · amd64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

    • 2.36-9+deb12u7 · arm64 · bookworm-security

      Not affected

      dsa · glibc · debian · bookworm

[openSUSE Tumbleweed]

  • [glibc]Unknown

    Source package: [glibc]

    Details (1)
    • 2.43-4.3 · x86_64 · tumbleweed

      Fixed · Fixed: 2.38-1.1

      dsa · glibc · opensuse · tumbleweed

  • [glibc-32bit]Unknown

    Source package: [glibc]

    Details (1)
    • 2.43-4.3 · x86_64 · tumbleweed

      Unknown · Fixed: 2.38-1.1

      Version impact unknown

      dsa · glibc · opensuse · tumbleweed

  • [glibc-devel]Unknown

    Source package: [glibc]

    Details (1)
    • 2.43-4.3 · x86_64 · tumbleweed

      Unknown · Fixed: 2.38-1.1

      Version impact unknown

      dsa · glibc · opensuse · tumbleweed

  • Source package: [glibc]

    Details (1)
    • 2.43-4.3 · x86_64 · tumbleweed

      Unknown · Fixed: 2.38-1.1

      Version impact unknown

      dsa · glibc · opensuse · tumbleweed

Next results

Observed:

References