CVE-2026-96280: Flatpak: flatpak: buffer overflow in oci delta stream path names on 32-bit systems

Published Sep 23, 2026
·
Updated

GHSA-jr92-2v97-wgvc (https://github.com/flatpak/flatpak/security/advisories/GHSA-jr92-2v97-wgvc)

Description: The OCI delta stream parser read sizes as guint64 but passed them to GLib I/O and allocation functions expecting gsize (32 bits on 32-bit systems). The silent truncation causes undersized allocations while subsequent operations use the original 64-bit size, leading to heap buffer overflows. On 64-bit systems, gsize and guint64 are the same width, so the truncation does not occur and the issue is not practically exploitable.

Mitigation: Only install applications from trusted OCI registries. Flatpak remotes using the default OSTree transport are not affected. Fixed in 1.18.1 (backports available for 1.16.x). Reported by @swick.

Other sources

The OCI delta stream parser read sizes as guint64 but passed them to GLib I/O and allocation functions expecting gsize (32 bits on 32-bit systems), causing undersized allocations while subsequent operations use the original 64-bit size, leading to heap buffer overflows. An attacker controlling an OCI registry can craft a delta stream that triggers this during flatpak install/update, potentially achieving code execution on 32-bit systems.

— MITRE

Affected Software

1 affected component
Flatpak Flatpak<1.18.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Flatpak to a version that resolves this vulnerability.

    Fixed in 1.18.1
  2. Compensating control

    Only install applications from trusted OCI registries.

Event History

Sep 23, 2026
Data Sourced
via Red Hat·02:02 PM
DescriptionSeverityAffected Software
Sep 27, 2026
CVE Published
via MITRE·08:19 PM
Data Sourced
via MITRE·08:19 PM
DescriptionWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are realistically affected?

The issue is practically exploitable on 32-bit systems, where gsize is 32 bits. On 64-bit systems, gsize and guint64 have the same width, so the truncation does not occur.

2

What must an attacker control to exploit this?

An attacker needs control of an OCI registry and must provide a crafted OCI delta stream. The vulnerable parsing occurs during a Flatpak install or update.

3

Are default Flatpak remotes affected?

No. Flatpak remotes using the default OSTree transport are not affected; the exposure is specific to OCI transport and its delta stream parser.

4

What can be done before a fix is deployed?

On 32-bit systems, only install applications from trusted OCI registries. Avoid untrusted OCI registries until an update is available.

5

Which versions contain fixes?

The issue is fixed in Flatpak 1.18.1, with backports available for the 1.16.x series.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203