High severity7.5NVD Advisory· Published Sep 10, 2021· Updated Jun 17, 2026
CVE-2021-40839
CVE-2021-40839
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
rencodePyPI | <= 1.0.6 | — |
Affected products
5cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- rencode/rencodedescription
Patches
Vulnerability mechanics
References
13- github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75nvdPatchThird Party AdvisoryWEB
- github.com/aresch/rencode/pull/29nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-gh8j-2pgf-x458ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-40839ghsaADVISORY
- pypi.org/project/rencode/nvdThird Party AdvisoryWEB
- seclists.org/fulldisclosure/2021/Sep/16nvdMailing ListThird Party AdvisoryWEB
- security.netapp.com/advisory/ntap-20211008-0001/nvdThird Party Advisory
- github.com/pypa/advisory-database/tree/main/vulns/rencode/PYSEC-2021-345.yamlghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6ghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENYghsaWEB
- security.netapp.com/advisory/ntap-20211008-0001ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/nvd
News mentions
0No linked articles in our index yet.