THREATPORT/VULNERABILITY/CVE-2025-68664
CRITICAL SEVERITY

CVE-2025-68664

Langchain Core vulnerability

CVSS
9.3
EPSS
14.0%
EPSS pct
96th
Exploited
No known
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.
Affected vendor
Langchain
Affected product
Langchain Core
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
Weakness type (CWE)
  • CWE-502 — Deserialization of Untrusted Data
Published
2025-12-23

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to confidentiality, low impact to integrity.

Its EPSS score of 14.0% reflects a moderate probability of exploitation activity in the wild over the next 30 days, placing it above 96% of all scored CVEs.

Check your external exposure to CVE-2025-68664

  • Confirm whether Langchain Langchain Core is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2025-68664.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2025-68664

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2025-68664 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2025-68664?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2025-68664.

Start free scan

No credit card. Agentless.