Every CVE Search/ Get API key

CVE-2025-24965

.krun_config.json symlink attack creates or overwrites file on the host in crun

8.5 HighFix available

crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed, only the ability for the current user to write to the target file. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Passive

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
None

Exploit likelihood

0.58%Up 0.5 points since Feb 20, 2025
90%50%10%1%

What each source reports

CVE List Score used 8.5

.krun_config.json symlink attack creates or overwrites file on the host in crun

crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed, only the ability for the current user to write to the target file. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Record
CVE-2025-24965
CVSS 4.0
8.5 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-22
Updated
2026-11-02
EUVDEUVD-2025-5092 8.5

crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed, only the ability for the current user to write to the target file. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Record
EUVD-2025-5092
CVSS 4.0
8.5 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-02
NVD 8.5

crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed, only the ability for the current user to write to the target file. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Record
CVE-2025-24965
CVSS 4.0
8.5 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-22
Updated
2026-11-02
OSVALPINE-CVE-2025-24965 8.5

crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed, only the ability for the current user to write to the target file. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Record
ALPINE-CVE-2025-24965
CVSS 4.0
8.5 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-03
OSV 8.5

.krun_config.json symlink attack creates or overwrites file on the host in crun

crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed, only the ability for the current user to write to the target file. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Record
CVE-2025-24965
CVSS 4.0
8.5 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-22
Updated
2026-11-02
OSVOESA-2025-1417 8.7

crun security update

crun is a fast and low-memory footprint OCI Container Runtime fully written in C.

Security Fix(es):

crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed, only the ability for the current user to write to the target file. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2025-24965)

Record
OESA-2025-1417
CVSS 3.1
8.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Updated
2026-11-02
Show 6 moreShow less
OSVOESA-2025-1564 8.7

crun security update

crun is a fast and low-memory footprint OCI Container Runtime fully written in C.

Security Fix(es):

crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed, only the ability for the current user to write to the target file. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2025-24965)

Record
OESA-2025-1564
CVSS 3.1
8.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Updated
2026-11-02
OSVOESA-2026-1008 8.7

crun security update

crun is a fast and low-memory footprint OCI Container Runtime fully written in C.

Security Fix(es):

crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed, only the ability for the current user to write to the target file. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2025-24965)

Record
OESA-2026-1008
CVSS 3.1
8.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2025-24965 8.5

crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed, only the ability for the current user to write to the target file. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Record
UBUNTU-CVE-2025-24965
CVSS 4.0
8.5 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-02
OSVopenSUSE-SU-2025:0074-1 No score

Security update for crun

This update for crun fixes the following issues:

Update to 1.20:

  • krun: fix CVE-2025-24965. The .krun_config.json file could be created outside of the container rootfs. (bsc#1237421)
  • cgroup: reverted the removal of tun/tap from the default allow list, this was done in crun-1.5. The tun/tap device is now added by default again.
  • CRIU: do not set network_lock unless explicitly specified.
  • status: disallow container names containing slashes in their name.
  • linux: Improved error message when failing to set the net.ipv4.ping_group_range sysctl.
  • scheduler: Ignore ENOSYS errors when resetting the CPU affinity mask.
  • linux: return a better error message when pidfd_open fails with EINVAL.
  • cgroup: display the absolute path to cgroup.controllers when a controller is unavailable.
  • exec: always call setsid. Now processes created through exec get the correct process group id.

Update to 1.19.1:

  • linux: fix a hang if there are no reads from the tty. Use non blocking sockets to read and write from the tty so that the 'crun exec' process doesn't hang when the terminal is not consuming any data.
  • linux: remove the workaround needed to mount a cgroup on top of another cgroup mount. The workaround had the disadvantage to temporarily leak a mount on the host. The alternative that is currently used is to mount a temporary tmpfs between the twoo cgroup mounts.

Update to 1.19:

  • wasm: add new handler wamr.
  • criu: allow passing network lock method to libcriu.
  • linux: honor exec cpu affinity mask.
  • build: fix build with musl libc.
  • crun: use mount API to self-clone.
  • cgroup, systemd: do not override devices on update. If the 'update' request has no device block configured, do not reset the previously configuration.
  • cgroup: handle case where cgroup v1 freezer is disabled. On systems without the freezer controller, containers were mistakenly reported as paused.
  • cgroup: do not stop process on exec. The cpu mask is configured on the systemd scope, the previous workaround to stop the container until the cgroup is fully configured is no longer needed.

Update to 1.17:

  • Add --log-level option. It accepts error, warning and error.
  • Add debug logs for container creation.
  • Fix double-free in crun exec code that could lead to a crash.
  • Allow passing an ID to the journald log driver.
  • Report 'executable not found' errors after tty has been setup.
  • Do not treat EPIPE from hooks as an error.
  • Make sure DefaultDependencies is correctly set in the systemd scope.
  • Improve the error message when the container process is not found.
  • Improve error handling for the mnt namespace restoration.
  • Fix error handling for getpwuid_r, recvfrom and libcrun_kill_linux.
  • Fix handling of device paths with trailing slashes.
  • add url for keyring
  • enable leap by disabling wasmedge (not packaged for leap)

Upstream release 1.16.1:

  • fix a regression introduced by 1.16 where using 'rshared' rootfs mount propagation and the rootfs itself is a mountpoint.
  • inherit user from original process on exec, if not overridden.

Update to 1.16:

  • build: fix build for s390x.
  • linux: fix mount of special files with rro. Open the mount target with O_PATH to prevent open(2) failures with special files like FIFOs or UNIX sockets.
  • Fix sd-bus error handling for cpu quota and period props update.
  • container: use relative path for rootfs if possible. If the rootfs cannot be resolved and it is below the current working directory, only use its relative path.
  • wasmedge: access container environment variables for the WasmEdge configuration.
  • cgroup, systemd: use MemoryMax instead of MemoryLimit. Fixes a warning for using an old configuration…
Record
openSUSE-SU-2025:0074-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:14763-1 No score

crun-1.20-1.1 on GA media

These are all security issues fixed in the crun-1.20-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:14763-1
Updated
2026-11-02
OSVSUSE-SU-2026:20452-1 No score

Security update for crun

This update for crun fixes the following issues:

  • CVE-2025-24965: .krun_config.json symlink attack creates or overwrites file on the host (bsc#1237421).
Record
SUSE-SU-2026:20452-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
crun
Alpine:v3.21
before 1.20-r0
1.20-r0
crun
Alpine:v3.22
before 1.20-r0
1.20-r0
crun
Alpine:v3.23
before 1.20-r0
1.20-r0
crun
Alpine:v3.24
before 1.20-r0
1.20-r0
crun
openEuler:24.03-LTS
before 1.8.7-3.oe2403
1.8.7-3.oe2403
crun
openEuler:24.03-LTS-SP1
before 1.8.7-3.oe2403sp1
1.8.7-3.oe2403sp1
crun
openEuler:24.03-LTS-SP2
before 1.8.7-3.oe2403sp2
1.8.7-3.oe2403sp2
crun
SUSE:Linux Micro 6.0
before 1.14-2.1
1.14-2.1
crun
Ubuntu:20.04:LTS
All versions, plus listed versions
0.10.5+dfsg-10.10.6+dfsg-10.11+dfsg-10.12+dfsg-10.12.1+dfsg-1
None known
crun
Ubuntu:22.04:LTS
All versions, plus listed versions
0.17+dfsg-10.17+dfsg-1.10.17+dfsg-1.1ubuntu0.1
None known
Show 7 moreShow less
Affected packages
PackageAffectedFixed
crun
Ubuntu:24.04:LTS
All versions, plus listed versions
1.8.5-11.11-11.11.1-11.12-11.13-11.14-11.14.1-1
None known
crun
Ubuntu:25.10
All versions, plus listed versions
1.20-1syncable11.21-1ubuntu2
None known
crun
Ubuntu:26.10
All versions, plus listed versions
1.21-1ubuntu3
None known
crun
Ubuntu:26.04:LTS
All versions, plus listed versions
1.21-1ubuntu21.21-1ubuntu3
None known
crun
SUSE:Package Hub 15 SP6
From an advisory covering 2 CVEs
before 1.20-bp156.2.3.1
1.20-bp156.2.3.1
crun
openSUSE:Leap 15.6
From an advisory covering 2 CVEs
before 1.20-bp156.2.3.1
1.20-bp156.2.3.1
crun
openSUSE:Tumbleweed
before 1.20-1.1
1.20-1.1

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-24965 is a high vulnerability (CVSS 8.5) in Containers Crun, published February 11, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.58%, the 47th percentile. Fixed in crun 1.20-r0.

References

Show 14 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open