CVEMETERBack to radar
OFFICIAL RECORD · C/C++

CVE-2025-8058

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 5.9 · medium

C/C++ · CVE-2025-8058

The regcomp function in the GNU C library version from 2.4 to 2.41 is subject to a double free if some previous allocation fails. It can be accomplished either by a malloc failure or by using an interposed malloc that injects random malloc failures. The double free can allow buffer manipulation depending of how the regex is constructed. This issue affects all architectures and ABIs supported by the GNU C library.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.223% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 5.9 · published by glibc
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:H
Assessment source · checked 2026-11-19T12:57:47.742Z

CVSS 4.0 · 5.9 · published by Ubuntu Security
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:H
Assessment source · checked 2026-11-19T16:52:27.619Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:57:47.742ZCVE Program
epssverified2026-11-19T16:04:42.360ZFIRST EPSS
patchesverified2026-11-19T16:52:27.619ZUbuntu Security
affectedverified2026-11-19T12:57:47.742ZCVE Program
lifecycleverified2026-11-19T12:57:47.742ZCVE Program

Affected versions and configuration

The GNU C Library glibc (Linux); default status: unaffected: 2.4 to < 2.42 [affected; scheme: custom]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "glibc",
    "debian": "https://tracker.debian.org/pkg/glibc",
    "source": "https://ubuntu.com/security/cve?package=glibc",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=glibc",
    "statuses": [
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.42-0ubuntu1",
        "release_codename": "stonking"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "2.41-11",
        "release_codename": "upstream"
      },
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "2.27-3ubuntu1.6+esm6",
        "release_codename": "bionic"
      },
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "2.31-0ubuntu9.18+esm1",
        "release_codename": "focal"
      },
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "2.23-0ubuntu11.3+esm9",
        "release_codename": "xenial"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "2.35-0ubuntu3.11",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "2.39-0ubuntu8.6",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "2.41-6ubuntu1.2",
        "release_codename": "plucky"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.42-0ubuntu1",
        "release_codename": "questing"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.42-0ubuntu1",
        "release_codename": "resolute"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "repo": "https://sourceware.org/git/?p=glibc.git",
      "vendor": "The GNU C Library",
      "product": "glibc",
      "versions": [
        {
          "status": "affected",
          "version": "2.4",
          "lessThan": "2.42",
          "versionType": "custom"
        }
      ],
      "platforms": [
        "Linux"
      ],
      "packageName": "glibc",
      "collectionURL": "https://www.gnu.org/software/libc/",
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2025-8058",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-07-23T20:07:48.885332Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-07-23T20:08:01.326Z"
      }
    },
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "http://www.openwall.com/lists/oss-security/2025/07/23/1"
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2025-11-04T21:15:01.015Z"
      }
    }
  ]
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
upstream-releaseupstream / upstreamglibcNot a distribution channel2.41-11Official record
distribution-packageUbuntu / bionicglibcesm-infra2.27-3ubuntu1.6+esm6Official record
distribution-packageUbuntu / focalglibcesm-infra2.31-0ubuntu9.18+esm1Official record
distribution-packageUbuntu / xenialglibcesm-infra2.23-0ubuntu11.3+esm9Official record
distribution-packageUbuntu / jammyglibcsecurity2.35-0ubuntu3.11Official record
distribution-packageUbuntu / nobleglibcsecurity2.39-0ubuntu8.6Official record
distribution-packageUbuntu / pluckyglibcsecurity2.41-6ubuntu1.2Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history