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.
CVSS
No CVSS.
References
Configurations
No configuration.
History
30 Nov 2026, 23:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-30 23:17
Updated : 2026-11-30 23:17
NVD link : CVE-2026-140095
Mitre link : CVE-2026-140095
CVE.ORG link : CVE-2026-140095
JSON object : View
Products Affected
No product.
CWE
CWE-1333
Inefficient Regular Expression Complexity
