Skip to main content
CVE-2026-112915VulnerabilityPublished

mlx-lm · filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout

Affects mlx-lmSource GCVE Database

0
Compare
Authoritative record:CVE-2026-112915· Medium 5.5

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

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewmlx-lmpkg:brew/mlx-lmOther threatsAffected
  • >=0.30.7 <0.32.2_1
Fixed in
  • 0.32.2_1

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

Community reviews

Loading reviews…