Article View: linux.debian.bugs.dist
Article #7113Bug#1156110: python-semver: CVE-2026-140095
From: 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
Technical Details
Message-ID:
<O5M0N-fuzC-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Salvatore Bonaccorso <carnil@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156110: python-semver: CVE-2026-140095
Date: Wed, 02 Dec 2026 07:30:01 +0100
Message-ID: <O5M0N-fuzC-3@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Dec 2 06:27:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1156110@bugs.debian.org
Original-Sender: Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, team+openstack@tracker.debian.org
X-Debian-Pr-Message: report 1156110
X-Debian-Pr-Package: src:python-semver
X-Debian-Pr-Keywords: security upstream
X-Debian-Pr-Source: python-semver
X-Gm-Message-State: APuU4Z8a5EYSPh7O70zmB2N4uKvdUE/bgn7Of1zLBY7hXCU/LnSRFGtc
jJqV+xdXaUlmTrpLjyxTI2Rc3qpG9Lab/9TWoSs2JG3o/UxFadY4TIMa3AhK9OXt
X-Gm-Gg: AZFdTZcRRvoOvxasZHDqIBnyxZp7fJPiZnIREfoO/33aH/j0DeUki61CLw2AW2dw1Ff
9ZcYNffddz9tuYRpgmJNS4CqV57VkUspDPPWm+kthrRbgmOsLC4Ljbioamcx7Qu967m3z+ZzIGu
5hhndBbbApglXvb2xe7+RtBmh78XL39hqqXEMHtTPnO+vo2q5gi2jumpLE8VVnLVfh95QUwI06p
pquEiloHNY38lJulbfnwQ6GDmRgn4FqPZP4c7DBUIGmnBxp/hdJgCCvTPDrr6FmVssMx+zZ6QtK
S8evFNX8u6FkmAlqM1qL8LT3K5BRwPFpommM64Mso6iKn6qIKpeEo69+4GB/e+/vvExNDbze7FN
9jiAqTFkQFJ920Cz437dDB2lRMjDSInn+hDwN+wTdooH1rkwy5Cd/1PoRcSpPjdvr6qz3PUqQhD
fn7Ashy6WXS/wD5xZRPP5uNtjsoqlesQt8e15pBBNb5sOsgeX3pYy1HqwT3IxUOUJ5xdv/TsvF0
7ZrZnK4Z634AH+nF9q77OBnkXAe9n5CE33NNKZLNBQjZn0DfkGPtE/4SptozAJGWebayVI6AbaO
6A==
X-Received: by 2002:a05:6512:ba6:b0:5c1:ac5a:52e6 with SMTP id 2adb3069b0e04-5c1bc865878mr11800942e87.24.1796192703393;
Tue, 01 Dec 2026 22:25:03 -0800 (PST)
Sender: robomod@news.nic.it
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006440
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 36
Organization: linux.* mail to news gateway
X-Original-Date: Wed, 2 Dec 2026 07:25:02 +0100
X-Original-Message-ID: <aw-5vnP4IyTgSBXh@lorien.valinor.li>
X-Original-Sender: Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>