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.
The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. Each generation scan now has a work limit so acquisition can check its deadline between scans. A scan already in progress can still delay the timeout. PR #981
Restrict write access to the lock's generation directory and its parent to trusted participants.
Reported by OSS Scanner (ANT-2026-9RZ0TW4O).
{
"cwe_ids": [
"CWE-835"
],
"github_reviewed": true,
"github_reviewed_at": "2026-12-04T22:40:47Z",
"nvd_published_at": "2026-12-03T19:17:34Z",
"severity": "LOW"
}