Title: Proposal: build official Node.js binaries for glibc-based Linux using PIE, enables ASLR, helps prevent RCE · Issue #66951 · nodejs/node · GitHub
Open Graph Title: Proposal: build official Node.js binaries for glibc-based Linux using PIE, enables ASLR, helps prevent RCE · Issue #66951 · nodejs/node
X Title: Proposal: build official Node.js binaries for glibc-based Linux using PIE, enables ASLR, helps prevent RCE · Issue #66951 · nodejs/node
Description: What is the problem this feature will solve? Almost all operating systems enable Address Space Layout Randomisation (ASLR) to help prevent memory-related vulnerabilities from reaching a state where Remote Code Execution (RCE) is possible...
Open Graph Description: What is the problem this feature will solve? Almost all operating systems enable Address Space Layout Randomisation (ASLR) to help prevent memory-related vulnerabilities from reaching a state where...
X Description: What is the problem this feature will solve? Almost all operating systems enable Address Space Layout Randomisation (ASLR) to help prevent memory-related vulnerabilities from reaching a state where...
Opengraph URL: https://github.com/nodejs/node/issues/66951
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Proposal: build official Node.js binaries for glibc-based Linux using PIE, enables ASLR, helps prevent RCE","articleBody":"### What is the problem this feature will solve?\n\nAlmost all operating systems enable Address Space Layout Randomisation (ASLR) to help prevent memory-related vulnerabilities from reaching a state where Remote Code Execution (RCE) is possible.\n\nTo take full advantage of this protection, an executable must be compiled as a Position Independent Executable (PIE).\n\nThe current state of PIE in Node.js is as follows:\n\n- ✅ macOS - PIE since 2020 via https://github.com/nodejs/node/pull/35704\n\n- ⏳ Windows - PIE via `/DYNAMICBASE` being proposed at https://github.com/nodejs/node/issues/64212\n\n- ✅ Linux using musl libc - PIE is compiler default for all executables\n \n- ✅ Linux using glibc where `node` binary is compiled and provided by OS package manager - PIE is default for almost all OS-level package repositories\n\n- ❌ Linux using glibc where `node` binary is provided by Node.js - Not PIE\n\n\n### What is the feature you are proposing to solve the problem?\n\nA [previous discussion from May 2020](https://github.com/nodejs/node/issues/33425) rejected use of PIE on Linux due to a expected performance penalty of 5-10% and, at that point in time, little evidence of RCE within the Node.js ecosystem.\n\nGiven many organisations already quite happily use Node.js with PIE/ASLR, be that on macOS, via Alpine Linux based containers or OS-provided packages, is it time to revisit this discussion for those left behind?\n\nThe performance impact of PIE is negligible on 64-bit ARM CPUs, which have seen increasing adoption since 2020 e.g. AWS Graviton.\n\nDo the security benefits of PIE now outweigh the performance cost for those still running glibc-based Linux on x64 architecture CPUs?\n\nBy way of a recent example, had this change already been in place then it's likely [CVE-2026-111497](https://github.com/advisories/GHSA-9v8h-qqgm-4m35) would have been rated \"High\" rather than \"Critical\" severity.\n\n\n### What alternatives have you considered?\n\nIf there's still a desire to provide official binaries for a subset of platforms without PIE then perhaps offering a security-hardened alternative with PIE might help raise awareness.","author":{"url":"https://github.com/lovell","@type":"Person","name":"lovell"},"datePublished":"2026-10-23T10:30:28Z","url":"https://github.com/nodejs/node/issues/66951"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2ba3b9ba-3b14-883a-8e47-44feb2e11ec7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC9E:BC30A:10AE1A7:16F1F5B:6AFBFB8D |
| html-safe-nonce | 7db849a0489f2ce9defbe69e9c4796c92ac6d57d074ba1c711177060c8346a16 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzlFOkJDMzBBOjEwQUUxQTc6MTZGMUY1Qjo2QUZCRkI4RCIsInZpc2l0b3JfaWQiOiI0NTQyMTkzODE0NDQ1MjI2ODkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 596887f848b698e3ccab245f3821bf72b035579d7a4c35a79b6df05c7ab3af68 |
| hovercard-subject-tag | issue:5996161414 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/66951/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b6f3f3a25c94fecfec6adfa5d238a45ef2ad1e4f3825a08fa89e9b558da491d/nodejs/node/issues/66951 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b6f3f3a25c94fecfec6adfa5d238a45ef2ad1e4f3825a08fa89e9b558da491d/nodejs/node/issues/66951 |
| og:image:alt | What is the problem this feature will solve? Almost all operating systems enable Address Space Layout Randomisation (ASLR) to help prevent memory-related vulnerabilities from reaching a state where... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lovell |
| hostname | github.com |
| expected-hostname | github.com |
| None | fa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b3b5633a74535d9c23385512d534c66c8fde1907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width