Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    BREW-ANSIBLE-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:35 – Updated: 2026-09-10 18:51 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-ansible-CVE-2021-20270",
      "modified": "2026-09-10T18:51:05Z",
      "published": "2026-08-13T16:35:22Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-ATHENACLI-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:36 – Updated: 2026-09-17 18:30 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-athenacli-CVE-2021-20270",
      "modified": "2026-09-17T18:30:24Z",
      "published": "2026-08-13T16:36:09Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-AWS-SHELL-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:37 – Updated: 2026-10-07 22:45 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-aws-shell-CVE-2021-20270",
      "modified": "2026-10-07T22:45:29Z",
      "published": "2026-08-13T16:37:01Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-AZURE-CLI-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:37 – Updated: 2026-09-17 20:03 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-azure-cli-CVE-2021-20270",
      "modified": "2026-09-17T20:03:39Z",
      "published": "2026-08-13T16:37:03Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-COCONUT-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:40 – Updated: 2026-10-12 11:20 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-coconut-CVE-2021-20270",
      "modified": "2026-10-12T11:20:07Z",
      "published": "2026-08-13T16:40:10Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-COOKIECUTTER-CVE-20… (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:41 – Updated: 2026-10-02 08:49 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-cookiecutter-CVE-2021-20270",
      "modified": "2026-10-02T08:49:37Z",
      "published": "2026-08-13T16:41:06Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-DVC-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:44 – Updated: 2026-10-09 02:54 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-dvc-CVE-2021-20270",
      "modified": "2026-10-09T02:54:15Z",
      "published": "2026-08-13T16:44:03Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-FDROIDSERVER-CVE-20… (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:46 – Updated: 2026-10-08 00:14 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-fdroidserver-CVE-2021-20270",
      "modified": "2026-10-08T00:14:22Z",
      "published": "2026-08-13T16:46:32Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-FOBIS-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:48 – Updated: 2026-10-04 12:36 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-fobis-CVE-2021-20270",
      "modified": "2026-10-04T12:36:45Z",
      "published": "2026-08-13T16:48:17Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-FORD-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:48 – Updated: 2026-10-08 00:43 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-ford-CVE-2021-20270",
      "modified": "2026-10-08T00:43:28Z",
      "published": "2026-08-13T16:48:19Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-GCOVR-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:49 – Updated: 2026-10-12 11:57 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-gcovr-CVE-2021-20270",
      "modified": "2026-10-12T11:57:37Z",
      "published": "2026-08-13T16:49:07Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-GDBGUI-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:49 – Updated: 2026-09-17 19:09 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-gdbgui-CVE-2021-20270",
      "modified": "2026-09-17T19:09:55Z",
      "published": "2026-08-13T16:49:15Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-GLOBAL-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:52 – Updated: 2026-10-14 08:58 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-global-CVE-2021-20270",
      "modified": "2026-10-14T08:58:33Z",
      "published": "2026-08-13T16:52:11Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-GRIP-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:55 – Updated: 2026-10-07 23:46 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-grip-CVE-2021-20270",
      "modified": "2026-10-07T23:46:59Z",
      "published": "2026-08-13T16:55:20Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-GTK-DOC-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:55 – Updated: 2026-10-07 23:38 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-gtk-doc-CVE-2021-20270",
      "modified": "2026-10-07T23:38:59Z",
      "published": "2026-08-13T16:55:27Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-HOWDOI-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:56 – Updated: 2026-10-08 01:18 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-howdoi-CVE-2021-20270",
      "modified": "2026-10-08T01:18:15Z",
      "published": "2026-08-13T16:56:27Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-HTTPIE-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:57 – Updated: 2026-10-07 23:01 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-httpie-CVE-2021-20270",
      "modified": "2026-10-07T23:01:46Z",
      "published": "2026-08-13T16:57:19Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-IPYTHON-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:00 – Updated: 2026-09-17 17:44 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-ipython-CVE-2021-20270",
      "modified": "2026-09-17T17:44:50Z",
      "published": "2026-08-13T17:00:01Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-JC-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:00 – Updated: 2026-09-21 09:14 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-jc-CVE-2021-20270",
      "modified": "2026-09-21T09:14:32Z",
      "published": "2026-08-13T17:00:09Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }

    BREW-JRNL-CVE-2021-20270 (GHSA-9W8R-397F-PRFH)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:01 – Updated: 2026-09-10 00:14 – Source website
    VLAI
    Summary
    Infinite Loop in Pygments
    Details

    An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.


    {
      "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": "An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.",
      "id": "BREW-jrnl-CVE-2021-20270",
      "modified": "2026-09-10T00:14:19Z",
      "published": "2026-08-13T17:01:03Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20270"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922136"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pygments/pygments"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"
        },
        {
          "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://www.debian.org/security/2021/dsa-4889"
        },
        {
          "type": "WEB",
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
        }
      ],
      "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": "Infinite Loop in Pygments",
      "upstream": [
        "GHSA-9w8r-397f-prfh",
        "CVE-2021-20270",
        "PYSEC-2021-140"
      ]
    }