cve.bz

CVE-2021-40839

7.5 highEPSS 5.5%

High (7.5). EPSS 5.5% chance of exploitation in the next 30 days.

The rencode package through 1.0.6 for Python allows an infinite loop in typecode decoding (such as via ;\x2f\x7f), enabling a remote attack that consumes CPU and memory.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
5.5% chance of exploitation in the next 30 days; higher than 92% of CVEs (scores of 2026-10-31)
CWE
CWE-835
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gh8j-2pgf-x458PyPIrencode<=1.0.6no fix published
PYSEC-2021-345PyPIrencodeall versionsno fix published

References

Check your stackJSON