LibreOffice documents can contain Basic macro libraries that, when protected by a password, are stored in a compiled form. A vulnerability exists where older record formats in the compiled form can be misinterpreted, leading to memory corruption. This issue is addressed in fixed versions by clearing the existing value before reading the older format value.