{"id":"CVE-2026-45785","published":"2026-07-17T20:37:23Z","modified":"2026-07-21T02:20:18Z","title":"OpenMcdf: Uncatchable infinite loop in DirectoryTree.TryGetDirectoryEntry on crafted CFB directory cycle","vendor":"openmcdf","product":"openmcdf","tier":"tail","description":{"text":"OpenMcdf is a fully .NET / C# library to manipulate Compound File Binary File Format files, also known as Structured Storage. In 3.1.3 and earlier, the BST name-lookup loop in DirectoryTree.TryGetDirectoryEntry (OpenMcdf/DirectoryTree.cs:35-46) walks directory entries by repeatedly calling directories.TryGetSibling(child, siblingType, validateColor). A crafted CFB file with cyclic Left/Right sibling links among directory entries, constructed so the per-step BST-order check in TryGetSibling (DirectoryEntries.cs:84-85) is satisfied at every step, drives this while (child is not null) loop forever. There is no cycle detection in TryGetDirectoryEntry, and the bug is reachable from RootStorage.OpenStorage(name), TryOpenStorage(name), OpenStream(name), and TryOpenStream(name), causing an unrecoverable denial of service. This issue is fixed in version 3.1.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00184,"percentile":0.04634,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/openmcdf/openmcdf/security/advisories/GHSA-5qwm-7pvp-w988","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openmcdf/openmcdf/commit/c6f82db722bd85db7b0caed3ca1aa374f1e07bc7","tags":["x_refsource_MISC"]},{"url":"https://github.com/openmcdf/openmcdf/releases/tag/v3.1.4","tags":["x_refsource_MISC"]}],"priority":{"score":5.3,"factors":[{"name":"EPSS percentile","points":0.93},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"openmcdf","affectedVersions":[{"vendor":"openmcdf","product":"openmcdf","versions":["< 3.1.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-21T02:19:43.343147Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"OpenMcdf","vulnerableRanges":["<3.1.4"],"patched":["3.1.4"],"from":["GHSA-5qwm-7pvp-w988"],"provenance":"source"}],"summary":{"text":"OpenMcdf, the .NET/C# library for Compound File Binary (Structured Storage) files, has an uncatchable infinite loop in the DirectoryTree.TryGetDirectoryEntry name-lookup routine, which walks directory entries via TryGetSibling without any cycle detection. An attacker who supplies a crafted CFB file with cyclic sibling links, reached through RootStorage.OpenStorage, TryOpenStorage, OpenStream, or TryOpenStream, can cause the process to hang indefinitely and suffer an unrecoverable denial of service, with no authentication or user interaction required beyond the application opening the file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:58Z"},"euvd":{"id":"EUVD-2026-45326","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-ironfede-openmcdf-cve-2026-41511","parents":[{"from":"CVE-2026-41511","to":"CVE-2026-45785","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:OpenMcdf","fromFixed":"3.1.3","toFixed":"3.1.4","daysApart":70},{"kind":"same-code","provenance":"machine","files":["OpenMcdf/DirectoryTreeEnumerator.cs"],"commits":["https://github.com/openmcdf/openmcdf/commit/24f445a557fc4f46461cf6d02d296cce16c293a0","https://github.com/openmcdf/openmcdf/commit/c6f82db722bd85db7b0caed3ca1aa374f1e07bc7"],"basis":"shared function","functions":["DirectoryTreeEnumerator","MoveNext","Reset"]}]}],"packageHistory":[{"cve":"CVE-2026-41511","published":"2026-05-08","fixed":"3.1.3","kev":false},{"cve":"CVE-2026-45785","published":"2026-07-17","fixed":"3.1.4","kev":false}],"package":"NuGet:OpenMcdf"}}