CVE-2026-140095 python-semver - Denial of Service

python-semver < 3.1.3 contains a denial of service caused by super-quadratic regex backtracking in Version.parse with long alphabetic BUILD_IDENTIFIER, letting attackers monopolize the Python process, exploit requires crafted version string.

CVSS base score 8.7 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
View the NVD record ↗

Details

Type
Denial of Service
Impact
Denial Of Service
CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
30 November 2026
Updated
1 December 2026
Weakness
CWE-1333

Vendor fix

Update to version 3.1.3 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs