Description
A weakness has been identified in xlnt-community xlnt up to 1.6.1. Impacted is the function xlnt::detail::decode_base64 of the file source/detail/cryptography/base64.cpp of the component Encrypted XLSX File Parser. Executing a manipulation can lead to off-by-one. The attack requires local access. The exploit has been made available to the public and could be used for attacks. This patch is called f2d7bf494e5c52706843cf7eb9892821bffb0734. Applying a patch is advised to resolve this issue.
Problem types
Product status
1.6.1
Timeline
| 2026-02-18: | Advisory disclosed |
| 2026-02-18: | VulDB entry created |
| 2026-02-18: | VulDB entry last update |
Credits
Oneafter (VulDB User)
References
vuldb.com/?id.346649 (VDB-346649 | xlnt-community xlnt Encrypted XLSX File base64.cpp decode_base64 off-by-one)
vuldb.com/?ctiid.346649 (VDB-346649 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/?submit.754377 (Submit #754377 | xlnt-community xlnt 5606f5b Heap-based Buffer Overflow)
github.com/xlnt-community/xlnt/issues/137
github.com/oneafter/0128/blob/main/xl1/repro
github.com/...ommit/f2d7bf494e5c52706843cf7eb9892821bffb0734
github.com/xlnt-community/xlnt/