Type confusion 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. 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.

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

Weaknesses

  • CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
  • CWE-416 Use After Free

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.