ubuntu-cve-2025-68142
Vulnerability from osv_ubuntu
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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pymdownx",
"binary_version": "9.5-5"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "pymdown-extensions",
"purl": "pkg:deb/ubuntu/pymdown-extensions@9.5-5?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"9.5-2",
"9.5-4",
"9.5-5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pymdownx",
"binary_version": "10.13-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "pymdown-extensions",
"purl": "pkg:deb/ubuntu/pymdown-extensions@10.13-3?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"10.13-1",
"10.13-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pymdownx",
"binary_version": "10.19.1-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "pymdown-extensions",
"purl": "pkg:deb/ubuntu/pymdown-extensions@10.19.1-3?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"10.13-3",
"10.13-4",
"10.19.1-3"
]
}
],
"aliases": [],
"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\u0027re able to upgrade.",
"id": "UBUNTU-CVE-2025-68142",
"modified": "2026-05-20T15:22:59Z",
"published": "2025-12-16T18:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-68142"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-68142"
},
{
"type": "REPORT",
"url": "https://github.com/facelessuser/pymdown-extensions/commit/b50d15a56850ed1408a284bba81cc019c6bd72e8"
},
{
"type": "REPORT",
"url": "https://github.com/facelessuser/pymdown-extensions/security/advisories/GHSA-r6h4-mm7h-8pmq"
},
{
"type": "REPORT",
"url": "https://pypi.org/project/pymdown-extensions/10.16.1"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-68142"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.