CVE-2024-34158 Affecting osbuild-selinux package, versions <0:141-1.el9.alma.1


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
1.05% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX9-OSBUILDSELINUX-10588272
  • published3 Jul 2025
  • disclosed14 Oct 2024

Introduced: 14 Oct 2024

CVE-2024-34158  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 osbuild-selinux to version 0:141-1.el9.alma.1 or higher.
This issue was patched in ALSA-2025:7118.

NVD Description

Note: Versions mentioned in the description apply only to the upstream osbuild-selinux package and not the osbuild-selinux package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.

CVSS Base Scores

version 3.1