CVEBrief

Home / facelessuser / pymdown-extensions / CVE-2025-68142

CVE-2025-68142: is it exploited, and which versions of facelessuser pymdown-extensions are affected and fixed?

CVE-2025-68142 is a regular expression denial of service (ReDoS) vulnerability in facelessuser pymdown-extensions. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: pymdown-extensions before 10.16.1 (GitHub advisory GHSA-r6h4-mm7h-8pmq). Fixed in 10.16.1 (GitHub advisory GHSA-r6h4-mm7h-8pmq). Severity: Low (2.7, CVSS 4.0, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
pymdown-extensions before 10.16.1
GitHub advisory GHSA-r6h4-mm7h-8pmq
Fixed in
10.16.1
GitHub advisory GHSA-r6h4-mm7h-8pmq
Severity
Low 2.7
CVSS 4.0 from GitHub_M
Exploit odds (EPSS)
0.56% in 30 days
higher than 48% of CVEs; FIRST, December 2, 2026

What is CVE-2025-68142?

PyMdown Extensions has ReDOS bug in Figure Capture extension

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.

From the CVE record by GitHub_M, last updated December 17, 2025, 18:51 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
facelessuserpymdown-extensions< 10.16.1

As the CVE record by GitHub_M states it, last updated December 17, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIpymdown-extensions< 10.16.110.16.1GHSA-r6h4-mm7h-8pmq

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 16, 2025. Summary: PyMdown Extensions has a ReDOS bug in its Figure Capture extension.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
facelessuserpymdown extensionsbefore 10.16.1application

NVD analysis (status Analyzed), last modified June 17, 2026, 09:58 UTC.

How severe is CVE-2025-68142?

ScoreVersionVectorSource
Low 2.7CVSS 4.0CVSS: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:UGitHub_M
Medium 5.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-68142 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, December 17, 2025)
EPSS
0.56% probability of exploitation activity in the next 30 days, percentile 48.1 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
December 15, 2025
Published
December 16, 2025, 18:06 UTC
CVE record updated
December 17, 2025, 18:51 UTC by GitHub_M
NVD
Analyzed, last modified June 17, 2026, 09:58 UTC
Last checked
CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect pymdown-extensions?

Every CVE in pymdown-extensions

Questions about CVE-2025-68142

Is CVE-2025-68142 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.56% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of facelessuser pymdown-extensions are affected by CVE-2025-68142?

pymdown-extensions before 10.16.1, per the GitHub advisory GHSA-r6h4-mm7h-8pmq. The tables above give every range the sources list.

Which version fixes CVE-2025-68142?

10.16.1, per the GitHub advisory GHSA-r6h4-mm7h-8pmq. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-68142?

Low (2.7, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2025-68142?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.