Resource Exhaustion Affecting mitmproxy package, versions <12.2.3-r4


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.34% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-MITMPROXY-18495992
  • published1 Aug 2026
  • disclosed14 Jul 2026

Introduced: 14 Jul 2026

NewCVE-2026-59886  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Wolfi mitmproxy to version 12.2.3-r4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mitmproxy package and not the mitmproxy package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the univ.Real type converted its mantissa, base, and exponent value to a Python float using exact big-integer exponentiation. A BER, CER, or DER encoded REAL value only a few bytes long can carry a very large exponent, causing float conversion through prettyPrint(), str(), comparison, arithmetic, int(), or an explicit float() call to consume excessive CPU and memory and hang applications that decode untrusted ASN.1 data and then print, log, or compare decoded objects. This issue is fixed in version 0.6.4.

CVSS Base Scores

version 3.1