GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bundled expat 2.6.4 (xlsxreader) is missing upstream security fixes · Issue #6025 · DFHack/dfhack

Bundled expat 2.6.4 (xlsxreader) is missing upstream security fixes #6025

New issue
Copy link
New issue
Copy link
Open
Open
Bundled expat 2.6.4 (xlsxreader) is missing upstream security fixes#6025
Copy link

Description

@UNILESS
UNILESS
opened on Oct 26, 2026
Issue body actions

Hi,

depends/libexpat points to DFHack/libexpat e3ea446, whose upstream base is libexpat 2691aff (expat 2.6.4, November 2024). The 53.16-r3 Linux release ships this code in hack/plugins/xlsxreader.plug.so, which reports "expat_2.6.4". The submodule on develop is the same.

xlsxreader opens .xlsx files through xlsxio, which feeds the sheet XML to expat with XML_ParseBuffer, so expat parses whatever spreadsheet a user loads, for example a quickfort blueprint downloaded from elsewhere.

expat releases since 2.6.4 fix issues that a crafted document can reach on this path, including:

  • CVE-2024-8176, stack overflow from chaining many entities (fixed in 2.7.0)
  • CVE-2025-59375, large memory allocations from a small document (2.7.2)
  • CVE-2026-41080, too little salt entropy in the hash flooding protection (2.8.0)
  • CVE-2026-45186, quadratic time in attribute name collision checks (2.8.1)
  • CVE-2026-66046, quadratic time in attribute CDATA lookups (2.8.4)
  • CVE-2026-93990, malformed UTF-16 accepted (2.8.5)

Later releases also add integer overflow checks for very large inputs. Updating depends/libexpat to expat 2.9.0 or later would pick all of these up. They are already public, and I have not tried to trigger any of them in DFHack.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.