5.5

CVE-2025-0913: Inconsistent handling of O_CREATE|O_EXCL on Unix and Windows in os in syscall

Analyzed
AliasesUBUNTU-CVE-2025-0913CGA-23qx-fw3j-r397CGA-28m3-9j63-rprr
Published 11-06-2025Last modified 11-06-2025

Vulnerability summary

CVE-2025-0913 is a medium (CVSS 5.5) vulnerability in go standard library os. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 25.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.33%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 10

Timeline

  1. 11-06-2025
    PublishedVulnerability first disclosed.
  2. 11-06-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

26%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.31% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard17 products
  • go-1.20< 1.20.14-r9
  • go-1.22< 1.22.12-r8
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compatAll versions (No fix recorded)
  • katib-suggestion-hyperband< 0.19.0-r31
Ubuntu14 products
  • golang-1.10All versions (No fix recorded)
  • golang-1.13All versions (No fix recorded)
  • golang-1.14All versions (No fix recorded)
  • golang-1.16All versions (No fix recorded)
  • golang-1.17All versions (No fix recorded)
Wolfi13 products
  • go-1.20< 1.20.14-r9
  • go-1.22< 1.22.12-r8
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compatAll versions (No fix recorded)
  • katib-suggestion-hyperband< 0.19.0-r31
Go standard library2 products
  • os< 1.23.10 | ≥ 1.24.0-0, < 1.24.4
  • syscall< 1.23.10 | ≥ 1.24.0-0, < 1.24.4
Alpine1 product
  • go≥ 1.24.0, < 1.24.4-r0
Go1 product
  • stdlib≥ 1.24.0-0, < 1.24.4
Golang1 product
  • go< 1.23.10 | ≥ 1.24.0, < 1.24.4

7 vendors · 49 products

References

10 links