CVE-2026-6045

LibreOffice can import EMF+ graphics, which may be embedded in documents. A heap buffer overflow existed when importing an EMF+ gradient brush. The number of gradient blend points was read from the file and used to compute an allocation size, but that multiplication could overflow, so a small buffer was allocated and then filled as if it were large, writing past its end. In fixed versions the blend-point count is checked against the data actually available before allocating.
CVSS

No CVSS.

Configurations

No configuration.

History

25 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) LibreOffice puede importar gráficos EMF+, los cuales pueden estar incrustados en documentos. Existía un desbordamiento de búfer en el montón al importar un pincel de degradado EMF+. El número de puntos de mezcla de degradado se leía del archivo y se usaba para calcular un tamaño de asignación, pero esa multiplicación podía desbordarse, por lo que se asignaba un búfer pequeño y luego se llenaba como si fuera grande, escribiendo más allá de su final. En versiones corregidas, el recuento de puntos de mezcla se verifica contra los datos realmente disponibles antes de asignar.

15 Jun 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-15 18:16

Updated : 2026-10-25 23:10


NVD link : CVE-2026-6045

Mitre link : CVE-2026-6045

CVE.ORG link : CVE-2026-6045


JSON object : View

Products Affected

No product.

CWE
CWE-190

Integer Overflow or Wraparound

CWE-787

Out-of-bounds Write