USN-4940-1

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

It was discovered that PyYAML incorrectly handled untrusted YAML files with the FullLoader loader. A remote attacker could possibly use this issue to execute arbitrary code. Update Instructions: Run `sudo pro fix USN-4940-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python-yaml - 5.3.1-1ubuntu0.1 python3-yaml - 5.3.1-1ubuntu0.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T01:47:42.136Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T01:47:42.136Z UTC. Last updated 2025-11-26T07:41:20.485Z UTC.

Upstream Advisory

Affected Packages

  • python-yaml 5.3.1-1ubuntu0.1-5.3.1-1ubuntu0.1

  • python3-yaml 5.3.1-1ubuntu0.1-5.3.1-1ubuntu0.1

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