Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2024-46946
Analyzed
More InfoOfficial Page
Source-cve@mitre.org
View Known Exploited Vulnerability (KEV) details
Published At-19 Sep, 2024 | 05:15
Updated At-16 Jul, 2025 | 13:49

langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain allows attackers to execute arbitrary code through sympy.sympify (which uses eval) in LLMSymbolicMathChain. LLMSymbolicMathChain was introduced in fcccde406dd9e9b05fc9babcbeb9ff527b0ec0c6 (2023-10-05).

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.19.8CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Type: Secondary
Version: 3.1
Base score: 9.8
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CPE Matches

langchain
langchain
>>langchain-experimental>>Versions from 0.1.17(inclusive) to 0.3.0(inclusive)
cpe:2.3:a:langchain:langchain-experimental:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-20Secondary134c704f-9b21-4f2e-91b3-4a467353bcc0
CWE ID: CWE-20
Type: Secondary
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://cwe.mitre.org/data/definitions/95.htmlcve@mitre.org
Not Applicable
https://docs.sympy.org/latest/modules/codegen.htmlcve@mitre.org
Technical Description
https://gist.github.com/12end/68c0c58d2564ef4141bccd4651480820#file-cve-2024-46946-txtcve@mitre.org
Exploit
Third Party Advisory
https://github.com/langchain-ai/langchain/releases/tag/langchain-experimental%3D%3D0.3.0cve@mitre.org
Release Notes
Hyperlink: https://cwe.mitre.org/data/definitions/95.html
Source: cve@mitre.org
Resource:
Not Applicable
Hyperlink: https://docs.sympy.org/latest/modules/codegen.html
Source: cve@mitre.org
Resource:
Technical Description
Hyperlink: https://gist.github.com/12end/68c0c58d2564ef4141bccd4651480820#file-cve-2024-46946-txt
Source: cve@mitre.org
Resource:
Exploit
Third Party Advisory
Hyperlink: https://github.com/langchain-ai/langchain/releases/tag/langchain-experimental%3D%3D0.3.0
Source: cve@mitre.org
Resource:
Release Notes
Change History
0Changes found

Details not found