CVE-2025-68664
Python vulnerability analysis and mitigation

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.


SourceNVD

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68664CRITICAL9.3
  • PythonPython
  • langchain-core
NoYesDec 23, 2025
GHSA-83jg-m2pm-4jxjHIGH8.3
  • PythonPython
  • cowrie
NoYesDec 20, 2025
CVE-2025-67743MEDIUM6.3
  • PythonPython
  • local-deep-research
NoYesDec 23, 2025
CVE-2025-68480MEDIUM5.3
  • PythonPython
  • marshmallow
NoYesDec 22, 2025
CVE-2025-65713MEDIUM4
  • PythonPython
  • homeassistant
NoYesDec 23, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management