CVE-2026-3664: Out-of-Bounds Read in xlnt-community xlnt
A vulnerability was determined in xlnt-community xlnt up to 1.6.1. Impacted is the function xlnt::detail::compound_document::read_directory of the file source/detail/cryptography/compound_document.cpp of the component Encrypted XLSX File Parser. Executing a manipulation can lead to out-of-bounds read. The attack is restricted to local execution. The exploit has been publicly disclosed and may be utilized. This patch is called 147. Applying a patch is advised to resolve this issue.
AI Analysis
Technical Summary
CVE-2026-3664 identifies a vulnerability in the xlnt-community xlnt library, a C++ library used for reading and writing XLSX spreadsheet files. The issue resides in the function xlnt::detail::compound_document::read_directory, located in the source/detail/cryptography/compound_document.cpp file, which handles parsing of encrypted XLSX files. Specifically, the vulnerability is an out-of-bounds read caused by improper bounds checking during directory reading operations within compound document structures. This flaw can be triggered by a local attacker who can supply manipulated XLSX files to the parser, causing it to read memory beyond the intended buffer limits. Although the attack vector is local execution with limited privileges, the out-of-bounds read could lead to information disclosure or application crashes, potentially affecting the stability or confidentiality of the application using the library. The vulnerability affects xlnt versions 1.6.0 and 1.6.1. The CVSS 4.0 vector indicates low attack complexity, no user interaction, and no privileges required beyond local access. The vulnerability has been publicly disclosed, and a patch (identified as patch 147) is available to fix the issue. No known exploits have been reported in the wild to date. Organizations relying on xlnt for XLSX file handling, especially in environments where local users may be untrusted or where XLSX files are processed from local sources, should apply the patch promptly to mitigate risk.
Potential Impact
The primary impact of CVE-2026-3664 is the potential for information disclosure or application instability due to out-of-bounds memory reads. While the vulnerability does not allow remote exploitation or privilege escalation, local attackers with limited privileges could exploit it to read unintended memory areas, possibly leaking sensitive information processed by the application. Additionally, the out-of-bounds read could cause application crashes or denial of service, affecting availability. For organizations, this could lead to compromised data confidentiality or disruption of services that rely on the xlnt library for XLSX file processing. The impact is more significant in environments where local users are untrusted or where XLSX files are processed automatically from local sources. Since the vulnerability is limited to local execution, remote systems are less directly at risk unless combined with other attack vectors. However, any application using vulnerable xlnt versions in multi-user or shared environments should consider the risk of insider threats or malware exploiting this flaw.
Mitigation Recommendations
To mitigate CVE-2026-3664, organizations should immediately apply the vendor-provided patch (patch 147) that addresses the out-of-bounds read in xlnt versions 1.6.0 and 1.6.1. Beyond patching, organizations should: 1) Restrict local access to systems running applications that use the xlnt library to trusted users only, minimizing the risk of local exploitation. 2) Implement strict input validation and sandboxing for XLSX files processed locally to prevent malformed or malicious files from triggering vulnerabilities. 3) Monitor application logs and system behavior for signs of crashes or abnormal memory access patterns that could indicate exploitation attempts. 4) Where possible, upgrade to later versions of xlnt that have incorporated security fixes and improvements. 5) Conduct regular security audits of software dependencies, especially libraries handling complex file formats like XLSX, to detect and remediate vulnerabilities promptly. 6) Educate developers and system administrators about the risks of local file parsing vulnerabilities and encourage secure coding and deployment practices.
Affected Countries
United States, Germany, Japan, United Kingdom, France, Canada, Australia, South Korea, Netherlands, Sweden
CVE-2026-3664: Out-of-Bounds Read in xlnt-community xlnt
Description
A vulnerability was determined in xlnt-community xlnt up to 1.6.1. Impacted is the function xlnt::detail::compound_document::read_directory of the file source/detail/cryptography/compound_document.cpp of the component Encrypted XLSX File Parser. Executing a manipulation can lead to out-of-bounds read. The attack is restricted to local execution. The exploit has been publicly disclosed and may be utilized. This patch is called 147. Applying a patch is advised to resolve this issue.
AI-Powered Analysis
Technical Analysis
CVE-2026-3664 identifies a vulnerability in the xlnt-community xlnt library, a C++ library used for reading and writing XLSX spreadsheet files. The issue resides in the function xlnt::detail::compound_document::read_directory, located in the source/detail/cryptography/compound_document.cpp file, which handles parsing of encrypted XLSX files. Specifically, the vulnerability is an out-of-bounds read caused by improper bounds checking during directory reading operations within compound document structures. This flaw can be triggered by a local attacker who can supply manipulated XLSX files to the parser, causing it to read memory beyond the intended buffer limits. Although the attack vector is local execution with limited privileges, the out-of-bounds read could lead to information disclosure or application crashes, potentially affecting the stability or confidentiality of the application using the library. The vulnerability affects xlnt versions 1.6.0 and 1.6.1. The CVSS 4.0 vector indicates low attack complexity, no user interaction, and no privileges required beyond local access. The vulnerability has been publicly disclosed, and a patch (identified as patch 147) is available to fix the issue. No known exploits have been reported in the wild to date. Organizations relying on xlnt for XLSX file handling, especially in environments where local users may be untrusted or where XLSX files are processed from local sources, should apply the patch promptly to mitigate risk.
Potential Impact
The primary impact of CVE-2026-3664 is the potential for information disclosure or application instability due to out-of-bounds memory reads. While the vulnerability does not allow remote exploitation or privilege escalation, local attackers with limited privileges could exploit it to read unintended memory areas, possibly leaking sensitive information processed by the application. Additionally, the out-of-bounds read could cause application crashes or denial of service, affecting availability. For organizations, this could lead to compromised data confidentiality or disruption of services that rely on the xlnt library for XLSX file processing. The impact is more significant in environments where local users are untrusted or where XLSX files are processed automatically from local sources. Since the vulnerability is limited to local execution, remote systems are less directly at risk unless combined with other attack vectors. However, any application using vulnerable xlnt versions in multi-user or shared environments should consider the risk of insider threats or malware exploiting this flaw.
Mitigation Recommendations
To mitigate CVE-2026-3664, organizations should immediately apply the vendor-provided patch (patch 147) that addresses the out-of-bounds read in xlnt versions 1.6.0 and 1.6.1. Beyond patching, organizations should: 1) Restrict local access to systems running applications that use the xlnt library to trusted users only, minimizing the risk of local exploitation. 2) Implement strict input validation and sandboxing for XLSX files processed locally to prevent malformed or malicious files from triggering vulnerabilities. 3) Monitor application logs and system behavior for signs of crashes or abnormal memory access patterns that could indicate exploitation attempts. 4) Where possible, upgrade to later versions of xlnt that have incorporated security fixes and improvements. 5) Conduct regular security audits of software dependencies, especially libraries handling complex file formats like XLSX, to detect and remediate vulnerabilities promptly. 6) Educate developers and system administrators about the risks of local file parsing vulnerabilities and encourage secure coding and deployment practices.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-03-06T20:34:45.441Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69ac3a2fc48b3f10ffa2ea03
Added to database: 3/7/2026, 2:46:07 PM
Last enriched: 3/7/2026, 3:00:22 PM
Last updated: 3/8/2026, 4:12:00 AM
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.