CVE-2026-144387: filelock: SoftReadWriteLock timeout overrun on growing generation log
filelock is a platform-independent file lock for Python. Prior to 4.3.0, an account with write access to a SoftReadWriteLock generation directory can keep an acquisition scanning beyond its timeout and consume CPU. The overrun was confirmed during write acquisition. This issue is fixed in version 4.3.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.0
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs an account with write access to the SoftReadWriteLock generation directory. The issue affects write-lock acquisition when that directory can be manipulated by such an account.
What is the impact of a successful attack?
A crafted or growing generation log can cause lock acquisition to scan beyond its configured timeout and consume CPU. The reported impact is availability degradation; no confidentiality or integrity impact is stated.
Which versions are affected and what version fixes it?
Versions prior to filelock 4.3.0 are affected. Upgrade to version 4.3.0 to obtain the fix.