# GHSA-QG3H-XPFC-449F: Crafted lock database delays free ReadWriteLock acquisition

- Database: GitHub
- Severity: CVSS 3.3 (Low)
- Published: 2026-11-22
- Modified: 2026-12-03

## Tracked as

- [CVE-2026-144336](https://cve.now/CVE-2026-144336.md): filelock: Crafted lock database delays free ReadWriteLock acquisition

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

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 dedicated lock database in a directory writable only by trusted accounts. [Fix in PR #1035](https://github.com/tox-dev/filelock/pull/1035)

## Credits

OSS Scanner, `ANT-2026-DW94VV2H`.

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-qg3h-xpfc-449f

Page: https://cve.now/GHSA-QG3H-XPFC-449F

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
