All reports
Critical

Deserialization of Untrusted Data in PyYAML

Affected versions

Version ranges need review.

Affected versions
>=5.1 <5.2b1
Fixed version
5.2b1
Affected versions
>= 5.1, < 5.2
Fixed version
5.2
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2019-20477

Probability of exploitation in the next 30 days: 5.11%

FIRST EPSS · 2026-11-22

Description

PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.

Links