Close Menu
NCIJ Network NCIJ Network
    What's Hot

    ‘Enclosed river:’ Women shellfish gatherers fight for access to mangroves in Brazil

    October 17, 2026

    French schoolchildren have been treated like violent criminals – for telling the truth | Rokhaya Diallo

    October 17, 2026

    Katie Zacharia Was Linked to an AI Rare-Earths Startup. It’s Even Weirder Than It Sounds

    October 17, 2026
    Facebook X (Twitter) Instagram
    Trending
    • ‘Enclosed river:’ Women shellfish gatherers fight for access to mangroves in Brazil
    • French schoolchildren have been treated like violent criminals – for telling the truth | Rokhaya Diallo
    • Katie Zacharia Was Linked to an AI Rare-Earths Startup. It’s Even Weirder Than It Sounds
    • Employees using personal ChatGPT at work? Here’s what IT admins need to do
    • Scientists discover a plastic-eating “Pac-Man” enzyme with a surprising secret
    • Sending Syrian Soldiers to Yemen Would Be a Mistake
    • Trial of German steakhouse heiress Christina Block that sparked a huge spy scandal
    • The Leap Second Is No More
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Saturday, October 17
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Cybersecurity

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

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKOctober 17, 2026 Cybersecurity No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Swati KhandelwalOct 16, 2026Vulnerability / OpenBSD

    A local privilege escalation exploit published today gains root on OpenBSD 7.9 by chaining a roughly 37-year-old integer overflow with a separate kernel flaw, bypassing OpenBSD’s KARL kernel-address randomization and its SMAP and SMEP hardware protections. Security firm Calif, which found and reported the flaws, published a detailed writeup and full proof-of-concept code after OpenBSD shipped patches for both issues in September.

    The integer overflow in the shmat(4) attach function was fixed in errata 018, shipped September 14 as a reliability fix. The reference-counting use-after-free that completes the chain was fixed separately in errata 026, shipped September 30 as a security fix.

    Both are available through syspatch and cover all architectures. OpenBSD 7.8 also received the integer-overflow fix.

    The integer overflow, the entry point for the full chain, is classified as a reliability fix, not a security fix.

    No CVE has been assigned for either flaw as of publication. There is no evidence that the vulnerabilities have been used in attacks.

    Cybersecurity

    The shared-memory attachment counter shm_nattch is defined as a signed 16-bit short with a maximum value of 32,767 in original BSD sources dating to 1988. OpenBSD inherited the type and never widened it.

    The exploit maps 127 shared-memory segments and forks 259 processes, pushing the counter past its maximum and wrapping it to −32,643. A race condition then triggers a use-after-free: the corrupted reference count causes the kernel to free memory that other processes still use.

    A separate out-of-bounds write overwrites multicast-membership counters in the kernel. When the affected socket closes, the resulting decrements modify page-table entries, switching a user-memory mapping to supervisor-accessible and bypassing SMAP and SMEP. The exploit then overwrites a function pointer at a predictable kernel address to run its own code.

    “While OpenBSD’s KARL relinks the kernel binary to randomize both function and data addresses, the kernel’s memory allocators remain deterministic,” researcher Andrew Griffiths wrote. Both the boot-time and best-fit allocators lack base-address randomization, so early-boot structures, including function pointers in the lo0 and enc0 network-interface handlers, land at the same addresses across reboots on the same hardware. The exploit needs no information-disclosure vulnerability.

    Beyond the two errata, Calif proposes four categories of hardening: safe-unlinking for kernel linked lists (already used by FreeBSD and NetBSD), randomization of the page-table self-referential mapping, kernel-allocator randomization, and compiler-based bounds checking.

    Calif said it reported the flaws to OpenBSD “earlier this year.” The proof-of-concept exploit code is available on GitHub.

    37YearOld Bug Chaining Demonstrate exploit OpenBSD researchers Root SharedMemory
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    Employees using personal ChatGPT at work? Here’s what IT admins need to do

    Biomemory Launches DNA Shield, Built on Its Molecular IT Platform

    Critical BlockStrap flaw lets hackers run code on Magento servers

    Fake Claude, ChatGPT Attacks Surge, Putting Developers at Risk

    BeyondTrust Zero-Day Continues Trend of Exploited Edge Bugs

    Proofpoint Inks $6.3 Billion All-Cash Deal to Acquire Varonis

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    ‘Enclosed river:’ Women shellfish gatherers fight for access to mangroves in Brazil

    October 17, 2026

    French schoolchildren have been treated like violent criminals – for telling the truth | Rokhaya Diallo

    October 17, 2026

    Katie Zacharia Was Linked to an AI Rare-Earths Startup. It’s Even Weirder Than It Sounds

    October 17, 2026

    Employees using personal ChatGPT at work? Here’s what IT admins need to do

    October 17, 2026
    Latest Posts

    Heard about the ‘luteal uglies’? Women know more about our hormones than ever – and that’s beautiful | Rhiannon Lucy Cosslett

    August 12, 2026

    On fragile Sumatran peatland, a farmer fights to bring back lost mangroves

    August 12, 2026

    Too many choices complicate female frogs’ sex lives

    August 12, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    ‘Enclosed river:’ Women shellfish gatherers fight for access to mangroves in Brazil

    October 17, 2026

    French schoolchildren have been treated like violent criminals – for telling the truth | Rokhaya Diallo

    October 17, 2026

    Katie Zacharia Was Linked to an AI Rare-Earths Startup. It’s Even Weirder Than It Sounds

    October 17, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.