Critical Security Update for osbuild and osbuild-composer: Addressing Multiple Vulnerabilities

osbuild Updated 02 Oct 2025

Summary

13/05/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:7118: Important: osbuild and osbuild-composer security update. Affects osbuild versions < 141-1.el9.alma.1. Fixed in 141-1.el9.alma.1. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

osbuild and osbuild-composer are essential tools for building customized OS artifacts, such as virtual machine images and OSTree commits. They facilitate the creation of images for local use and allow direct uploads to cloud environments. These packages are compatible with composer-cli and cockpit-composer clients, making them integral to modern software deployment and management workflows.

Vulnerability Detail

The identified vulnerabilities in osbuild and osbuild-composer stem from issues in the underlying Golang libraries. Notably, memory leaks in the RSA payload encryption and decryption process (CVE-2024-1394) can lead to resource exhaustion. Additionally, a stack exhaustion panic can occur when parsing deeply nested build tag expressions (CVE-2024-34158). The Golang FIPS implementation also has a vulnerability related to zeroed buffers (CVE-2024-9355), which could potentially expose sensitive data.

How To Fix

Minimum fixed version

141-1.el9.alma.1

This is the first release that contains the fix.

sudo dnf update osbuild

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updates cannot be applied, consider limiting the usage of the affected packages or isolating them in a controlled environment until the patches are applied. Regularly monitor for updates and apply them as soon as they are available.

Conclusion

The security vulnerabilities in osbuild and osbuild-composer pose significant risks that can affect the integrity and security of systems using these tools. It is essential to apply the recommended updates promptly to mitigate these risks and ensure the continued safe operation of your software environment.

See every vulnerability recorded for osbuild →

Share this vulnerability

FAQ

They are tools used for building customized OS artifacts, enabling the creation of VM images and other deployment formats.

Memory leaks, stack exhaustion, and zeroed buffer issues in the Golang libraries used by osbuild and osbuild-composer.

You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.

Consider limiting the usage of the affected packages and monitor for updates until you can apply the patches.

Detailed information can be found on the CVE pages linked in the advisory and through the AlmaLinux release notes.

Related vulnerabilities

Recent vulnerabilities recorded for osbuild.

How To Fix

Minimum fixed version

141-1.el9.alma.1

This is the first release that contains the fix.

sudo dnf update osbuild

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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