← Back to CVE Explorer

CVE-2026-115943

Full vulnerability record from the local CVENow database.

Description

Spreadsheet::XLSX versions before 0.19 for Perl allow code execution via string eval of number format conditions in ExcelFmt. When a number format has a condition such as [>100], ExcelFmt chooses the format section by passing the condition and the cell value to a string eval. Both come from the workbook, and the eval runs while Spreadsheet::XLSX->new parses it. An attacker who supplies an XLSX file can run arbitrary Perl code.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
9b29abf9-4ab0-4765-b253-1875cd9b441e
Published
2026-10-29 22:17:00.767000
Last modified
2026-10-30 02:17:08.467000
View original CVE JSON
{
  "id": "CVE-2026-115943",
  "sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
  "published": "2026-10-29T22:17:00.767",
  "lastModified": "2026-10-30T02:17:08.467",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Spreadsheet::XLSX versions before 0.19 for Perl allow code execution via string eval of number format conditions in ExcelFmt.\n\nWhen a number format has a condition such as [>100], ExcelFmt chooses the format section by passing the condition and the cell value to a string eval. Both come from the workbook, and the eval runs while Spreadsheet::XLSX->new parses it.\n\nAn attacker who supplies an XLSX file can run arbitrary Perl code."
    }
  ],
  "affected": [
    {
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "collectionURL": "https://cpan.org/modules",
          "packageName": "Spreadsheet-XLSX",
          "modules": [
            "Spreadsheet::XLSX"
          ],
          "programFiles": [
            "lib/Spreadsheet/XLSX/Utility2007.pm"
          ],
          "programRoutines": [
            {
              "name": "Spreadsheet::XLSX::Utility2007::ExcelFmt"
            }
          ],
          "repo": "https://github.com/asb-capfan/Spreadsheet-XLSX",
          "packageURL": "pkg:cpan/Spreadsheet-XLSX",
          "versions": [
            {
              "version": "0",
              "lessThan": "0.19",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "weaknesses": [
    {
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-95"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://metacpan.org/release/ASB/Spreadsheet-XLSX-0.19/changes",
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2026/10/30/3",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    }
  ]
}