CVE-2025-0913

unknown
Published 2025-06-11 · Modified 2026-02-04
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 Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2025-0913.html

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2025-0913

OS impact

OSVersionStatusFixed in
debian debianbullseyefixed0
debian debianbookwormfixed0
debian debiantrixiefixed0
suse slesaffected

Package impact

EcosystemPackageVulnerableFixed
golang Gostdlib>=1.24.0-0,<1.24.41.23.10

References

Verify integrity in audit chain (admin only). AS-IS.