{"id":"CVE-2026-112915","published":"2026-10-20T14:28:41Z","modified":"2026-10-20T15:25:38Z","title":"filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout","vendor":"tox-dev","product":"filelock","tier":"tail","description":{"text":"filelock is a platform-independent file lock for Python. From 3.20.4 until 4.2.1, ReadWriteLock can open a crafted SQLite lock database without bounding schema and query work, allowing another local user who can replace the database to make acquisition stall or hang; versions from 3.20.4 expose this on initial per-instance opening, and versions from 3.30.0 repeat the exposure on every acquisition. This issue is fixed in version 4.2.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00174,"percentile":0.04038,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-cwqr-hh33-gh44","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tox-dev/filelock/pull/834","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":4.7,"factors":[{"name":"EPSS percentile","points":0.81},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"tox-dev","affectedVersions":[{"vendor":"tox-dev","product":"filelock","versions":[">= 3.20.4, < 4.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-20T15:25:17.769823Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"filelock","vulnerableRanges":[">=3.20.4, <4.2.1"],"patched":["4.2.1"],"from":["GHSA-cwqr-hh33-gh44"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-105021","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tox-dev-filelock-cve-2026-112915","children":[{"from":"CVE-2026-112915","to":"CVE-2026-112936","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/filelock/_read_write.py","src/filelock/_windows.py"],"commits":["https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d","https://github.com/tox-dev/filelock/commit/4d45e83caf7e31f9a12fb44526bdc07f70114f04"],"basis":"shared function","functions":["__init__"]}]}]}}