CVE-2025-68664

Published: Dic 23, 2025 Last Modified: Gen 13, 2026
ExploitDB:
Other exploit source:
Google Dorks:
CRITICAL 9,3
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: none
Scope: changed
Confidentiality: high
Integrity: low
Availability: none

Description

AI Translation Available

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.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0008
Percentile
0,2th
Updated

EPSS Score Trend (Last 82 Days)

502

Deserialization of Untrusted Data

Draft
Common Consequences
Security Scopes Affected:
Integrity Availability Other
Potential Impacts:
Modify Application Data Unexpected State Dos: Resource Consumption (Cpu) Varies By Context
Applicable Platforms
Languages: Java, JavaScript, PHP, Python, Ruby
Technologies: AI/ML, ICS/OT, Not Technology-Specific
View CWE Details
Application

Langchain Core by Langchain

Version Range Affected
From 1.0.0 (inclusive)
To 1.2.5 (exclusive)
cpe:2.3:a:langchain:langchain_core:*:*:*:*:*:python:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Langchain Core by Langchain

Version Range Affected
To 0.3.81 (exclusive)
cpe:2.3:a:langchain:langchain_core:*:*:*:*:*:python:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://github.com/langchain-ai/langchain/security/advisories/GHSA-c67j-w6g6-q2…
https://github.com/langchain-ai/langchain/commit/5ec0fa69de31bbe3d76e4cf9cd65a6…
https://github.com/langchain-ai/langchain/commit/d9ec4c5cc78960abd37da79b0250f5…
https://github.com/langchain-ai/langchain/pull/34455
https://github.com/langchain-ai/langchain/pull/34458
https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D0.3.…
https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D1.2.5
https://github.com/langchain-ai/langchain/security/advisories/GHSA-c67j-w6g6-q2…