ADVISORIES

Vulnerability

CVE-2022-40023

Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.

28 advisories report this vulnerability, across 13 ecosystems.

Advisories

  • ALAS2-2023-2164

    Amazon Linux 2 2017.12 - ALAS2-2023-2164: medium priority package update for python-mako

    Medium CVE-2022-40023 Amazon Linux Updated 25 July 2023
  • ALAS2023-2023-288

    Amazon Linux 2023 - ALAS2023-2023-288: Medium priority package update for python-mako

    Medium CVE-2022-40023 Amazon Linux Updated 9 August 2023
  • ALPINE-CVE-2022-40023

    Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.

    CVE-2022-40023 Alpine Updated 20 November 2026
  • ALPINE-EDGE-CVE-2022-40023
    CVE-2022-40023 Alpine Updated 18 November 2026
  • ALSA-2023:2258

    Moderate: python-mako security update

    CVE-2022-40023 AlmaLinux Updated 29 October 2026
  • ALSA-2023:2893

    Moderate: python-mako security update

    CVE-2022-40023 AlmaLinux Updated 29 October 2026
  • AZL-10892

    CVE-2022-40023 affecting package python-mako for versions less than 1.2.2-1

    CVE-2022-40023 Azure Linux Updated 21 April 2026
  • DEBIAN-CVE-2022-40023

    Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.

    CVE-2022-40023 Debian Updated 20 November 2026
  • DLA-3116-1

    mako - security update

    CVE-2022-40023 Debian Updated 20 November 2026
  • DLA-4393-1

    mako - security update

    CVE-2022-40023 Debian Updated 20 November 2026
  • ELSA-2023-2258

    ELSA-2023-2258: python-mako security update (MODERATE)

    Moderate CVE-2022-40023 Oracle Linux Updated 15 May 2023
  • ELSA-2023-2893

    ELSA-2023-2893: python-mako security update (MODERATE)

    Moderate CVE-2022-40023 Oracle Linux Updated 24 May 2023
  • GHSA-v973-fxgf-6xhp

    mako is vulnerable to Regular Expression Denial of Service

    High CVE-2022-40023 PyPI Updated 3 December 2025
  • OESA-2023-1683

    python-mako security update

    High CVE-2022-40023 openEuler Updated 18 August 2026
  • PYSEC-2022-260

    Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.

    CVE-2022-40023 PyPI Updated 8 November 2023
  • RHSA-2023:2258

    Red Hat Security Advisory: python-mako security update

    CVE-2022-40023 Red Hat Updated 13 November 2026
  • RHSA-2023:2893

    Red Hat Security Advisory: python-mako security update

    CVE-2022-40023 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2022-40023

    python-mako: REDoS in Lexer class

    Moderate CVE-2022-40023 Red Hat Updated 5 November 2026
  • RLSA-2023:2258

    Moderate: python-mako security update

    CVE-2022-40023 Rocky Linux Updated 3 December 2025
  • RLSA-2023:2893

    Moderate: python-mako security update

    CVE-2022-40023 Rocky Linux Updated 3 December 2025
  • SUSE-SU-2022:3700-1

    Security update for python-Mako

    CVE-2022-40023 SUSE Updated 4 February 2026
  • SUSE-SU-2022:3701-1

    Security update for python-Mako

    CVE-2022-40023 SUSE Updated 4 February 2026
  • SUSE-SU-2022:3979-1

    Security update for python-Mako

    CVE-2022-40023 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2022-40023

    Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.

    Moderate CVE-2022-40023 SUSE Updated 16 October 2026
  • UBUNTU-CVE-2022-40023

    Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.

    CVE-2022-40023 Ubuntu Updated 5 February 2026
  • USN-5625-1

    mako vulnerability

    CVE-2022-40023 Ubuntu Updated 25 June 2026
  • openSUSE-SU-2024:13610-1

    python310-Mako-1.3.0-2.1 on GA media

    CVE-2022-40023 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:11567-1

    python313-Mako-1.4.1-1.1 on GA media

    CVE-2022-40023 openSUSE Updated 22 August 2026

References