CVE-2026-101929: Type confusion when loading protected Basic libraries
LibreOffice documents can contain Basic macro libraries. A library protected by a password is stored in the document in a compiled form, which may be read when the document is loaded. When a value in the compiled form used an older record format, it could be read as a different type from the one the existing value held, which corrupted memory. In fixed versions the existing value is cleared before a value in the older format is read.
Affected Software
Event History
Frequently Asked Questions
What must an attacker provide to trigger the issue?
The attacker would need to provide a LibreOffice document containing a password-protected Basic macro library whose compiled data includes a value encoded in the older record format.
When in the document-handling workflow can this occur?
The vulnerable parsing occurs when LibreOffice loads the document and reads the compiled form of a password-protected Basic library. The description does not state that macro execution is required.
How can I identify potentially affected documents?
Inspect documents for password-protected Basic macro libraries stored in compiled form, particularly where compiled values may use an older record format. The provided information does not identify specific file extensions or a reliable indicator for the older format.