CVE-2025-58183
Unbounded allocation when parsing GNU sparse map in archive/tar
tar.Reader does not set a maximum size on the number of sparse region data blocks in GNU tar pax 1.0 sparse files. A maliciously-crafted archive containing a large number of sparse regions can cause a Reader to read an unbounded amount of data from the archive into memory. When reading from a compressed source, a small compressed input can result in large allocations.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.443% · 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-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 4.3 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Assessment source · checked 2026-11-19T16:50:10.263Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T16:50:10.263Z | Ubuntu Security |
| epss | verified | 2026-11-19T16:04:41.864Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:39.236Z | OSV |
| affected | verified | 2026-11-19T12:57:40.506Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:40.506Z | CVE Program |
Affected versions and configuration
Go standard library archive/tar; default status: unaffected: 0 to < 1.24.8 [affected; scheme: semver]; 1.25.0 to < 1.25.2 [affected; scheme: semver]
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": "golang-1.23",
"debian": "https://tracker.debian.org/pkg/golang-1.23",
"source": "https://ubuntu.com/security/cve?package=golang-1.23",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=golang-1.23",
"statuses": [
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "resolute"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "golang-1.22",
"debian": "https://tracker.debian.org/pkg/golang-1.22",
"source": "https://ubuntu.com/security/cve?package=golang-1.22",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=golang-1.22",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Go standard library",
"product": "archive/tar",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.24.8",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.25.0",
"lessThan": "1.25.2",
"versionType": "semver"
}
],
"packageName": "archive/tar",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "readGNUSparseMap1x0"
},
{
"name": "Reader.Next"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 4.3,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L",
"integrityImpact": "NONE",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "LOW",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-58183",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-10-30T14:22:41.219110Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-11-03T19:56:37.377Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2025/10/08/1"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-04T21:13:32.834Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2025-4014",
"aliases": [
"BIT-golang-2025-58183",
"CVE-2025-58183"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.24.8"
},
{
"introduced": "1.25.0"
},
{
"fixed": "1.25.2"
}
]
}
],
"package": {
"name": "stdlib",
"purl": "pkg:golang/stdlib",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2025-4014.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "archive/tar",
"symbols": [
"Reader.Next",
"readGNUSparseMap1x0"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/cl/709861",
"type": "FIX"
},
{
"url": "https://go.dev/issue/75677",
"type": "REPORT"
},
{
"url": "https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2025-4014",
"review_status": "REVIEWED"
}
}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 |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | stdlib | Not a distribution channel | 1.24.8 | Official record |
| ecosystem-boundary | Go / package | stdlib | Not a distribution channel | 1.25.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:39.236ZArchived source JSON
Source publication: 2025-10-29T21:51:04.000Z
Source modification: 2026-11-14T13:12:13.538ZDocument fingerprint
4ca7818b395ba1078372d8aa5d2c3c1d10796ecab94cc944cbdcb6a19ce4ed17 - Ubuntu SecurityConsulted: 2026-11-19T16:50:10.263ZArchived source JSON
Source publication: 2025-10-29T23:16:00.000Z
Source modification: 2025-11-05T10:08:11.935ZDocument fingerprint
51405bd312f65a87f8fa6d08f996f5507057d614d552825ca91c1d0ea4e0d34a - CVE ProgramConsulted: 2026-11-19T12:57:40.506ZArchived source JSON
Source publication: 2025-10-29T22:10:14.376Z
Source modification: 2025-11-04T21:13:32.834ZDocument fingerprint
288220f511942e5f92681124eaf33ddc65a19de4270b8284132e1b765972f062 - Ubuntu SecurityConsulted: 2026-11-19T16:52:11.591ZArchived source JSON
Source publication: 2025-10-29T23:16:00.000Z
Source modification: 2025-11-05T10:08:11.935ZDocument fingerprint
ac7a517f42527070e16072d9f8be958011a8cf3cb106728788a2051316309efc - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:41.864ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
09df03f9e4ac0890671b481adc15352105826dd59b4f13294f3708bead65ab2a
Official status history
- UNKNOWN → PUBLISHED · · evidence