Out-of-bounds write when loading protected Basic libraries

State
Published
Severity
5.4 Medium
Published
Nov 16, 2026
Updated
Nov 17, 2026
Reserved
Sep 28, 2026

Read the record on cve.org

Description

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.

ProductVersions
LibreOffice The Document Foundation26.2 to before < 26.2.7 Affected26.8 to before < 26.8.2 Affected

Weaknesses

  • CWE-787 Out-of-bounds Write
  • CWE-125 Out-of-bounds Read
  • CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.