CVE-2022-45866
Linux Fedora vulnerability analysis and mitigation

Overview

qpress before PierreLvx/qpress 20220819 and before version 11.3, as used in Percona XtraBackup and other products, allows directory traversal via ../ in a .qp file. The vulnerability was discovered in 2022 and assigned identifier CVE-2022-45866. The issue affects the qpress file archiver, which is designed to utilize fast storage systems using QuickLZ compression (CVE Details, MITRE).

Technical details

The vulnerability exists in the quicklz.c source file, specifically in the qlz_decompress function. The issue occurs when copying user-supplied binary data over heap allocated memory buffers of user-controlled size. The first memcpy invocation copies data from a user-provided compressed file into a heap-allocated buffer where the size is controlled by the user via the compressed file header. This allows heap corruption with user-controlled data (GitHub PR).

Impact

The vulnerability could potentially lead to heap corruption and arbitrary code execution in processes that utilize the vulnerable function. This is particularly concerning for applications like xbstream with the --decompress flag. The impact is significant as qpress is used in various products, including Percona XtraBackup, making the vulnerability's reach extensive (GitHub PR).

Mitigation and workarounds

The vulnerability has been patched in PierreLvx/qpress version 20220819 and version 11.3. The fix includes implementing boundary checks for arrays before decompression and rejecting commands that attempt directory traversal. Updates have been released for various distributions including Fedora 35, 36, and 37 (Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Linux Fedora vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12744HIGH8.8
  • Linux FedoraLinux Fedora
  • abrt-addon-coredump-helper
NoYesDec 03, 2025
CVE-2025-13601HIGH7.7
  • CBL MarinerCBL Mariner
  • glib2-fam
NoYesNov 26, 2025
CVE-2025-13502HIGH7.5
  • Linux DebianLinux Debian
  • wpewebkit
NoYesNov 25, 2025
CVE-2025-64761HIGH7.5
  • WolfiWolfi
  • openbao
NoYesNov 25, 2025
CVE-2025-63938MEDIUM6.5
  • Linux DebianLinux Debian
  • tinyproxy
NoYesNov 26, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management