Skip to main content
CVE-2026-112935VulnerabilityPublished

mlx-lm · filelock: SoftFileLock stale-lock break removes a live lock file on a reused inode number and admits two holders

Affects mlx-lmSource GCVE Database

0
Compare
Authoritative record:CVE-2026-112935· Medium 4.7

Not known to be exploited · CVSS 4.7 Medium : upgrade to 0.32.2_1 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
4.7Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.14.7
EPSS
0.1% chance of exploitation in 30 days – higher than 2% 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:H/PR:L/UI:N/S:U/C:N/I:H/A:N

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.31.0 <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.1 or later that addresses this issue. Users should upgrade to the fixed version to eliminate the vulnerability. Until patched, ensure that lock directories are not writable by untrusted local users or avoid using filelock on filesystems that reuse inode numbers immediately. Note that StrictSoftFileLock is not affected. No other mitigation is indicated by the vendor advisory.

Description

A vulnerability in the filelock library versions 3.22.0 through 4.2.0 allows a local unprivileged user to cause two processes of the lock user to hold the same lock simultaneously. This occurs due to a race condition in the stale-lock break mechanism that relies on inode numbers and modification times. On filesystems like ext4 and xfs that reuse inode numbers immediately after file deletion, an attacker can create and unlink files to manipulate lock markers, causing live lock files to be removed incorrectly. This results in a high integrity impact as concurrent holders can write protected data without detection, though confidentiality and availability are unaffected.

References

Community reviews

Loading reviews…