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-2026-107287

published medium CVSS 3.1 · 6.5

Pydantic AI: Excessive resource use when local web fetching converts nested HTML

Published
08 Oct 2026, 15:15:05 UTC
Updated
14 Oct 2026, 00:58:57 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pydantic — pydantic-ai>= 1.77.0, < 1.107.7 · >= 2.0.0b1, < 2.52.0 Affected Not stated GitHub_M
pydantic — pydantic-ai-slim>= 1.77.0, < 1.107.7 · >= 2.0.0b1, < 2.52.0 Affected Not stated GitHub_M

Description

Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.77.0 until 1.107.7 and 2.52.0, the local web_fetch_tool and the WebFetch local fallback can consume excessive CPU and memory during HTML-to-Markdown conversion of attacker-controlled HTML containing deeply nested block elements. Conversion repeatedly reprocesses accumulated text and can greatly expand intermediate output before the returned-content limit is applied, allowing a model-directed fetch to delay other work in the process. Provider-native web fetching is not affected. This issue is fixed in versions 1.107.7 and 2.52.0.

en · GitHub_M · 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.1
Base score
6.5 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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
pydantic pydantic-ai >= 1.77.0, < 1.107.7 (affected)>= 2.0.0b1, < 2.52.0 (affected) GitHub_M · cna
pydantic pydantic-ai-slim >= 1.77.0, < 1.107.7 (affected)>= 2.0.0b1, < 2.52.0 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-400 CWE-400: Uncontrolled Resource Consumption (GitHub_M · cna)
  • CWE-407 CWE-407: Inefficient Algorithmic Complexity (GitHub_M · cna)

References

7

Provider assertions

2

GitHub_M · cna

Pydantic AI: Excessive resource use when local web fetching converts nested HTML

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
a6c0756ff14733c3d39d6d7ef0de5f80b67282fcdf2260c8984ee3755e6cf6a0
Ingested
14 Oct 2026, 09:52:31 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