LibreOffice Calc compiles cell formulas when opening a spreadsheet. A heap buffer overflow existed when compiling a very long formula made up of many opening tokens. The array that tracks nesting depth was allocated one element too small for that worst case, so such a formula wrote one element past its end. In fixed versions the array is sized to hold the largest possible nesting.
A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | RedHat | libreoffice-1:6.4.7.2-21.el8_10 | * |
| Red Hat Enterprise Linux 9 | RedHat | libreoffice-1:7.1.8.1-15.el9_8.2 | * |
| Libreoffice | Ubuntu | jammy | * |
| Libreoffice | Ubuntu | noble | * |
| Libreoffice | Ubuntu | questing | * |
| Libreoffice | Ubuntu | resolute | * |
| Libreoffice | Ubuntu | upstream | * |