> CVE-2025-68664 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2025-12-23 23:15
MODIFIED
2025-12-23 23:15
CVSS_SCORE V3
9.3
EPSS (Prob. Exploit)
42.93%
Top 1.3%
⚡ EPSS ÉLEVÉ (42.9%)
DATA SOURCES:
NVD 🔗 2025-12-24 RED HAT 🔗 2025-12-28 CVE PROJECT 🔗 2026-01-19 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-04 OSV 🔗 2026-11-08

> DESCRIPTION

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_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
EXPLOITABILITY
3.9
IMPACT
4.7

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-502

> CWE DETAILED DESCRIPTIONS

CWE-502: Deserialization of Untrusted Data - The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

> RED HAT SEVERITY ASSESSMENT

THREAT SEVERITY
Critical

> GITHUB SECURITY ADVISORY

GHSA-c67j-w6g6-q2cm CRITICAL

LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIs

AFFECTED PACKAGES:
PIP / langchain-core
< 0.3.81
Fixed in: 0.3.81
PIP / langchain-core
>= 1.0.0, < 1.2.5
Fixed in: 1.2.5

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIs

AFFECTED PACKAGES:
Unknown / Unknown
1001 versions affected
ALIASES:
GHSA-c67j-w6g6-q2cm, PYSEC-2026-373

> HISTORIQUE DES MODIFICATIONS

Première apparition
23/12/2025 23:15
Source: NVD
📊 ENRICHISSEMENT 19/01/2026 17:38
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
📊 ENRICHISSEMENT 01/01/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-502: Deserialization of Untrusted Data - The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
📊 ENRICHISSEMENT 28/12/2025 04:02
REDHAT
Champ modifié: Sévérité Red Hat
Ancienne valeur:
N/A
Nouvelle valeur:
{ "threat_severity": "Critical", "severity_scale": null }
📊 ENRICHISSEMENT 28/12/2025 04:02
REDHAT
Champ modifié: Red Hat
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 4 Dernière mise à jour: 9 months ago

> REFERENCES

https://github.com/langchain-ai/langchain/commit/5ec0fa69de31bbe3d76e4cf9cd65a6a...
https://github.com/langchain-ai/langchain/commit/d9ec4c5cc78960abd37da79b0250f56...
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.8...
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-q2c...
« BACK_TO_HOME