Vulnerability · CVE-2025-68664
LangChain is a framework for building agents and LLM-powered applications.
Published Dec 23, 2025 · catalog updated Dec 24, 2025 · LangChain is a framework
Last checked Nov 2, 2026. A connected source was read within the last 7 days.
Check this week
CVE-2025-68664 is not in CISA KEV. FIRST estimates a 42.93% chance of exploitation in the next 30 days. Check whether you run LangChain is a framework.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (LangChain is a framework).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-44843 · High
- CVE-2026-26013 · Low
- CVE-2024-58340 · High
- CVE-2025-65106 · High
- CVE-2023-46229 · High · known exploited
- Severity
- Critical9.3
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 42.93%
- Remediation
- Version ranges on file
- Affected products
- vendor langchain-ai langchain < 0.3.81
LangChain is a framework for building agents and LLM-powered applications. Prior to versions 0.3.81 and 1.2.5, a serialization injection vulnerability exists in LangChain's dumps() and dumpd() functions. The functions do not escape dictionaries with 'lc' keys when serializing free-form dictionaries. The 'lc' key is used internally by LangChain to mark serialized objects. When user-controlled data contains this key structure, it is treated as a legitimate LangChain object during deserialization rather than plain user data. This issue has been patched in versions 0.3.81 and 1.2.5.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor langchain-ai langchain < 0.3.81< 0.3.81
How to fix CVE-2025-68664
Upgrade
CVE-2025-68664 lists a fix boundary at 0.3.81. Compare the installed build with that boundary before you change production.
Version check
Affected < 0.3.81
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2025-68664 is not in CISA KEV. FIRST estimates a 42.93% chance of exploitation in the next 30 days. Check whether you run LangChain is a framework.
Which versions are affected?
Compare what you have installed with langchain-ai langchain < 0.3.81 < 0.3.81. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 42.93%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Dec 23, 2025 · EUVD
Detected
LangChain is a framework for building agents and LLM-powered applications. Prior to versions 0.3.81 and 1.2.5, a serialization injection vulnerability exists in LangChain's dumps() and dumpd() functions. The functions do not escape dictionaries with 'lc' keys when serializing free-form dictionaries. The 'lc' key is used internally by LangChain to mark serialized objects. When user-controlled data
Dec 24, 2025 · EUVD
Updated
LangChain is a framework for building agents and LLM-powered applications. Prior to versions 0.3.81 and 1.2.5, a serialization injection vulnerability exists in LangChain's dumps() and dumpd() functions. The functions do not escape dictionaries with 'lc' keys when serializing free-form dictionaries. The 'lc' key is used internally by LangChain to mark serialized objects. When user-controlled data
Sources
- CVE.orgVulnerability recordCVE-2025-68664
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2025-68664
30-day exploitation probability 42.93%
first.org - EUVDVulnerability recordEUVD-2025-204849
LangChain is a framework for building agents and LLM-powered applications. Prior to versions 0.3.81 and 1.2.5, a serialization injection vulnerability exists in LangChain's dumps() and dumpd() functions. The functions do not escape dictionaries with 'lc' keys when serializing fre
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Nov 2, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- FIRST EPSSNov 2, 2026
- CVE.orgNov 2, 2026
- EUVDNov 1, 2026