filelock: Crafted lock database delays free ReadWriteLock acquisition
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| pip:filelock | < 4.3.0 | 4.3.0 |
If another local account can create or modify a SQLite lock database, loading its schema can consume CPU past the acquisition timeout even when the lock is free. Both ReadWriteLock and AsyncReadWriteLock load the schema. Tests confirmed a finite timeout overrun. Affected versions and mitigation Confirmed affected: = 4.2.12. Upgrade to 4.3.0. The SQLite backend now applies tighter schema limits and checks progress more often. An existing database above those limits can raise ValueError. Use a de…
Read on GitHub Advisory Database
On 12/05/2026, 06:42 AM, GitHub Advisory Database published "filelock: Crafted lock database delays free ReadWriteLock acquisition" (type: Advisory). Severity is "Low" (low). Related technologies: Python, SQLite. CVE: CVE-2026-144336.