CVE-2026-142092: lvm_read before 2.0 RCE via Unsafe Pickle Sidecar Loading in read()
lvmread before 2.0 contains an unsafe deserialization vulnerability in read() that allows attackers to execute code by supplying a crafted .lvm.pkl sidecar file loaded via pickle.load() in lvmpickle(). Attackers can distribute a LabVIEW measurement folder containing a malicious pickle file to run code as the victim when the .lvm file is read, even with readfrompickle=False.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of lvm_read before 2.0 are exposed when they read LabVIEW measurement folders obtained from untrusted sources. Code execution occurs as the user or process that reads the .lvm file.
What files must an attacker provide for exploitation?
The attacker needs to supply a crafted .lvm.pkl sidecar file alongside a LabVIEW measurement folder that is read by the affected library. The malicious sidecar is loaded through pickle deserialization.
Does setting read_from_pickle=False prevent exploitation?
No. The issue can be triggered even when read_from_pickle=False is used.
How can I determine whether my environment may be affected?
Check whether your application uses pypi/lvm_read before version 2.0 and reads .lvm files or measurement folders that may include .lvm.pkl sidecar files. Any such workflow involving externally supplied measurement data should be treated as potentially affected.
What should be done if an immediate upgrade is not possible?
Do not read untrusted LabVIEW measurement folders with the affected library, and prevent untrusted .lvm.pkl sidecar files from being present in folders processed by it. Upgrade lvm_read to version 2.0 or later when possible.