CVE-2021-40839Rencode Project Rencode
High 7.5 No auth needed
Follow: this CVE · Rencode Project · Rencode Project Rencode We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Rencode.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| rencode_project | rencode | ≤ 1.0.6 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- pypi.org Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- security.netapp.com Third Party Advisory