filelock 4.3.0 Patched Low-Severity Infinite Loop Flaw

The Python filelock library released version 4.3.0 to fix CVE-2026-144387, a low-severity vulnerability allowing local attackers to cause denial of service via an infinite loop in SoftReadWriteLock. The flaw, classified as CWE-835, affected versions prior to 4.3.0 and was patched following a report by OSS Scanner.
Key points
- CVE-2026-144387 affects filelock versions prior to 4.3.0, with the confirmed vulnerable version being 4.2.12.
- The vulnerability is rated 3.3 (Low) on the CVSS 3.1 scale, impacting only availability with no confidentiality or integrity risks.
- The flaw stems from an infinite loop in the GenerationLog._probe() function, which could keep write acquisition scanning beyond its timeout.
- An attacker with write access to the SoftReadWriteLock generation directory could consume CPU resources by adding records to the shared lock tree.
- The fix, released in version 4.3.0 on November 22, 2026, bounds generation scans to two retained windows to allow timeout checks to execute.
- The vulnerability was reported by OSS Scanner and fixed via pull request #981, merged by maintainer gaborbernat on November 20, 2026.
Background
This disclosure follows a series of recent low-to-medium severity patches in open-source and enterprise software, including fixes for Erlang OTP heap overruns and Hitachi RV3000 file permission flaws. The filelock vulnerability is classified as CWE-835, a loop with an unreachable exit condition, which MITRE last updated in October 2026. Unlike the high-severity Hitachi flaw, this issue requires local privileges and does not allow arbitrary code execution or data theft.
Why it matters
While rated low severity, infinite loop vulnerabilities in foundational libraries like filelock can disrupt critical Python applications that rely on file locking for data integrity. The fix ensures that timeout mechanisms function correctly, preventing denial-of-service attacks from local users with write access to lock directories.
What to watch
Users of filelock should upgrade to version 4.3.0 or later to mitigate CVE-2026-144387. As a workaround, administrators can restrict write access to the lock's generation directory and its parent to trusted participants. A related follow-up pull request, #1091, has also been merged to address performance issues in release retry behavior.
Want the full story? Read the original reporting
Read on CVEs | Zero Wire | Cloudflare Radar