cve.bz

CVE-2024-5998

7.8 highEPSS 0.4%

High (7.8) in langchain langchain. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in langchain-community 0.2.4.

A vulnerability in the FAISS.deserialize_from_bytes function of langchain-ai/langchain allows for pickle deserialization of untrusted data. This can lead to the execution of arbitrary commands via the os.system function. The issue affects the latest version of the product.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.4% chance of exploitation in the next 30 days; higher than 29% of CVEs (scores of 2026-10-31)
CWE
CWE-502
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f2jm-rw3h-6phgPyPIlangchain-community<0.2.40.2.4
PYSEC-2024-323PyPIlangchain<0.2.90.2.9
PYSEC-2026-1514PyPIlangchain-community<0.2.40.2.4

References

Check your stackJSON