CVE-2026-101933: Out-of-bounds write 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. An out-of-bounds write existed when the compiled form was read, because the positions of its strings were not checked against the size of the data they refer to, and a type found by name was not checked to be of the right kind. In fixed versions these positions are checked, a library that fails the check is not loaded, and a type of the wrong kind is ignored.
Affected Software
Event History
Frequently Asked Questions
What must an attacker provide to trigger the vulnerable code path?
The attacker must provide a LibreOffice document containing a password-protected Basic macro library with crafted compiled-library data. The issue is reached when LibreOffice loads that compiled form.
Are unprotected Basic macro libraries implicated?
The described vulnerable path concerns password-protected Basic libraries, because those are stored in compiled form and read during document loading. The provided information does not identify unprotected libraries as affected.
What behavior should be expected after applying a fixed version?
Fixed versions validate string positions against the referenced data size and refuse to load a library that fails those checks. They also ignore a type found by name when it is not of the expected kind.