CVE-2026-96280
Public on 2026-09-24
Modified on 2026-09-24
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. An attacker controlling an OCI registry can craft a delta stream that triggers this during flatpak install or flatpak update, potentially achieving code execution in the Flatpak client process.
On 64-bit systems, gsize and guint64 are the same width, so the truncation does not occur and the issue is not practically exploitable.
On 64-bit systems, gsize and guint64 are the same width, so the truncation does not occur and the issue is not practically exploitable.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2 - Core | flatpak | Not Affected | ||
| Amazon Linux 2023 | flatpak | Not Affected | ||
| Amazon Linux 2027 Preview | flatpak | Not Affected | ||
| Amazon Linux 2023 | flatpak-builder | Not Affected | ||
| Amazon Linux 2027 Preview | flatpak-builder | Not Affected |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |