UBUNTU-CVE-2019-25781

Source
https://ubuntu.com/security/CVE-2019-25781
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-25781.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-25781
Upstream
Published
2026-10-29T14:17:00Z
Modified
2026-11-24T14:52:59Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (Source: CNA) CVSS Calculator
  • 8.7 (High) CVSS_V4 - 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 (Source: CNA) CVSS Calculator
  • Ubuntu - medium (Source: SELF)
Summary
[none]
Details

Python-Markdown 3.0 through 3.11.2 contains an algorithmic complexity vulnerability in inline link parsing that allows remote attackers to exhaust CPU through unmatched brackets. Attackers can submit short Markdown containing repeated [ or ![ characters, forcing LinkInlineProcessor.getText() and getLink() into quadratic scans that keep workers busy for minutes.

References

Affected packages

Ubuntu:20.04:LTS / python-markdown

Package

Name
python-markdown
Purl
pkg:deb/ubuntu/python-markdown?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.1.1-2
3.1.1-2build1
3.1.1-3

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-markdown",
            "binary_version":  "3.1.1-3"
        },
        {
            "binary_name":  "python3-markdown",
            "binary_version":  "3.1.1-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-25781.json"

Ubuntu:22.04:LTS / python-markdown

Package

Name
python-markdown
Purl
pkg:deb/ubuntu/python-markdown?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.3.4-1
3.3.6-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-markdown",
            "binary_version":  "3.3.6-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-25781.json"

Ubuntu:24.04:LTS / python-markdown

Package

Name
python-markdown
Purl
pkg:deb/ubuntu/python-markdown?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.4.4-1
3.5.2-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-markdown",
            "binary_version":  "3.5.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-25781.json"

Ubuntu:26.10 / python-markdown

Package

Name
python-markdown
Purl
pkg:deb/ubuntu/python-markdown?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.10.2-1
3.10.2-2
3.10.3-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-markdown",
            "binary_version":  "3.10.3-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-25781.json"

Ubuntu:26.04:LTS / python-markdown

Package

Name
python-markdown
Purl
pkg:deb/ubuntu/python-markdown?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.8.2-2
3.10-1
3.10-2
3.10.2-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-markdown",
            "binary_version":  "3.10.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-25781.json"