CVE-2026-49414

ASLR bypass for setuid executables via procctl(2)

Published Jun 27, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
The ELF image activator cleared per-process ASLR preference flags for setuid binaries after the code that computes the PIE base address, rather than before. As a result, a user-requested ASLR disable was still in effect at the point where the base address was chosen.

An unprivileged local user can disable ASLR for a setuid PIE binary by calling procctl(2) before execve(2). This makes exploitation of any separate memory corruption vulnerability in that binary significantly easier.

Analysis

AI-generated

Technical impact

The vulnerability arises from incorrect ordering of ASLR preference flag clearing in the ELF image activator for setuid PIE binaries. The code clears the per‑process ASLR flags after the PIE base address is computed instead of before. Consequently, a user‑requested ASLR disable remains active when the base address is chosen, allowing an unprivileged local user to invoke procctl(2) to turn off ASLR on a setuid binary before it executes.

Affected Systems

Affected systems are FreeBSD installations that include setuid PIE executables. The advisory does not list specific release numbers, so any FreeBSD version that still contains the unpatched code is vulnerable. Administrators should review the advisory and test the patch on their current releases.

Risk and Exploitability

The risk is high, reflected by a CVSS score of 7.8, even though the EPSS score is < 1%. The local user can disable ASLR and thereby reduce the difficulty of any subsequent memory‑corruption attack in the same binary. The vulnerability is classified CWE‑179 and is not currently listed in the CISA KEV catalog. The attack vector is local and requires no special privileges beyond the ability to use the procctl system call.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the FreeBSD patch from the official advisory to correct the ASLR flag ordering.
  • Upgrade that includes the fix if the current version cannot be patched directly.
  • Reduce the attack surface by removing unnecessary setuid PIE binaries or replacing them with non‑PIE alternatives, and restrict procctl usage through local security policy if possible.

Generated by OpenCVE AI on June 29, 2026 at 15:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Freebsd
Freebsd freebsd
Vendors & Products Freebsd
Freebsd freebsd
Type Values Removed Values Added
Description The ELF image activator cleared per-process ASLR preference flags for setuid binaries after the code that computes the PIE base address, rather than before. As a result, a user-requested ASLR disable was still in effect at the point where the base address was chosen. An unprivileged local user can disable ASLR for a setuid PIE binary by calling procctl(2) before execve(2). This makes exploitation of any separate memory corruption vulnerability in that binary significantly easier.
Title ASLR bypass for setuid executables via procctl(2)
Weaknesses CWE-179
References
Weaknesses
  • CWE-179

    Incorrect Behavior Order: Early Validation

Sources

Status
PUBLISHED
Assigner
freebsd
Published
Updated
Jun 29, 2026, 1:04 PM
Reserved
May 29, 2026, 8:24 PM
Status
Analyzed
Published
Jun 27, 2026, 10:16 AM
Modified
Jul 1, 2026, 2:04 PM