USN-5138-1

Type: Security
Severity: Medium
Published: 2021-11-10
Ubuntu 20.04 LTS (Focal Fossa)

The py.path.svnwc component of py (aka python-py) through v1.9.0 contains a regular expression with an ambiguous subpattern that is susceptible to catastrophic backtracing. This could be used by attackers to cause a compute-time denial of service attack by supplying malicious input to the blame functionality. Update Instructions: Run `sudo pro fix USN-5138-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: pypy-py - 1.8.1-1ubuntu0.1 python3-py - 1.8.1-1ubuntu0.1 python-py - 1.8.1-1ubuntu0.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T07:54:44.529Z UTC.

Upstream Advisory

Affected Packages

  • pypy-py 1.8.1-1ubuntu0.1-1.8.1-1ubuntu0.1

  • python3-py 1.8.1-1ubuntu0.1-1.8.1-1ubuntu0.1

  • python-py 1.8.1-1ubuntu0.1-1.8.1-1ubuntu0.1

Interested in being alerted when there are new versions of pypy-py and the other packages? Set up an alert.
USN-5138-1: python-py vulnerability | Package Alert