Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Salvatore Bonaccorso
Wed, 02 Dec 2026 06:30
Bug#1156110: python-semver: CVE-2026-140095
Author: Salvatore Bonaccorso
Date: Wed, 02 Dec 2026 06:30
Date: Wed, 02 Dec 2026 06:30
36 lines
4002 bytes
4002 bytes
Source: python-semver
Version: 3.0.2-1
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security upstream
Hi,
The following vulnerability was published for python-semver.
CVE-2026-140095[0]:
| 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.
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-140095
https://www.cve.org/CVERecord?id=CVE-2026-140095
[1] https://github.com/python-semver/python-semver/security/advisories/GHSA-3qgw-g8j9-rcg4
[2] https://github.com/python-semver/python-semver/commit/fbf1e8f21c050256579de9199e53b6807e49014a
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads