CVE-2026-140095: python-semver · ReDoS
Affects python-semverSource CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 3.1.3 soon.
Data as of 30 Nov 2026, 22:32 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 8.7 |
|---|
- Patch
- Available – fixed in 3.1.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade python-semver to 3.1.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| python-semverpython-semver | Affected
| Fixed in
|
AI-suggested
Upgrade python-semver to version 3.1.3 or later, where this inefficient regular expression complexity issue is fixed. No other mitigations are indicated or required.
Description
A high-severity vulnerability (CVE-2026-140095) in python-semver prior to version 3.1.3 allows denial of service via inefficient regular expression complexity. The semver.Version.parse method accepted arbitrarily long alphabetic build identifiers that triggered super-quadratic backtracking in the regex when no digit was present, enabling an attacker to monopolize the Python process. This issue is fixed in version 3.1.3.