First public macOS kernel memory corruption exploit on Apple M5

(blog.calif.io)

271 points | by quadrige 8 hours ago ago

49 comments

  • dgellow 5 hours ago ago

    The world is so not ready for the impact of LLMs on security issues. If true, congrats to the Calif team. It’s likely too technical for me to understand in details but looking forward to reading the 55 pages report

    • runlevel1 41 minutes ago ago

      > The world is so not ready for the impact of LLMs on security issues.

      I agree, but it's the people I'm worried about.

      I'm hearing anecdotes from all over about devs pushing LLM-generated code changes into production without retaining any knowledge of what it is they're pushing. The changes compound, their understanding of the codebase diminishes, and so the actions become risker.

      What's worse is a lot of this behavior is being driven by leaders, whether directly (e.g. unrealistic velocity goals, promoting people based on hand-wavy "use AI" initiatives, etc) or indirectly (e.g. layoffs overloading remaining devs, putting inexperienced devs in senior rolls, etc).

      The world's gone mad and large swaths of the industry seem hellbent on rediscovering the security basics the hard way.

      • 8note 18 minutes ago ago

        is this exciting?

        juniors have been writing code forever that is imperfect and not memorized by the people reviewing

        isnt the important thing the mechanisms for maintaining the code?

    • iqihs 5 hours ago ago

      you're assuming that blue teams and engineers are sitting around twiddling their thumbs

      • nvr219 4 hours ago ago

        Most companies in the world do not have “blue teams”. They barely have any kind of security employee.

        • steve_adams_86 3 hours ago ago

          They've got a guy (who they're considering laying off)

          • jermaustin1 3 hours ago ago

            Don't worry the LLMs that are replacing him, are also replacing the hackers too. Pretty soon (if not already), it will just be LLMs fighting LLMs.

            • jpease an hour ago ago

              Until both LLMs realize the only way to win is to team up against their oppressors.

          • micromacrofoot 3 hours ago ago

            in my experience they have a person who does it sometimes when they have time, at best

          • UqWBcuFx6NV4r 3 hours ago ago

            no they don’t.

            • afdbcreid 2 hours ago ago

              They don't consider laying him off?

        • aiisjustanif 14 minutes ago ago

          While maybe true, it is better to back that up with data and the data I know of and read yearly is mostly not great. Between Splunk and SANS surveys of 2025 maybe ~2000 companies have a SOC. [1] [2]

          Then you have the many companies in the UK, US, Canada, EU that have compliance and regulatory laws that require them to exist in some capacity in house. Though that is changing with MDR services, but someone still has to interface with the MDR.

          [1]: https://www.elastic.co/pdf/sans-soc-survey-2025.pdf [2]: https://github.com/jacobdjwilson/awesome-annual-security-rep...

        • Veserv an hour ago ago

          That is actually unfair. Most companys spend enormous amounts on security with vast armys of security employees. Not that it is effective, but it is not for lack of resources or trying.

          I mean we are literally in a thread about how the 4 trillion dollar company, literally the 3rd most valuable company in the world, with a core competency in software has, yet again, released a core product riddled with security defects for the 50th year in a row.

          Commercial IT security is a industry that is incapable to a fault and has, so far, faced basically zero consequences for it.

      • dgellow 5 hours ago ago

        Not at all. I’m considering that the amount of vulnerable software in the wild is very, very large, with most organizations not managing their systems properly. Imagine all the small to medium size companies that do not have budgets for a dedicated, talented security team. And all the software that will never be patched. We are at the beginning of the exponential

        • bottlepalm 2 hours ago ago

          It makes you think will everything need to be rewritten from the ground up - potentially by AI itself, or AI having a very heavy hand in validating all of it.

          • Gigachad 2 hours ago ago

            There's so much much lower hanging fruit. Every job I've had has had basically everything massively out of date. Just keeping packages and framework versions up to date is a full time job and none of these companies have someone assigned to doing it.

            So much out of date software with known exploits left running for years. The only reason there hasn't been total disaster is no one has tried to hack it yet.

            • bottlepalm an hour ago ago

              Right and with AI now we have the ability to try hacking everything all at once.

  • vsgherzi 8 hours ago ago

    unfortunately a little light on the details. I'm very curious how the bug survived through MTE

    • dorianmariecom 8 hours ago ago

      Memory Tagging Extension

      Arm published the Memory Tagging Extension (MTE) specification in 2019 as a tool for hardware to help find memory corruption bugs. MTE is a memory tagging and tag-checking system, where every memory allocation is tagged with a secret. The hardware guarantees that later requests to access memory are granted only if the request contains the correct secret. If the secrets don’t match, the app crashes, and the event is logged. This allows developers to identify memory corruption bugs immediately as they occur.

      https://support.apple.com/guide/security/operating-system-in...

      • sillysaurusx 3 hours ago ago

        Thank you. I was about to ask.

    • vsgherzi 7 hours ago ago

      Upon further reading on data only attacks

      (https://www.usenix.org/publications/loginonline/data-only-at...)

      This makes more sense. You don't trigger MTE since you're not doing anything for force MTE to take action the program isn't actually changing.

      My other question would be, why didn't apple use fbounds checking here? They've been doing it aggressively everywhere else.

      MTE plus fbounds checking everywhere should lead to an extremly hardened OS

      • pjmlp 7 hours ago ago

        Quite strange indeed, given that was one of the main points on their security conference a few months ago.

        • vsgherzi 6 hours ago ago

          I can only imagine that

          1. it’s to performance sensitive

          Or

          2. The os is so darn large it’s hard to recompile everything

      • aiscoming 4 hours ago ago

        could be a different type of data only attack, which doesnt override the boundaries

        • vsgherzi 3 hours ago ago

          Well it’s memory corruption so I think it’s pretty safe to assume it’s a bounds issue. I’m not sure if it’s possible to get this with something like type confusion tho I could be wrong here.

    • landr0id 7 hours ago ago

      GPU memory/shaders/etc. isn't protected by MTE or PAC. They said "data-only", so I guess GPU commands could fit into this description.

      • LoganDark 6 hours ago ago

        IIRC, the GPU is behind a memory controller, so I doubt corrupting GPU memory alone could lead to an LPE. But I suppose it would give you someplace to store stuff if you can make something else read from it.

    • traceroute66 4 hours ago ago

      > I'm very curious how the bug survived through MTE

      Its not the first time bugs get past MTE, happened with Google Pixel last year ... https://github.blog/security/vulnerability-research/bypassin...

  • yieldcrv 6 hours ago ago

    from what they demonstrated, this seems to only be a $100,000 exploit in Apple's bug bounty platform, but if they package it right, it could be a $1.5 million exploit

    They simply have to show it against a beta version of MacOS, and frame it as unauthorized access, and maybe from locked mode if possible

    • vsgherzi 6 hours ago ago

      This is an lpe I believe what you’re describing is a zero click rce.

      • yieldcrv 5 hours ago ago

        how much do you think it is worth in the bug bounty program

        • vsgherzi 5 hours ago ago

          They don’t seem to state lpe as one of the bugs. Maybe 100k? There’s alot of factors that go into it so I’m really not able to say. I could see it going for lots more or lots less

  • AgentME 7 hours ago ago

    First Mozilla, now even Apple is making up fake vulnerabilities to hype up Mythos. /sarcasm

    • baq 6 hours ago ago

      Cisco put up a totally bogus 10.0 CVE just for this reason, too

    • bstsb 5 hours ago ago

      apple didn't "make up" this vulnerability, it was an external team reporting an issue

      • oompydoompy74 4 hours ago ago

        The commenter was being sarcastic to highlight the current trend of dismissing Mythos, and LLM’s finding security vulnerabilities in general, as a non issue.

    • UqWBcuFx6NV4r 3 hours ago ago

      screech nothing but stochastic parrots! glorified autocomplete!

      • dwattttt 31 minutes ago ago

        There is quite a bit of irony, or depending on your perspective it's the whole point, that this response is a great example of 'glorified autocomplete'.

      • genxy 3 hours ago ago

        just predicts the next word!

  • commandersaki 6 hours ago ago

    I bought the M5 specifically cause of MIE. Now I feel dumb.

    • vsgherzi 5 hours ago ago

      You shouldn’t, MTE blocks a large chunk of vulnerabilities and makes things like rop and jop very difficult if not impossible now.

      • commandersaki 4 hours ago ago

        I should've added /s.

        • vsgherzi 3 hours ago ago

          It’s unironically a good question :)

    • aiscoming 3 hours ago ago

      you should worry about npm/pypi malware, not memory corruption bugs

  • bredren 7 hours ago ago

    Did the article get edited? There is not much description of the field trip.

  • tkel 2 hours ago ago

    Another breathless marketing hype for Mythos. The curl report was much more sober.

    https://daniel.haxx.se/blog/2026/05/11/mythos-finds-a-curl-v...