Description
libffi requests an executable stack allowing attackers to more easily trigger arbitrary code execution by overwriting the stack. Please note that libffi is used by a number of other libraries. It was previously stated that this affects libffi version 3.2.1 but this appears to be incorrect. libffi prior to version 3.1 on 32 bit x86 systems was vulnerable, and upstream is believed to have fixed this issue in version 3.1.
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 | libffi | 3.2.1-4 | — |
| Debian 13 | libffi | 3.2.1-4 | — |
| Debian 12 | libffi | 3.2.1-4 | — |
| Debian 8 | libffi | 3.1-2+deb8u1 | DSA-3889-1 |
| Debian 7 | libffi | 3.0.10-3+deb7u1 | DLA-997-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | libffi | 3.1~rc1+r3.0.13-12ubuntu0.2 | USN-3454-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | gcc43 | 4.3.4_20091019-37.3.1 | SUSE-SU-2018:0300-1 |
| SLES 11 SP3 | gcc43 | 4.3.4_20091019-37.3.1 | SUSE-SU-2018:0300-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 11 SP4 | gcc43 | 4.3.4_20091019-37.3.1 | SUSE-SU-2018:0300-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | gcc43 | 4.3.4_20091019-37.3.1 | SUSE-SU-2018:0300-1 |
Advisories 4
- USN-3454-1 libffi vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-997-1 libffi - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3889-1 libffi - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:0300-1 Security update for gcc43 SUSE / openSUSE Security Updates · Feb 4, 2026