Skip to content
pkgseek
Back to CVE search

CVE-2026-140095

unknown

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.

First indexed 12/2/2026View on NVD

Advisory Facts

Markdown

CVE-2026-140095 is rated UNKNOWN, with 1 indexed affected package builds across 1 distributions.

Severity / Score
UNKNOWN
Affected builds
1
Affected distros
1
Distros with fixed_in
None recorded in sample
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2026-140095?locale=en

Distribution-aware status

1
Distributions
1
Package/release records
1
Vendor advisories
0
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

1 affected package/release combinations