CVE-2025-4437: CRI-O High Memory Consumption Vulnerability

github.com/cri-o/cri-o Updated 02 Oct 2025

Summary

20/08/2025
No i
Moderate
5.7

CVE-2025-4437: CRI-O has Potential High Memory Consumption from File Read. Affects github.com/cri-o/cri-o versions < 1.33.3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

CRI-O is an open-source container runtime specifically designed for Kubernetes. It allows Kubernetes to manage the lifecycle of containers, providing a lightweight alternative to other container runtimes. CRI-O focuses on simplicity and efficiency, making it a popular choice for cloud-native applications. However, it is susceptible to vulnerabilities that can lead to significant resource consumption and potential denial-of-service scenarios.

Vulnerability Detail

The vulnerability arises when a container is launched with a securityContext.runAsUser that specifies a non-existent user. In this case, CRI-O attempts to create the user by reading the entire /etc/passwd file into memory. If this file is excessively large, it can lead to high memory consumption, causing applications to be killed due to out-of-memory errors. This can result in denial-of-service conditions, potentially disrupting other pods and services running on the same host.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, avoid specifying non-existent users in the securityContext.runAsUser field when launching containers. This will prevent CRI-O from attempting to read the /etc/passwd file and consuming excessive memory.

Conclusion

CVE-2025-4437 presents a significant risk for applications using CRI-O, particularly when launching containers with non-existent users. It is crucial to update to the patched version to mitigate this vulnerability and ensure the stability of your applications.

See every vulnerability recorded for github.com/cri-o/cri-o →

Share this vulnerability

FAQ

CVE-2025-4437 is a vulnerability in the CRI-O container runtime that can lead to high memory consumption and potential denial-of-service.

If your application uses CRI-O and launches containers with non-existent users, it may experience high memory usage, leading to application crashes.

As a temporary measure, avoid using non-existent users in your container configurations to prevent triggering the vulnerability.

You can find detailed information about CVE-2025-4437 on the GitHub advisory database and other security advisory platforms.

You can use Vulert to monitor and alert in real-time for open-source vulnerabilities in your software without requiring access to the code or installation.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/cri-o/cri-o.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback