EUVD-2025-18139

| CVE-2025-0913 MEDIUM
2025-06-11 [email protected]
5.5
CVSS 3.1
Share

CVSS Vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

4
Patch Released
Mar 31, 2026 - 21:13 nvd
Patch available
EUVD ID Assigned
Mar 14, 2026 - 21:09 euvd
EUVD-2025-18139
Analysis Generated
Mar 14, 2026 - 21:09 vuln.today
CVE Published
Jun 11, 2025 - 18:15 nvd
MEDIUM 5.5

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.

Analysis

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.

Technical Context

This vulnerability is classified as Improper Link Resolution Before File Access (CWE-59).

Affected Products

Affected products: Golang Go

Remediation

Monitor vendor advisories for patches. Apply mitigations such as network segmentation, access restrictions, and monitoring.

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: +0.0
CVSS: +28
POC: 0

Vendor Status

Ubuntu

Priority: Medium
golang
Release Status Version
jammy DNE -
noble DNE -
oracular DNE -
plucky DNE -
upstream needs-triage -
questing DNE -
golang-1.6
Release Status Version
xenial ignored Windows Only
jammy DNE -
noble DNE -
oracular DNE -
plucky DNE -
upstream needs-triage -
questing DNE -
golang-1.8
Release Status Version
bionic ignored Windows Only
jammy DNE -
noble DNE -
oracular DNE -
plucky DNE -
upstream needs-triage -
questing DNE -
golang-1.9
Release Status Version
bionic ignored Windows Only
jammy DNE -
noble DNE -
oracular DNE -
plucky DNE -
upstream needs-triage -
questing DNE -
golang-1.10
Release Status Version
trusty ignored Windows Only
xenial ignored Windows Only
bionic ignored Windows Only
jammy DNE -
noble DNE -
oracular DNE -
plucky DNE -
upstream needs-triage -
questing DNE -
golang-1.13
Release Status Version
xenial ignored Windows Only
bionic ignored Windows Only
focal ignored Windows Only
jammy ignored Windows Only
noble DNE -
oracular DNE -
plucky DNE -
upstream needs-triage -
questing DNE -
golang-1.14
Release Status Version
focal ignored Windows Only
jammy DNE -
noble DNE -
oracular DNE -
plucky DNE -
upstream needs-triage -
questing DNE -
golang-1.16
Release Status Version
bionic ignored Windows Only
focal ignored Windows Only
jammy DNE -
noble DNE -
oracular DNE -
plucky DNE -
upstream needs-triage -
questing DNE -
golang-1.17
Release Status Version
jammy ignored Windows Only
noble DNE -
oracular DNE -
plucky DNE -
upstream needs-triage -
questing DNE -
golang-1.18
Release Status Version
xenial ignored Windows Only
bionic ignored Windows Only
jammy ignored Windows Only
noble DNE -
oracular DNE -
plucky DNE -
upstream needs-triage -
focal needs-triage -
questing DNE -
golang-1.20
Release Status Version
jammy ignored Windows Only
noble DNE -
oracular DNE -
plucky DNE -
upstream needs-triage -
focal needs-triage -
questing DNE -
golang-1.21
Release Status Version
jammy ignored Windows Only
noble ignored Windows Only
oracular DNE -
plucky DNE -
upstream needs-triage -
focal needs-triage -
questing DNE -
golang-1.22
Release Status Version
jammy ignored Windows Only
noble ignored Windows Only
plucky DNE -
upstream needs-triage -
oracular ignored end of life, was ignored [Windows Only]
focal needs-triage -
questing DNE -
golang-1.23
Release Status Version
jammy ignored Windows Only
noble ignored Windows Only
upstream needs-triage -
oracular ignored end of life, was ignored [Windows Only]
questing ignored Windows Only
plucky ignored end of life, was ignored [Windows Only]
golang-1.24
Release Status Version
oracular DNE -
upstream needs-triage -
jammy needs-triage -
noble needs-triage -
questing ignored Windows Only
plucky ignored end of life, was ignored [Windows Only]

Debian

golang-1.15
Release Status Fixed Version Urgency
bullseye fixed 1.15.15-1~deb11u4 -
(unstable) not-affected - -
golang-1.19
Release Status Fixed Version Urgency
bookworm fixed 1.19.8-2 -
(unstable) not-affected - -
golang-1.24
Release Status Fixed Version Urgency
trixie fixed 1.24.4-1 -
forky, sid fixed 1.24.13-2 -
(unstable) not-affected - -
golang-1.23
Release Status Fixed Version Urgency
(unstable) not-affected - -

Share

EUVD-2025-18139 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy