Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    BREW-ANSIBLE-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:35 – Updated: 2026-09-10 18:51 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "ansible",
            "purl": "pkg:brew/ansible"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "14.3.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-ansible-CVE-2021-27291",
      "modified": "2026-09-10T18:51:05Z",
      "published": "2026-08-13T16:35:22Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-ATHENACLI-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:36 – Updated: 2026-09-17 18:30 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.11.1",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "athenacli",
            "purl": "pkg:brew/athenacli"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.4.1"
                },
                {
                  "fixed": "1.6.1_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.11.1",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.11.1"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-athenacli-CVE-2021-27291",
      "modified": "2026-09-17T18:30:24Z",
      "published": "2026-08-13T16:36:09Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-AWS-SHELL-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:37 – Updated: 2026-10-07 22:45 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "aws-shell",
            "purl": "pkg:brew/aws-shell"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.1.0"
                },
                {
                  "fixed": "0.2.2_2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-aws-shell-CVE-2021-27291",
      "modified": "2026-10-07T22:45:29Z",
      "published": "2026-08-13T16:37:01Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-AZURE-CLI-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:37 – Updated: 2026-09-17 20:03 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "Pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "azure-cli",
            "purl": "pkg:brew/azure-cli"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "2.0.17"
                },
                {
                  "fixed": "2.18.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "Pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-azure-cli-CVE-2021-27291",
      "modified": "2026-09-17T20:03:39Z",
      "published": "2026-08-13T16:37:03Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-COCONUT-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:40 – Updated: 2026-10-12 11:20 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "coconut",
            "purl": "pkg:brew/coconut"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.4.3"
                },
                {
                  "fixed": "1.5.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-coconut-CVE-2021-27291",
      "modified": "2026-10-12T11:20:07Z",
      "published": "2026-08-13T16:40:10Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-COOKIECUTTER-CVE-20… (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:41 – Updated: 2026-10-02 08:49 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "cookiecutter",
            "purl": "pkg:brew/cookiecutter"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.7.1_4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-cookiecutter-CVE-2021-27291",
      "modified": "2026-10-02T08:49:37Z",
      "published": "2026-08-13T16:41:06Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-DVC-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:44 – Updated: 2026-10-09 02:54 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "dvc",
            "purl": "pkg:brew/dvc"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.1.2"
                },
                {
                  "fixed": "1.11.11"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-dvc-CVE-2021-27291",
      "modified": "2026-10-09T02:54:15Z",
      "published": "2026-08-13T16:44:03Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-FDROIDSERVER-CVE-20… (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:46 – Updated: 2026-10-08 00:14 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "fdroidserver",
            "purl": "pkg:brew/fdroidserver"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.0.4"
                },
                {
                  "fixed": "2.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-fdroidserver-CVE-2021-27291",
      "modified": "2026-10-08T00:14:23Z",
      "published": "2026-08-13T16:46:32Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-FOBIS-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:48 – Updated: 2026-10-04 12:36 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "fobis",
            "purl": "pkg:brew/fobis"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.8.22"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-fobis-CVE-2021-27291",
      "modified": "2026-10-04T12:36:45Z",
      "published": "2026-08-13T16:48:17Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-FORD-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:48 – Updated: 2026-10-08 00:43 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "ford",
            "purl": "pkg:brew/ford"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "3.0.2"
                },
                {
                  "fixed": "6.1.5"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-ford-CVE-2021-27291",
      "modified": "2026-10-08T00:43:28Z",
      "published": "2026-08-13T16:48:19Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-GCOVR-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:49 – Updated: 2026-10-12 11:57 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "gcovr",
            "purl": "pkg:brew/gcovr"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.6_2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-gcovr-CVE-2021-27291",
      "modified": "2026-10-12T11:57:37Z",
      "published": "2026-08-13T16:49:07Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-GDBGUI-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:49 – Updated: 2026-09-17 19:09 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.19.2",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "gdbgui",
            "purl": "pkg:brew/gdbgui"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.13.2.0"
                },
                {
                  "fixed": "0.15.0.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.19.2",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.19.2"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-gdbgui-CVE-2021-27291",
      "modified": "2026-09-17T19:09:55Z",
      "published": "2026-08-13T16:49:15Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-GLOBAL-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:52 – Updated: 2026-10-14 08:58 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "global",
            "purl": "pkg:brew/global"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.7"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-global-CVE-2021-27291",
      "modified": "2026-10-14T08:58:33Z",
      "published": "2026-08-13T16:52:11Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-GRIP-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:55 – Updated: 2026-10-07 23:46 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "grip",
            "purl": "pkg:brew/grip"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "4.3.2"
                },
                {
                  "fixed": "4.6.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-grip-CVE-2021-27291",
      "modified": "2026-10-07T23:46:59Z",
      "published": "2026-08-13T16:55:20Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-GTK-DOC-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:55 – Updated: 2026-10-07 23:38 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "gtk-doc",
            "purl": "pkg:brew/gtk-doc"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.30_1"
                },
                {
                  "fixed": "1.33.2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-gtk-doc-CVE-2021-27291",
      "modified": "2026-10-07T23:38:59Z",
      "published": "2026-08-13T16:55:27Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-HOWDOI-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:56 – Updated: 2026-10-08 01:18 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "howdoi",
            "purl": "pkg:brew/howdoi"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.1.12"
                },
                {
                  "fixed": "2.0.9"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-howdoi-CVE-2021-27291",
      "modified": "2026-10-08T01:18:15Z",
      "published": "2026-08-13T16:56:27Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-HTTPIE-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:57 – Updated: 2026-10-07 23:01 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "httpie",
            "purl": "pkg:brew/httpie"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.8.0"
                },
                {
                  "fixed": "2.4.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-httpie-CVE-2021-27291",
      "modified": "2026-10-07T23:01:46Z",
      "published": "2026-08-13T16:57:19Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-IPYTHON-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:00 – Updated: 2026-09-17 17:44 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "ipython",
            "purl": "pkg:brew/ipython"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "7.20.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-ipython-CVE-2021-27291",
      "modified": "2026-09-17T17:44:50Z",
      "published": "2026-08-13T17:00:01Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-JC-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:00 – Updated: 2026-09-21 09:15 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.21.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "jc",
            "purl": "pkg:brew/jc"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.10.6"
                },
                {
                  "fixed": "1.14.2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.21.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.21.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-jc-CVE-2021-27291",
      "modified": "2026-09-21T09:15:02Z",
      "published": "2026-08-13T17:00:09Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }

    BREW-JRNL-CVE-2021-27291 (GHSA-PQ64-V7F5-GQH8)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:01 – Updated: 2026-09-10 00:14 – Source website
    VLAI
    Summary
    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
    Details

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pygments",
            "resource_purl": "pkg:pypi/pygments@2.20.0",
            "upstream_fixed_in": "2.7.4"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "jrnl",
            "purl": "pkg:brew/jrnl"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.6"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pygments@2.20.0",
            "name": "pygments",
            "resource": "pygments",
            "strategy": "registry",
            "subject_version": "2.20.0"
          }
        ]
      },
      "details": "In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.",
      "id": "BREW-jrnl-CVE-2021-27291",
      "modified": "2026-09-10T00:14:19Z",
      "published": "2026-08-13T17:01:03Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27291"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"
        },
        {
          "type": "WEB",
          "url": "https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4878"
        },
        {
          "type": "WEB",
          "url": "https://www.debian.org/security/2021/dsa-4889"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Pygments vulnerable to Regular Expression Denial of Service (ReDoS)",
      "upstream": [
        "GHSA-pq64-v7f5-gqh8",
        "CVE-2021-27291",
        "PYSEC-2021-141"
      ]
    }