{"data":{"id":"80a6e5b4-7fce-4480-9ff6-8aa68692ead5","title":"CVE-2026-133161: ### Summary ui With `strip_ansi=True`, Pydantic AI Harness's `ToolOutputLimits` capability removes ANSI escape…","summary":"Pydantic AI Harness's ToolOutputLimits capability, when strip_ansi=True is set (named OverflowingToolOutput before 0.13.0), strips ANSI escape sequences with a pattern whose run time grows quadratically with line length. A few-hundred-kilobyte tool result with many unterminated escape sequences can block the event loop for tens of seconds to minutes, delaying other requests and agent runs in the process. The attacker only needs to place text in content a tool returns, such as shell output, file reads, fetched pages or MCP server responses.","solution":"Upgrade pydantic-ai-harness to 0.70.0 or later. Until then, leave strip_ansi at its default, False. On Pydantic AI v1, the harness cannot be upgraded past 0.4.0, so upgrade to Pydantic AI v2 and pydantic-ai-harness 0.70.0, or leave strip_ansi off.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-133161","publishedAt":"2026-11-19T15:17:35.953Z","cveId":"CVE-2026-133161","cweIds":["CWE-1333"],"cvssScore":"7.5","cvssSeverity":"high","severity":"high","attackType":["denial_of_service"],"issueType":"vulnerability","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":[],"affectedVendorsRaw":["Pydantic AI Harness","Pydantic AI"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"Pydantic AI Harness ToolOutputLimits ANSI stripping slowed by quadratic regex","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"none","exploitMaturity":"unknown","epssScore":0,"epssCheckedAt":"2026-11-19T18:09:56.931Z","kevDateAdded":null,"advisoryAliases":["GHSA-wvp9-4g4g-qwgm"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":"2026-11-19T18:10:00.329Z","patchAvailable":null,"disclosureDate":"2026-11-19T15:17:35.953Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["availability"],"aiComponentTargeted":"agent","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[]}}