AI Science Tracker

LibreOffice Calc formula compiler heap buffer overflow

LibreOffice · AI involvement attributed to Claude (model snapshot unspecified)

Finding and attribution

An unusually long formula could exceed the heap array tracking nested formula constructs by one element.

Product: LibreOffice. AI system: Claude (model snapshot unspecified). Team / organization: Anthropic.

CVE identifiers: CVE-2026-8357.

AI and human contribution (source account): LibreOffice’s primary project notice explicitly credits Anthropic automated analysis with Claude; Trail of Bits triaged and validated. The item CVD ANT-2026-XV1EVAMH identifies Claude Sonnet 4.6. Vendor announcement dated 2026-06-15 is the first dated public AI attribution.

Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.

Discovery context: Public disclosure is documented. Sources do not establish exploitation in the wild or zero-day status.

Remediation status: fix documented. Fixed in LibreOffice 26.2.4. Formula compilation allocates a FunctionStack sized to formula length; a 513-open-parenthesis formula causes nFunction to reach 513 and write past the last valid index. The CVD provides ASan evidence; the vendor confirms the defect and fix.

A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.

Disclosed 15 Jun 2026. AI attribution dated 15 Jun 2026. Sources checked 15 Nov 2026; these are separate dates, not a live installation check.

Recorded CVSS: High · highest recorded score 7.8. Documented technical effects: other.

Severity, consequences and exploitation evidence

Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.

CVE-2026-8357: other.
Prerequisites / affected scope: 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..
Exploitation evidence: The cited source does not state whether this issue was exploited in the wild.. Impact source · checked 16 Nov 2026.

Documented fix: Fixed in LibreOffice 26.2.4. Formula compilation allocates a FunctionStack sized to formula length; a 513-open-parenthesis formula causes nFunction to reach 513 and write past the last valid index. The CVD provides ASan evidence; the vendor confirms the defect and fix.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases