CVE-2025-0913
unknown
CVSS v3
—
CVSS v2
—
VIR risk
—
Description
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.
Predictions
Exploit likelihood
20%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2025-0913.html
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2025-0913
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bullseye | fixed | 0 |
| debian | bookworm | fixed | 0 |
| debian | trixie | fixed | 0 |
| sles | affected | |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | stdlib | >=1.24.0-0,<1.24.4 | 1.23.10 |
References
Verify integrity in audit chain (admin only). AS-IS.