{"answers":{"affected":"3 open source packages ship an affected version, including pymdown-extensions. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-68142 in the wild and no public exploit code.","fix":"Upgrade pymdown-extensions to 10.16.1 or later.","what":"CVE-2025-68142 is a low-severity denial of service vulnerability in facelessuser pymdown-extensions, published on 16 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-68142 and fix it if it is affected.\n\nWhat it is: CVE-2025-68142 is a low-severity denial of service vulnerability in facelessuser pymdown-extensions, published on 16 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-68142 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pymdown-extensions (PyPI): affected all versions; fixed in 10.16.1\n- pymdown-extensions (PyPI): affected all versions; fixed in 10.16.1\n- pymdown-extensions (PyPI): affected all versions; fixed in 10.16.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-68142/ (Markdown: https://insights.sbomify.com/CVE-2025-68142/index.md)","id":"CVE-2025-68142","markdown":"https://insights.sbomify.com/CVE-2025-68142/index.md","name":"CVE-2025-68142","record":{"aliases":["DEBIAN-CVE-2025-68142","GHSA-r6h4-mm7h-8pmq","PYSEC-2026-1825","UBUNTU-CVE-2025-68142"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python Markdown extension","requires_auth":"none","summary":"Attackers can cause denial of service via ReDOS in the figure caption extension when processing malicious user content.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pymdown_extensions","vendor":"facelessuser"}],"cvss":{"score":2.7,"severity":"low","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"PyMdown Extensions has ReDOS bug in Figure Capture extension","id":"CVE-2025-68142","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":3,"n_references":3,"next":{"headline":"mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations","id":"CVE-2025-68143"},"packages":[{"ecosystem":"PyPI","fixed":["10.16.1"],"introduced":["0"],"last_affected":[],"package":"pymdown-extensions","purl":null,"source":"GHSA-r6h4-mm7h-8pmq"},{"ecosystem":"PyPI","fixed":["10.16.1"],"introduced":["0"],"last_affected":[],"package":"pymdown-extensions","purl":"pkg:pypi/pymdown-extensions","source":"GHSA-r6h4-mm7h-8pmq"},{"ecosystem":"PyPI","fixed":["10.16.1"],"introduced":["0"],"last_affected":[],"package":"pymdown-extensions","purl":"pkg:pypi/pymdown-extensions","source":"PYSEC-2026-1825"}],"prev":{"headline":"EVerest vulnerable to null pointer dereference during DC_ChargeLoopRes document deserialization","id":"CVE-2025-68141"},"products":["pymdown-extensions"],"published":"2025-12-16","related":[{"cvss_score":7.5,"headline":"Arbitrary file inclusion with the pymdowm-snippets extension","id":"CVE-2023-32309","kev_date_added":null,"published":"2023-05-15"},{"cvss_score":4.3,"headline":"Regression in pymdownx.snippets reintroduces sibling-prefix path traversal bypass despite restrict_base_path","id":"CVE-2026-46338","kev_date_added":null,"published":"2026-07-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-17","vendors":["facelessuser"]},"summary":"Attackers can cause denial of service via ReDOS in the figure caption extension when processing malicious user content.","url":"https://insights.sbomify.com/CVE-2025-68142/"}