CVE-2026-115943 (GCVE-0-2026-115943)

Vulnerability from cvelistv5 – Published: 2026-10-29 21:37 – Updated: 2026-10-30 18:27
VLAI
Title
Spreadsheet::XLSX versions before 0.19 for Perl allow code execution via string eval of number format conditions in ExcelFmt
Summary
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
No CVSS data available.
CWE
  • CWE-95 - Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Assigner
CPANSec CNA under the redhat root
CNA scorecard C 62/100 over 346 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Affected: 0 , < 0.19 (custom)
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2026-10-30T02:08:11.510Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "http://www.openwall.com/lists/oss-security/2026/10/30/3"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://cpan.org/modules",
          "defaultStatus": "unaffected",
          "modules": [
            "Spreadsheet::XLSX"
          ],
          "packageName": "Spreadsheet-XLSX",
          "packageURL": "pkg:cpan/Spreadsheet-XLSX",
          "programFiles": [
            "lib/Spreadsheet/XLSX/Utility2007.pm"
          ],
          "programRoutines": [
            {
              "name": "Spreadsheet::XLSX::Utility2007::ExcelFmt"
            }
          ],
          "repo": "https://github.com/asb-capfan/Spreadsheet-XLSX",
          "versions": [
            {
              "lessThan": "0.19",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "Allen Bertoldo"
        }
      ],
      "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 [\u003e100], 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-\u003enew parses it.\n\nAn attacker who supplies an XLSX file can run arbitrary Perl code."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-95",
              "description": "CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T18:27:48.508Z",
        "orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "shortName": "CPANSec"
      },
      "references": [
        {
          "tags": [
            "release-notes"
          ],
          "url": "https://metacpan.org/release/ASB/Spreadsheet-XLSX-0.19/changes"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "Upgrade to Spreadsheet-XLSX 0.19 or later."
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "Spreadsheet::XLSX versions before 0.19 for Perl allow code execution via string eval of number format conditions in ExcelFmt",
      "x_generator": {
        "engine": "cpansec-cna-tool 0.1"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
    "assignerShortName": "CPANSec",
    "cveId": "CVE-2026-115943",
    "datePublished": "2026-10-29T21:37:40.697Z",
    "dateReserved": "2026-10-23T21:59:48.535Z",
    "dateUpdated": "2026-10-30T18:27:48.508Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-115943",
      "date": "2026-11-01",
      "epss": "0.00254",
      "percentile": "0.16996"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://cpan.org/modules",
                "defaultStatus": "unaffected",
                "modules": [
                  "Spreadsheet::XLSX"
                ],
                "packageName": "Spreadsheet-XLSX",
                "packageURL": "pkg:cpan/Spreadsheet-XLSX",
                "programFiles": [
                  "lib/Spreadsheet/XLSX/Utility2007.pm"
                ],
                "programRoutines": [
                  {
                    "name": "Spreadsheet::XLSX::Utility2007::ExcelFmt"
                  }
                ],
                "repo": "https://github.com/asb-capfan/Spreadsheet-XLSX",
                "versions": [
                  {
                    "lessThan": "0.19",
                    "status": "affected",
                    "version": "0",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
          }
        ],
        "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 [\u003e100], 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-\u003enew parses it.\n\nAn attacker who supplies an XLSX file can run arbitrary Perl code."
          }
        ],
        "id": "CVE-2026-115943",
        "lastModified": "2026-10-30T19:39:14.897",
        "metrics": {},
        "published": "2026-10-29T22:17:00.767",
        "references": [
          {
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
            "url": "https://metacpan.org/release/ASB/Spreadsheet-XLSX-0.19/changes"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.openwall.com/lists/oss-security/2026/10/30/3"
          }
        ],
        "sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "vulnStatus": "Deferred",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-95"
              }
            ],
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "current_release_date": "2026-10-30T05:23:15+00:00",
      "cve": "CVE-2026-115943",
      "id": "CVE-2026-115943",
      "initial_release_date": "2026-10-29T21:37:40.697000+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "perl-spreadsheet-xlsx: Spreadsheet::XLSX: Arbitrary code execution via crafted number format conditions",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-115943.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.