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.
History

Wed, 30 Jul 2025 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Mon, 14 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00191}

epss

{'score': 0.00205}


Tue, 17 Sep 2024 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Langchain
Langchain langchain
CPEs cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*
Vendors & Products Langchain
Langchain langchain
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 17 Sep 2024 12:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Deserialization of Untrusted Data in langchain-ai/langchain
Weaknesses CWE-502
References
Metrics cvssV3_0

{'score': 5.2, 'vector': 'CVSS:3.0/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published: 2024-09-17T11:50:13.813Z

Updated: 2024-09-17T13:34:15.648Z

Reserved: 2024-06-14T13:32:32.118Z

Link: CVE-2024-5998

cve-icon Vulnrichment

Updated: 2024-09-17T13:34:10.374Z

cve-icon NVD

Status : Analyzed

Published: 2024-09-17T12:15:02.977

Modified: 2025-07-30T16:22:43.363

Link: CVE-2024-5998

cve-icon Redhat

No data.