CVE-2026-96280
7.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|
Weaknesses
- CWE-197: Numeric Truncation Error
Workarounds
Only install applications from trusted OCI registries. Flatpak remotes using the default OSTree transport are not affected.
References
- https://access.redhat.com/security/cve/CVE-2026-96280
- https://bugzilla.redhat.com/show_bug.cgi?id=2539419
- https://github.com/flatpak/flatpak/security/advisories/GHSA-jr92-2v97-wgvc
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.