cve.bz

CVE-2025-68142 facelessuser pymdown extensions

2.7 lowExploit referenceEPSS 0.5%Fix available

Low (2.7) in facelessuser pymdown extensions. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in pymdown-extensions 10.16.1.

On this page
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.

Severity

CVSS 4.0

2.7 low
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 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-12-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-68142 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-68142?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-68142?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-68142 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
facelessuser:pymdown_extensionsbefore 10.16.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r6h4-mm7h-8pmqPyPIpymdown-extensions<10.16.110.16.1
PYSEC-2026-1825PyPIpymdown-extensions<10.16.110.16.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13pymdown-extensions10.13-1+deb13u1DEBIAN-CVE-2025-68142
Debian14pymdown-extensions10.13-4DEBIAN-CVE-2025-68142
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morepymdown-extensionsno fix listedUBUNTU-CVE-2025-68142

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is rated Low for Red Hat as it requires processing of unchecked user-provided markdown content with the `pymdownx.blocks.caption` extension enabled, without proper safeguards like timeouts. Exploitation is limited to applications that explicitly utilize this specific extension and do not implement robust input validation or resource limits.

Red Hat's mitigation

To mitigate this issue, avoid using the `pymdownx.blocks.caption` extension within PyMdown Extensions when processing untrusted user-provided markdown content. This can be achieved by disabling the extension in the application's configuration or by ensuring that input is properly sanitized and processed with resource limits to prevent excessive processing time.

ProductPackageStateAdvisory
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-agent-rhel9Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Fix deferred
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/bitwarden-sdk-server-rhel9Fix deferred
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-operator-bundleFix deferred
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-operator-rhel9Fix deferred
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-rhel9Fix deferred
external secrets operator for Red Hat OpenShift - Tech Previewexternal-secrets-operator/bitwarden-sdk-server-rhel9Fix deferred
external secrets operator for Red Hat OpenShift - Tech Previewexternal-secrets-operator/external-secrets-operator-bundleFix deferred
external secrets operator for Red Hat OpenShift - Tech Previewexternal-secrets-operator/external-secrets-operator-rhel9Fix deferred
external secrets operator for Red Hat OpenShift - Tech Previewexternal-secrets-operator/external-secrets-rhel9Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-agent-rhel9Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-controller-rhel9Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-rhel9Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/assisted-service-8-rhel8Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/assisted-service-9-rhel9Fix deferred
OpenShift Service Mesh 2openshift-service-mesh/grafana-rhel8Fix deferred
OpenShift Service Mesh 2openshift-service-mesh/istio-cni-rhel8Fix deferred
OpenShift Service Mesh 2openshift-service-mesh/istio-must-gather-rhel9Fix deferred
OpenShift Service Mesh 2openshift-service-mesh/istio-operator-bundleFix deferred
37 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-68142.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON