Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2023-29374 Details
Description
In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 12, 2025Exploitation: NoneAutomatable: YesTechnical Impact: Total
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hwchase17/langchain/issues/1026 | CVE | Issue Tracking |
| https://github.com/hwchase17/langchain/issues/814 | CVE | ExploitIssue TrackingPatch |
| https://github.com/hwchase17/langchain/pull/1119 | CVE | Patch |
| https://twitter.com/rharang/status/1641899743608463365/photo/1 | CVE | Exploit |
| https://github.com/hwchase17/langchain/issues/1026 | [email protected] | Issue Tracking |
| https://github.com/hwchase17/langchain/issues/814 | [email protected] | ExploitIssue TrackingPatch |
| https://github.com/hwchase17/langchain/pull/1119 | [email protected] | Patch |
| https://twitter.com/rharang/status/1641899743608463365/photo/1 | [email protected] | Exploit |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| langchain langchain | <= 0.0.131 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 12, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 17, 2023 | Initial Analysis | [email protected] |