The Document Foundation LibreOffice: повреждение памяти при загрузке защищённых библиотек макросов Basic
The Document Foundation LibreOffice
Кратко
LibreOffice может записывать данные за пределами выделенной памяти при загрузке защищённой паролем библиотеки макросов Basic, хранящейся в документе, поскольку скомпилированная форма библиотеки не проверяется перед чтением. Злоумышленник с локальным доступом может инициировать это без входа в систему, но пользователь должен сначала открыть документ.
Резюме сгенерировано ИИ по данным источников и переведено автоматически.
Исправление
Исправлено в версиях: < 26.2.7< 26.8.2
Затронутые версии
| LibreOffice | с 26.2 → исправлено в < 26.2.7 с 26.8 → исправлено в < 26.8.2 |
Оригинальное описание (EN)
Оригинальный заголовок: The Document Foundation LibreOffice memory corruption in protected Basic macro library loading
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.