Description
AFFLIB through 3.7.22 contains a heap out-of-bounds write vulnerability in af_get_page() that allows attackers to corrupt heap memory by supplying crafted AFF images with mismatched page and sector sizes. Attackers can set a page size larger than and not a multiple of the sector size, causing the sector zero-fill loop to write past the buffer and crash forensic tools.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sshock | AFFLIB | ≤ 3.7.22 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | afflib | No fix yet | — |
| Debian 13 | afflib | No fix yet | — |
| Debian 12 | afflib | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | afflib | No fix yet | — |
| Ubuntu 26.04 LTS | afflib | No fix yet | — |
| Ubuntu 24.04 LTS | afflib | No fix yet | — |
| Ubuntu 22.04 LTS | afflib | No fix yet | — |
| Ubuntu 20.04 LTS | afflib | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | afflib | No fix yet | — |
| Ubuntu Pro 16.04 LTS | afflib | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | afflib | 3.7.23-1.1 | openSUSE-SU-2026:12395-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | afflib | 3.7.23-1 | — |
Advisories 1
- openSUSE-SU-2026:12395-1 afflib-devel-3.7.23-1.1 on GA media SUSE / openSUSE Security Updates · Nov 4, 2026
References
- https://github.com/sshock/AFFLIBv3/issues/61 issue-tracking
- https://github.com/sshock/AFFLIBv3/blob/v3.7.22/lib/afflib_pages.cpp#L309-L315 technical-description
- https://hackmd.io/@haindpwn/afflib-aff-get-page-sector-fill-oob-write third-party-advisory
- https://github.com/sshock/AFFLIBv3 product
- VulnCheck Advisory: AFFLIB through 3.7.22 Heap Out-of-Bounds Write in af_get_page third-party-advisory