Live threats

All CVEs / Rencode Project

CVE-2021-40839Rencode Project Rencode

High 7.5 No auth needed

Priority
61
CVSS 3.1
7.5
EPSS
5.5%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
Sep 10, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-835
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rencode.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI rencode ≤ 1.0.6 no fixed version —
PyPI rencode all no fixed version —

Per OSV / GitHub Advisories (GHSA-gh8j-2pgf-x458, PYSEC-2021-345). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rencode_projectrencode≤ 1.0.6
fedoraprojectfedora34
fedoraprojectfedora35

Official sources

References

Links published by the sources. Open them with care.