CVE-2025-0913
Inconsistent handling of O_CREATE|O_EXCL on Unix and Windows in os in syscall
os.OpenFile(path, os.O_CREATE|O_EXCL) behaved differently on Unix and Windows systems when the target path was a dangling symlink. On Unix systems, OpenFile with O_CREATE and O_EXCL flags never follows symlinks. On Windows, when the target path was a symlink to a nonexistent location, OpenFile would create a file in that location. OpenFile now always returns an error when the O_CREATE and O_EXCL flags are both set and the target path is a symlink.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.327% · 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-19T15:55:09.885Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 5.5 · published by Ubuntu SecurityCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Assessment source · checked 2026-11-19T12:49:22.825Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | verified | 2026-11-19T12:49:22.825Z | Ubuntu Security |
| epss | verified | 2026-11-19T16:04:39.514Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:39.236Z | OSV |
| affected | verified | 2026-11-19T12:57:23.899Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:23.899Z | CVE Program |
Affected versions and configuration
Go standard library syscall (windows); default status: unaffected: 0 to < 1.23.10 [affected; scheme: semver]; 1.24.0-0 to < 1.24.4 [affected; scheme: semver] Go standard library os (windows); default status: unaffected: 0 to < 1.23.10 [affected; scheme: semver]; 1.24.0-0 to < 1.24.4 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Go standard library",
"product": "syscall",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.23.10",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.24.0-0",
"lessThan": "1.24.4",
"versionType": "semver"
}
],
"platforms": [
"windows"
],
"packageName": "syscall",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "Open"
}
]
},
{
"vendor": "Go standard library",
"product": "os",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.23.10",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.24.0-0",
"lessThan": "1.24.4",
"versionType": "semver"
}
],
"platforms": [
"windows"
],
"packageName": "os",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "OpenFile"
},
{
"name": "Root.OpenFile"
},
{
"name": "Chdir"
},
{
"name": "Chmod"
},
{
"name": "Chown"
},
{
"name": "CopyFS"
},
{
"name": "Create"
},
{
"name": "CreateTemp"
},
{
"name": "File.ReadDir"
},
{
"name": "File.Readdir"
},
{
"name": "File.Readdirnames"
},
{
"name": "Getwd"
},
{
"name": "Lchown"
},
{
"name": "Link"
},
{
"name": "Lstat"
},
{
"name": "Mkdir"
},
{
"name": "MkdirAll"
},
{
"name": "MkdirTemp"
},
{
"name": "NewFile"
},
{
"name": "Open"
},
{
"name": "OpenInRoot"
},
{
"name": "OpenRoot"
},
{
"name": "Pipe"
},
{
"name": "ReadDir"
},
{
"name": "ReadFile"
},
{
"name": "Remove"
},
{
"name": "RemoveAll"
},
{
"name": "Rename"
},
{
"name": "Root.Create"
},
{
"name": "Root.Lstat"
},
{
"name": "Root.Mkdir"
},
{
"name": "Root.Open"
},
{
"name": "Root.OpenRoot"
},
{
"name": "Root.Remove"
},
{
"name": "Root.Stat"
},
{
"name": "StartProcess"
},
{
"name": "Stat"
},
{
"name": "Symlink"
},
{
"name": "Truncate"
},
{
"name": "WriteFile"
},
{
"name": "dirFS.Open"
},
{
"name": "dirFS.ReadDir"
},
{
"name": "dirFS.ReadFile"
},
{
"name": "dirFS.Stat"
},
{
"name": "rootFS.Open"
},
{
"name": "rootFS.ReadDir"
},
{
"name": "rootFS.ReadFile"
},
{
"name": "rootFS.Stat"
},
{
"name": "unixDirent.Info"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.5,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-0913",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-06-11T17:35:44.313980Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-06-11T17:37:52.111Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2025-3750",
"aliases": [
"BIT-golang-2025-0913",
"CVE-2025-0913"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.23.10"
},
{
"introduced": "1.24.0-0"
},
{
"fixed": "1.24.4"
}
]
}
],
"package": {
"name": "stdlib",
"purl": "pkg:golang/stdlib",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2025-3750.json"
},
"ecosystem_specific": {
"imports": [
{
"goos": [
"windows"
],
"path": "syscall",
"symbols": [
"Open"
]
},
{
"goos": [
"windows"
],
"path": "os",
"symbols": [
"Chdir",
"Chmod",
"Chown",
"CopyFS",
"Create",
"CreateTemp",
"File.ReadDir",
"File.Readdir",
"File.Readdirnames",
"Getwd",
"Lchown",
"Link",
"Lstat",
"Mkdir",
"MkdirAll",
"MkdirTemp",
"NewFile",
"Open",
"OpenFile",
"OpenInRoot",
"OpenRoot",
"Pipe",
"ReadDir",
"ReadFile",
"Remove",
"RemoveAll",
"Rename",
"Root.Create",
"Root.Lstat",
"Root.Mkdir",
"Root.Open",
"Root.OpenFile",
"Root.OpenRoot",
"Root.Remove",
"Root.Stat",
"StartProcess",
"Stat",
"Symlink",
"Truncate",
"WriteFile",
"dirFS.Open",
"dirFS.ReadDir",
"dirFS.ReadFile",
"dirFS.Stat",
"rootFS.Open",
"rootFS.ReadDir",
"rootFS.ReadFile",
"rootFS.Stat",
"unixDirent.Info"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/cl/672396",
"type": "FIX"
},
{
"url": "https://go.dev/issue/73702",
"type": "REPORT"
},
{
"url": "https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2025-3750",
"review_status": "REVIEWED"
}
}Archived source JSONUbuntu 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": "Windows Only",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "Windows Only",
"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 ignored [Windows Only]",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was ignored [Windows Only]",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "Windows Only",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was ignored [Windows Only]",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]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": "ignored",
"component": null,
"description": "Windows Only",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "Windows Only",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was ignored [Windows Only]",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]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.23.10 | Official record |
| ecosystem-boundary | Go / package | stdlib | Not a distribution channel | 1.24.4 | 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-06-11T16:59:06.000Z
Source modification: 2026-02-04T03:28:12.135ZDocument fingerprint
4ca7818b395ba1078372d8aa5d2c3c1d10796ecab94cc944cbdcb6a19ce4ed17 - Ubuntu SecurityConsulted: 2026-11-19T12:49:22.825ZArchived source JSON
Source publication: 2025-06-11T18:15:00.000Z
Source modification: 2026-11-04T08:26:11.238ZDocument fingerprint
5e3a0376f2a56a54c6060da4117b4b585eb797d09f8e06f4068d58213af6defd - Ubuntu SecurityConsulted: 2026-11-19T12:50:09.574ZArchived source JSON
Source publication: 2025-06-11T18:15:00.000Z
Source modification: 2026-11-04T08:26:11.238ZDocument fingerprint
ac7a517f42527070e16072d9f8be958011a8cf3cb106728788a2051316309efc - CVE ProgramConsulted: 2026-11-19T12:57:23.899ZArchived source JSON
Source publication: 2025-06-11T17:17:25.606Z
Source modification: 2025-06-11T17:37:52.111ZDocument fingerprint
cb0711ad74ae3bfdbd88a4264c7abeb69cc85991cd780c3803132331c7863f43 - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:39.514ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
c07aa8e6fdfc310c84fe1ac9be92e31e56fc57bead56722404a3841425dfa449
Official status history
- UNKNOWN → PUBLISHED · · evidence