Skip to main content
Mallory
← Back to News
privilege-escalation-techniqueproof-of-concept-releaseprivilege-escalation-methodendpoint-software-vulnerability

OpenBSD Root Exploit Chains 37-Year-Old Shared-Memory Bug With Kernel Use-After-Free

Attack Tradecraft · 11 sources · Updated 30d ago · First seen Oct 16, 2026

OpenBSD Root Exploit Chains 37-Year-Old Shared-Memory Bug With Kernel Use-After-Free

Calif researchers released a proof-of-concept local privilege-escalation exploit that gains root on OpenBSD 7.9 by chaining two kernel vulnerabilities. The chain combines an approximately 37-year-old signed shared-memory attachment counter overflow with a separate reference-counting use-after-free, using a race condition and conditional out-of-bounds write to achieve kernel code execution. It works with KARL kernel-address randomization and SMAP/SMEP protections enabled, without requiring a separate information-disclosure vulnerability.

OpenBSD fixed the overflow in Errata 018 on September 14 and the use-after-free in Errata 026 on September 30, before the technical analysis and full exploit were published on October 16. Patches are listed for all OpenBSD 7.9 architectures, with binary updates available through syspatch for amd64, i386 and arm64. Administrators should apply both fixes and reboot. Neither flaw had a CVE assigned, and the reports identified no evidence of exploitation in real-world attacks at publication.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · 1988 – Oct 16, 2026
  1. Oct 16, 20261mo ago

    Calif publishes OpenBSD root exploit and technical analysis

    Calif published a technical analysis and full proof-of-concept exploit chaining the patched kernel flaws to obtain root privileges on OpenBSD 7.9. The demonstration bypassed KARL, SMAP and SMEP without a separate information leak; the research reported no evidence of exploitation in real-world attacks.

    Researchers Demonstrate OpenBSD Root Exploit Chaining 37-Year-Old Shared-Memory Bug
  2. Sep 30, 20262mo ago

    OpenBSD releases Errata 026 to fix reference-counting use-after-free

    OpenBSD released Errata 026 as a security fix for the separate reference-counting use-after-free used in the exploit chain. Both fixes cover all OpenBSD 7.9 architectures, with binary updates available through syspatch on supported platforms.

    Researchers Demonstrate OpenBSD Root Exploit Chaining 37-Year-Old Shared-Memory Bug
  3. Sep 14, 20262mo ago

    OpenBSD releases Errata 018 to fix shared-memory integer overflow

    OpenBSD patched the integer overflow in the shared-memory attachment function shmat through Errata 018, classifying it as a reliability fix rather than a security fix. The correction also covered OpenBSD 7.8.

    Researchers Demonstrate OpenBSD Root Exploit Chaining 37-Year-Old Shared-Memory Bug
  4. 2026

    Calif discovers and reports OpenBSD kernel vulnerabilities

    Calif discovered and reported the vulnerabilities to OpenBSD before their subsequent patching and public disclosure.

    Researchers Demonstrate OpenBSD Root Exploit Chaining 37-Year-Old Shared-Memory Bug
  5. 1988

    BSD sources introduce the vulnerable shared-memory counter type

    Original BSD sources used a signed 16-bit shared-memory attachment counter, limiting its positive value to 32,767. OpenBSD later inherited this counter type without widening it.

    Researchers Demonstrate OpenBSD Root Exploit Chaining 37-Year-Old Shared-Memory Bug
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.