Answer in brief
CVE-2026-140095 records a High severity (CVSS 8.7) vulnerability in python-semver: super-quadratic ReDoS in _LAST_NUMBER via attacker-controlled version strings. The current sources do not mark it as known exploited. The current feed maps python-semver/python-semver (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 8.7. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps python-semver/python-semver (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| python-semver/python-semvergeneric | <3.1.3 | 3.1.3 |
Published upstream
Nov 30, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Nov 30, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Nov 30, 2026
python-semver is a Python package for working with Semantic Versioning. Prior to 3.1.3, semver.Version.parse accepted an arbitrarily long alphabetic BUILD_IDENTIFIER and bump_build passed it through _increment_string to Version._LAST_NUMBER in src/semver/version.py. The expression contained ambiguous repeated non-digit quantifiers around a required digit run, causing super-quadratic backtracking when no digit was present and allowing an attacker-controlled valid version string to monopolize the Python process and deny service. This issue is fixed in version 3.1.3.
Quoted source text, attributed separately from HOL analysis.