{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-8357",
        "assignerOrgId": "4fe7d05b-1353-44cc-8b7a-1e416936dff2",
        "state": "PUBLISHED",
        "assignerShortName": "Document Fdn.",
        "dateReserved": "2026-05-11T18:55:27.138Z",
        "datePublished": "2026-06-15T16:23:37.518Z",
        "dateUpdated": "2026-07-28T12:04:37.638Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "4fe7d05b-1353-44cc-8b7a-1e416936dff2",
                "shortName": "Document Fdn.",
                "dateUpdated": "2026-06-15T16:23:37.518Z"
            },
            "title": "Heap buffer overflow in Calc formula compilation",
            "datePublic": "2026-06-15T00:00:00.000Z",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-787",
                            "description": "CWE-787 Out-of-bounds Write",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-193",
                            "description": "CWE-193 Off-by-one Error",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-44",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-44 Overflow Binary Resource File"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "The Document Foundation",
                    "product": "LibreOffice",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "26.2",
                            "lessThan": "< 26.2.4",
                            "versionType": "26.2 series"
                        }
                    ],
                    "defaultStatus": "unknown"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>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.</p>"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://www.libreoffice.org/about-us/security/advisories/cve-2026-8357"
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV4_0": {
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "LOW",
                        "subConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "LOW",
                        "subIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "HIGH",
                        "subAvailabilityImpact": "NONE",
                        "exploitMaturity": "PROOF_OF_CONCEPT",
                        "Safety": "NOT_DEFINED",
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "valueDensity": "NOT_DEFINED",
                        "vulnerabilityResponseEffort": "NOT_DEFINED",
                        "providerUrgency": "NOT_DEFINED",
                        "version": "4.0",
                        "baseSeverity": "MEDIUM",
                        "baseScore": 5.4,
                        "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P"
                    }
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Anthropic (automated discovery using Claude)",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Arthur Chan of Ada Logics (validation and reporting)",
                    "type": "analyst"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "x_generator": {
                "engine": "Vulnogram 1.0.2"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-06-15T18:03:49.986573Z",
                                "id": "CVE-2026-8357",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-06-15T18:03:57.153Z"
                }
            },
            {
                "affected": [
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/o:redhat:rhel_els:7"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1:5.3.6.1-28.el7_9",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:enterprise_linux:8"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 8",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1:6.4.7.2-21.el8_10",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:rhel_aus:8.4"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1:6.4.7.2-18.el8_4.2",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:rhel_eus_long_life:8.4"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1:6.4.7.2-18.el8_4.2",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:rhel_aus:8.6"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1:6.4.7.2-18.el8_6.2",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:rhel_eus_long_life:8.6"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1:6.4.7.2-18.el8_6.2",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:rhel_tus:8.8"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1:6.4.7.2-18.el8_8.2",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:rhel_e4s:8.8"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1:6.4.7.2-18.el8_8.2",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:enterprise_linux:9"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 9",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1:7.1.8.1-15.el9_8.2",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:rhel_e4s:9.2"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1:7.1.8.1-14.el9_2.2",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:rhel_e4s:9.4"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1:7.1.8.1-15.el9_4.2",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:rhel_eus:9.6"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 9.6 Extended Update Support",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1:7.1.8.1-15.el9_6.2",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/o:redhat:enterprise_linux:6"
                        ],
                        "defaultStatus": "unknown",
                        "packageName": "libreoffice",
                        "product": "Red Hat Enterprise Linux 6",
                        "vendor": "Red Hat"
                    }
                ],
                "datePublic": "2026-06-15T16:23:37.518Z",
                "descriptions": [
                    {
                        "lang": "en",
                        "value": "A vulnerability has been identified in LibreOffice Calc. An application crash may occur if a user opens a malicious spreadsheet that contains excessively long formulas. Successful exploitation of this vulnerability could result in a denial of service or potentially lead to arbitrary code execution."
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "content": {
                                "namespace": "https://access.redhat.com/security/updates/classification/",
                                "value": "Important"
                            },
                            "type": "Red Hat severity rating"
                        }
                    },
                    {
                        "cvssV3_1": {
                            "attackComplexity": "LOW",
                            "attackVector": "LOCAL",
                            "availabilityImpact": "HIGH",
                            "baseScore": 7.8,
                            "baseSeverity": "HIGH",
                            "confidentialityImpact": "HIGH",
                            "integrityImpact": "HIGH",
                            "privilegesRequired": "NONE",
                            "scope": "UNCHANGED",
                            "userInteraction": "REQUIRED",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                            "version": "3.1"
                        },
                        "format": "CVSS"
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "cweId": "CWE-131",
                                "description": "Incorrect Calculation of Buffer Size",
                                "lang": "en",
                                "type": "CWE"
                            }
                        ]
                    }
                ],
                "references": [
                    {
                        "tags": [
                            "vdb-entry",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/security/cve/CVE-2026-8357"
                    },
                    {
                        "name": "RHBZ#2488964",
                        "tags": [
                            "issue-tracking",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2488964"
                    },
                    {
                        "tags": [
                            "x_sadp-csaf-vex"
                        ],
                        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8357.json"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:46386"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:35839"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:46387"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:43461"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:43460"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:43423"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:43424"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:43425"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:36832"
                    }
                ],
                "solutions": [
                    {
                        "lang": "en",
                        "value": "RHSA-2026:46386: Red Hat Enterprise Linux Server Optional (v. 7 ELS)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:35839: Red Hat Enterprise Linux AppStream (v. 8), Red Hat Enterprise Linux CRB (v. 8)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:46387: Red Hat Enterprise Linux AppStream AUS (v.8.4), Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:43461: Red Hat Enterprise Linux AppStream AUS (v.8.6), Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:43460: Red Hat Enterprise Linux AppStream E4S (v.8.8), Red Hat Enterprise Linux AppStream TUS (v.8.8)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:43423: Red Hat Enterprise Linux AppStream E4S (v.9.2)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:43424: Red Hat Enterprise Linux AppStream E4S (v.9.4)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:43425: Red Hat CodeReady Linux Builder EUS (v.9.6), Red Hat Enterprise Linux AppStream EUS (v.9.6)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:36832: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)"
                    }
                ],
                "timeline": [
                    {
                        "lang": "en",
                        "time": "2026-06-15T18:01:23.824Z",
                        "value": "Reported to Red Hat."
                    },
                    {
                        "lang": "en",
                        "time": "2026-06-15T16:23:37.518Z",
                        "value": "Made public."
                    }
                ],
                "title": "libreoffice: LibreOffice Calc: Arbitrary code execution via heap buffer overflow in formula compilation",
                "workarounds": [
                    {
                        "lang": "en",
                        "value": "Users should exercise caution when opening untrusted or suspicious spreadsheet documents."
                    }
                ],
                "x_adpType": "supplier",
                "x_generator": {
                    "engine": "sadp-cli 1.0.0"
                },
                "providerMetadata": {
                    "orgId": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
                    "shortName": "redhat-SADP",
                    "dateUpdated": "2026-07-28T12:04:37.638Z"
                }
            }
        ]
    }
}