Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

CVE-2026-140095

python-semver is a Python package for working with Semantic Versioning ...

Overview

Published
30 Nov 2026
Modified
3 Dec 2026
High CVE
1 Registry packages
10 OS packages
4 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Am I affected?

Answer a few questions about your setup. Everything stays in your browser.

Turn on JavaScript to answer the questions.

Severity

8.7 · HIGH

CVSS 4.0 base score, scored by GitHub.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Vulnerable system confidentiality
None
Vulnerable system integrity
None
Vulnerable system availability
High
Subsequent system confidentiality
None
Subsequent system integrity
None
Subsequent system availability
None

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Weakness: CWE-1333

Affected packages · 1

Packages affected by CVE-2026-140095
EcosystemPackageVulnerableFixed in
PyPI semver <3.1.3 3.1.3

Open a package to see all its vulnerabilities.

Operating systems · 15 fixes

chainguard 1 release · 9 packages

fixed 9
litellm flagsmith-fips flagsmith redash localstack prometheus-prefect-exporter +3
chainguard fixes for CVE-2026-140095
ReleasePackageFixed in
litellm 1.112.1-r0
flagsmith-fips 2.296.0-r1
flagsmith 2.296.0-r2
redash 26.9.0-r3
localstack 4.14.0-r41
prometheus-prefect-exporter 4.2.0-r1

3 more rows

debian 4 releases · 1 package

affected 4
python-semver
debian fixes for CVE-2026-140095
ReleasePackageFixed in
11 python-semver affected
12 python-semver affected
13 python-semver affected
14 python-semver affected

echo 1 release · 1 package

affected 1
python-semver
echo fixes for CVE-2026-140095
ReleasePackageFixed in
python-semver affected

wolfi 1 release · 1 package

fixed 1
datadog-agent-7-80
wolfi fixes for CVE-2026-140095
ReleasePackageFixed in
datadog-agent-7-80 7.80.4-r33

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Powered by Read the latest findings
Frame 2085668530
Group 1261154229