macOS
brew install execstacklocal Homebrew formula metadata
brew
Utility to set/clear/query executable stack bit. Version 20130503 via Homebrew; verified 2026-07-03.
install
brew install execstacklocal Homebrew formula metadata
sudo dnf install execstackFedora Rawhide package metadata · execstack · source: dl.fedoraproject.org
sudo apt install execstackUbuntu 24.04 LTS package indexes · execstack · source: archive.ubuntu.com
sudo zypper install execstackopenSUSE Tumbleweed package metadata · execstack · source: download.opensuse.org
overview
Utility to set/clear/query executable stack bit
history
execstack is a small ELF hardening utility from the prelink project. It exists to query, set, or clear the executable-stack requirement recorded in ELF program headers.
The tool belongs to the early-2000s Linux transition away from assuming that process stacks were executable. Jakub Jelinek's 2003 binutils work introduced PT_GNU_STACK so compilers, assemblers, and linkers could describe whether an executable stack was needed; execstack provided a post-link command-line way to inspect and override that metadata.
The upstream prelink archive shows prelink tarballs beginning in 2001 and continuing through a 2013 snapshot. The execstack manual page was obtained from the prelink-20130503 tarball and dates the utility's documentation to October 2003.
execstack became a packaging and security-maintenance utility rather than a day-to-day application. It is most useful when a third-party ELF binary or shared object has incorrect PT_GNU_STACK markings and a packager needs to verify or clear them without rebuilding the original source.
The common workflow is intentionally narrow: run execstack -q to report whether files require an executable stack, execstack -c to mark known-safe objects as not requiring one, or execstack -s for the rare case where a binary really needs executable stack support.
Package maintainers care about execstack because it sits at the boundary between compiler metadata, linker policy, and runtime hardening. A single bad executable-stack bit can change security posture, so a tiny utility remains useful even after prelink itself stopped being fashionable.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
execstack | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://people.redhat.com/jakub/prelink/
install metadata
| Package key | brew:execstack |
|---|---|
| Version | 20130503 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/execstack |
| Homepage | https://people.redhat.com/jakub/prelink/ |
| Upstream docs | https://people.redhat.com/jakub/prelink |
| License | GPL-2.0-or-later |
| Source archive | https://people.redhat.com/jakub/prelink/prelink-20130503.tar.bz2 |
| Last updated | 2026-07-03T15:24:00-04:00 |
| Pulse | updated |
| Dependencies | elfutils |
| Bottle | available (on arm64_linux, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | execstack |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
execstack 0.0.20131005-1.1ubuntu1
ELF GNU_STACK program header editing utility
sudo apt install execstackexecstack 0.5.0-32.fc44
Utility to set/clear/query executable stack bit
sudo dnf install execstackexecstack 0.5.0-5.6
Utility to set/clear/query executable stack bit
https://github.com/keszybz/prelink/archive
sudo zypper install execstacksource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.