ADVISORIES

Vulnerability

CVE-2021-40839

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.

6 advisories report this vulnerability, across 4 ecosystems.

High severity All Alpine 2PyPI 2Debian 1Ubuntu 1

Advisories

  • ALPINE-CVE-2021-40839

    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.

    CVE-2021-40839 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2021-40839
    CVE-2021-40839 Alpine Updated 18 November 2026
  • DEBIAN-CVE-2021-40839

    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.

    CVE-2021-40839 Debian Updated 23 October 2026
  • GHSA-gh8j-2pgf-x458

    Infinite Loop in rencode

    High CVE-2021-40839 PyPI Updated 26 October 2024
  • PYSEC-2021-345

    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.

    CVE-2021-40839 PyPI Updated 9 October 2025
  • UBUNTU-CVE-2021-40839

    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.

    CVE-2021-40839 Ubuntu Updated 24 October 2025

References