Back to overview

CVE-2026-45785

MEDIUM
6.2
CVSS 3.1
Description
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.

Metadata

CVE ID
CVE-2026-45785
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-05-13 07:45 UTC
Published
2026-07-17 20:37 UTC
Last updated
2026-07-17 20:37 UTC
Primary CWE
CWE-835
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loo…
Vendor / Product
openmcdf / openmcdf
Sources
cve.org  ·  NVD

Severity & Metrics

6.2 MEDIUM CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products (1)
VendorProductPlatformVersions
openmcdf openmcdf < 3.1.4
Weakness (CWE)
CWESourceDescription
CWE-835 cna CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
CVSS scores (1)
ScoreSeverityVersionSourceVector
6.2 MEDIUM 3.1 cna CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References (3)
Back to overview