Skip to main content
EPSS 86.0%top 0.28%

CVE-2024-3094: Embedded Malicious Code

0
Critical
VulnerabilityCVE-2024-3094cvecve-2024-3094cloud
Published: 03/29/2024 (03/29/2024, 16:51:12 UTC)
Source: CVE Database V5

Description

Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0. Through a series of complex obfuscations, the liblzma build process extracts a prebuilt object file from a disguised test file existing in the source code, which is then used to modify specific functions in the liblzma code. This results in a modified liblzma library that can be used by any software linked against this library, intercepting and modifying the data interaction with this library.

CVSS v3.1

Score 10.0critical

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

Affected software

Affected versions
=5.6.0=5.6.15.6.05.6.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/04/2026, 13:15:38 UTC

Technical Analysis

Malicious code was discovered in the upstream tarballs of xz starting with version 5.6.0. The liblzma build process extracts a disguised prebuilt object file from a test file in the source code, which modifies specific liblzma functions. This results in a modified liblzma library that can intercept and modify data interactions for any software linked against it. The malicious injection is present only in the tarball download packages for versions 5.6.0 and 5.6.1, and not in the Git repository. The issue affects Fedora 41 and Fedora Rawhide but not Red Hat Enterprise Linux. The malicious code was demonstrated to interfere with OpenSSH daemon via systemd, which links to liblzma. The vulnerability has a CVSS 3.1 score of 10.0 (critical) with network attack vector, low complexity, no privileges or user interaction required, and impacts confidentiality, integrity, and availability.

Potential Impact

This vulnerability allows execution of unauthorized code or commands by modifying the liblzma library used by software linked against it. It can intercept and alter data interactions, potentially compromising confidentiality, integrity, and availability of affected systems. The CVSS score of 10.0 reflects critical impact with full compromise possible remotely without authentication or user interaction. The malicious code presence in the widely used xz compression library source tarballs poses a significant supply chain risk. However, Red Hat Enterprise Linux versions are not affected, limiting exposure primarily to Fedora 41 and Rawhide users.

Mitigation Recommendations

Red Hat has stated that no versions of Red Hat Enterprise Linux are affected, and the malicious code is only present in the tarball downloads of xz versions 5.6.0 and 5.6.1, not in the Git repository. Users of Fedora 41 and Fedora Rawhide should avoid using the affected tarball versions and obtain xz from trusted sources or updated packages once available. Since no official patch or fix is currently referenced, users should monitor the vendor advisories from Red Hat and AWS for updates. There is no indication that the malicious code is present in official RHEL builds, so no action is required for RHEL users. Check vendor advisories for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2024-03-29T15:38:13.249Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2024-3094","vendor":"Red Hat"},{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2024-002/","vendor":"AWS"}]

Threat ID: 691ec3729f5a9374a9d10f9a

Added to database: 11/20/2025, 07:29:54 UTC

Last enriched: 08/04/2026, 13:15:38 UTC

Last updated: 09/19/2026, 22:01:26 UTC

Views: 180

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses