Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-2965

published medium CVSS 3.0 · 4.2

Denial-of-Service in LangChain SitemapLoader in langchain-ai/langchain

Published
06 Jun 2024, 18:52:54 UTC
Updated
15 Oct 2025, 12:50:22 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
langchain-ai — langchain-ai/langchainunspecified to < 0.2.5 Affected Not stated @huntr_ai
langchain — langchain0 and later · Other versions: unknown Affected Not stated CISA-ADP

Description

A Denial-of-Service (DoS) vulnerability exists in the `SitemapLoader` class of the `langchain-ai/langchain` repository, affecting all versions. The `parse_sitemap` method, responsible for parsing sitemaps and extracting URLs, lacks a mechanism to prevent infinite recursion when a sitemap URL refers to the current sitemap itself. This oversight allows for the possibility of an infinite loop, leading to a crash by exceeding the maximum recursion depth in Python. This vulnerability can be exploited to occupy server socket/port resources and crash the Python process, impacting the availability of services relying on this functionality.

en · @huntr_ai · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
4.2 / 10
Severity
medium
Provider
@huntr_ai · cna
Vector string
CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
langchain-ai langchain-ai/langchain unspecified to < 0.2.5 (affected · custom) @huntr_ai · cna
langchain langchain 0 and later (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-674 CWE-674 Uncontrolled Recursion (@huntr_ai · cna)

References

2

Provider assertions

3

@huntr_ai · cna

Denial-of-Service in LangChain SitemapLoader in langchain-ai/langchain

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
45c730aba0591dc498b697a87223a53ed1620725fd5951f0bd43a03716e37b57
Ingested
23 Sep 2026, 08:21:57 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected