mlx-lm · filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout
Affects mlx-lmSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium : upgrade to 0.32.2_1 when convenient.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.32.2_1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade mlx-lm to 0.32.2_1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewmlx-lmpkg:brew/mlx-lmOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in filelock version 4.2.0 that addresses this issue. Users should upgrade to version 4.2.0 or later. Additionally, ensure that lock directories are sticky or otherwise protected so that untrusted local users cannot write or replace the lock database file. On Linux, kernel settings such as fs.protected_regular=2 can help prevent unauthorized file replacement in world-writable directories. Restrict permissions on lock directories and files to prevent untrusted users from creating or overwriting the lock database.
Description
The filelock library's ReadWriteLock and AsyncReadWriteLock use an SQLite-backed lock database that runs PRAGMA journal_mode=MEMORY on every acquire, causing SQLite to load the entire schema of the lock file. A local attacker who can place or overwrite the lock database file can craft a file that causes every acquire_read or acquire_write call to stall indefinitely or hang, ignoring timeouts and blocking flags. This results in a denial of service affecting availability only, with no confidentiality or integrity impact. The vulnerability affects filelock versions 3.20.4 through 4.2.0.
References
- github.com/tox-dev/filelock/security/advisories/GHSA-cwqr-hh33-gh44 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-112915 (opens in a new tab)
- github.com/tox-dev/filelock/pull/834 (opens in a new tab)
- github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d (opens in a new tab)
- github.com/tox-dev/filelock (opens in a new tab)
- github.com/tox-dev/filelock/releases/tag/4.2.1 (opens in a new tab)