MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-133161

Harness `ToolOutputLimits` ANSI stripping can take quadratic time, blocking the event loop

Not on CISA KEVCVSS 7.5 (v3.1)
  • Overview

Summary

### Summary ui With `strip_ansi=True`, Pydantic AI Harness's `ToolOutputLimits` capability removes ANSI escape sequences from tool output with a pattern that takes time quadratic in the length of a line. A tool result of a few hundred kilobytes, crafted with many unterminated escape sequences, can

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • NVD This product uses the NVD API but is not endorsed or certified by the NVD.