UBUNTU-CVE-2025-68142

Source
https://ubuntu.com/security/CVE-2025-68142
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-68142.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-68142
Upstream
Published
2025-12-16T18:16:00Z
Modified
2025-12-17T20:59:58.991797Z
Severity
  • 2.7 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

PyMdown Extensions is a set of extensions for the Python-Markdown markdown project. Versions prior to 10.16.1 have a ReDOS bug found within the figure caption extension (pymdownx.blocks.caption). In systems that take unchecked user content, this could cause long hanges when processing the data if a malicious payload was crafted. This issue is patched in Release 10.16.1. As a workaround, those who process unknown user content without timeouts or other safeguards in place to prevent really large, malicious content being aimed at systems may avoid the use of pymdownx.blocks.caption until they're able to upgrade.

References

Affected packages

Ubuntu:24.04:LTS / pymdown-extensions

Package

Name
pymdown-extensions
Purl
pkg:deb/ubuntu/pymdown-extensions@9.5-5?arch=source&distro=noble

Affected ranges

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

Affected versions

9.*

9.5-2
9.5-4
9.5-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-pymdownx",
            "binary_version": "9.5-5"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-68142.json"

Ubuntu:25.10 / pymdown-extensions

Package

Name
pymdown-extensions
Purl
pkg:deb/ubuntu/pymdown-extensions@10.13-3?arch=source&distro=questing

Affected ranges

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

Affected versions

10.*

10.13-1
10.13-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-pymdownx",
            "binary_version": "10.13-3"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-68142.json"

Ubuntu:25.04 / pymdown-extensions

Package

Name
pymdown-extensions
Purl
pkg:deb/ubuntu/pymdown-extensions@10.13-1?arch=source&distro=plucky

Affected ranges

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

Affected versions

10.*

10.9-1
10.11.2-1
10.13-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-pymdownx",
            "binary_version": "10.13-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-68142.json"