CVE-2025-8058
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 glibcCVSS: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 SecurityCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:47.742Z | CVE Program |
| epss | verified | 2026-11-19T16:04:42.360Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:52:27.619Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:57:47.742Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:47.742Z | CVE 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§ion=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 JSONCVE 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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | glibc | Not a distribution channel | 2.41-11 | Official record |
| distribution-package | Ubuntu / bionic | glibc | esm-infra | 2.27-3ubuntu1.6+esm6 | Official record |
| distribution-package | Ubuntu / focal | glibc | esm-infra | 2.31-0ubuntu9.18+esm1 | Official record |
| distribution-package | Ubuntu / xenial | glibc | esm-infra | 2.23-0ubuntu11.3+esm9 | Official record |
| distribution-package | Ubuntu / jammy | glibc | security | 2.35-0ubuntu3.11 | Official record |
| distribution-package | Ubuntu / noble | glibc | security | 2.39-0ubuntu8.6 | Official record |
| distribution-package | Ubuntu / plucky | glibc | security | 2.41-6ubuntu1.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- Ubuntu SecurityConsulted: 2026-11-19T16:52:27.619ZArchived source JSON
Source publication: 2025-07-23T20:15:00.000Z
Source modification: 2026-10-16T21:22:37.091ZDocument fingerprint
fa2944d15382758adc3f036570d74cca5866ab1bad7b42a6d430decdf0c2b727 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:47.742ZArchived source JSON
Source publication: 2025-07-23T19:57:17.138Z
Source modification: 2025-11-04T21:15:01.015ZDocument fingerprint
cd11f41d91112a28d16b9417cb1169237c2238d23f896411dfb90acd40efa726 - FIRST EPSSConsulted: 2026-11-19T16:04:42.360ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f3e0006c4bf23264f8d6151e6627f3c4e610e9660acb6cdae7bca2bafe3eb770
Official status history
- UNKNOWN → PUBLISHED · · evidence