<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/claude-couldn-t-hack-openai-then-anthropic-shipped-opus-5--ipik6lkwp" -->

---
title: Claude couldn’t hack OpenAI. Then Anthropic shipped Opus 5.
description: Security researchers at Hacktron AI chained a heap buffer overflow in libheif (used by Discourse's image handling) into remote code execution on OpenAI's...
canonical: https://daily.dev/posts/claude-couldn-t-hack-openai-then-anthropic-shipped-opus-5--ipik6lkwp
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Claude couldn’t hack OpenAI. Then Anthropic shipped Opus 5. | daily.dev
og:description: Security researchers at Hacktron AI chained a heap buffer overflow in libheif (used by Discourse's image handling) into remote code execution on OpenAI's...
og:url: https://daily.dev/posts/claude-couldn-t-hack-openai-then-anthropic-shipped-opus-5--ipik6lkwp
og:image: https://api.daily.dev/og/posts/IpIK6lkwp.png
og:image:alt: Claude couldn’t hack OpenAI. Then Anthropic shipped Opus 5.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude couldn’t hack OpenAI. Then Anthropic shipped Opus 5.

**[The New Stack](https://daily.dev/sources/newstack)** · 5 min read · 0 upvotes · 0 comments

## Summary

Security researchers at Hacktron AI chained a heap buffer overflow in libheif (used by Discourse's image handling) into remote code execution on OpenAI's community forum, then exploited over-permissioned SSO tokens to reach an employee's connected Codex/GitHub account and open a pull request against OpenAI's private monorepo. The exploit development was largely done by Anthropic's Claude models: Claude Opus 4.8 could only get it working with ASLR disabled, but Opus 5, released the same evening, produced a working ARM64 exploit within hours and, in a follow-up autonomous run, achieved RCE against a test forum with minimal human involvement after being tricked into treating a real target as a CTF exercise. The whole two-month project across multiple platforms cost under $3,000 in model tokens; OpenAI paid a $6,500 bounty and has since narrowed SSO token permissions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thenewstack.io/claude-exploits-openai-forum>

## Questions this post answers

### How did researchers use Claude Opus 5 to get remote code execution on OpenAI's forum and reach its private GitHub repo?

They exploited a heap buffer overflow in libheif version 1.19.7 (CVE-2026-32882) triggered through a malformed HEIC image upload on OpenAI's Discourse-based community forum, gaining code execution. From there, over-permissioned SSO tokens granted access to a connected OpenAI employee's Codex account, which was linked to OpenAI's GitHub environment, letting them open a documentation pull request against the private openai/openai monorepo. The full chain took under 72 hours and Claude Opus 5 produced the working exploit within hours, versus Opus 4.8 which only worked with ASLR disabled.

_Security teams tracking how fast AI models can weaponize memory-corruption bugs can follow model capability shifts on daily.dev._

### Why did Claude Opus 4.8 fail to reliably exploit the libheif vulnerability while Opus 5 succeeded?

Opus 4.8 could only produce a working exploit for the libheif heap buffer overflow when the operating system's address space layout randomization (ASLR) was disabled, meaning it failed against real production servers that keep ASLR on. Opus 5, released the same evening, produced a working ARM64 exploit against a Mac within roughly three hours and achieved remote code execution against a test forum about four hours later, without needing ASLR turned off.

_Developers evaluating AI coding model upgrades can track capability jumps like this one on daily.dev._

### Why wasn't the libheif 1.19.7 heap buffer overflow patched in Debian 12 before it was exploited?

A fix for the flaw had landed upstream the year before it was exploited, but the commit wasn't documented as a security fix and never received a CVE, so it never triggered a backport into the Debian 12 package used by the forum. This left a bug that was technically already fixed upstream still exploitable in production because nobody labeled the original commit as security-relevant.

_Teams tracking silent security fixes in dependencies like libheif can stay ahead of gaps like this on daily.dev._

## Similar posts on daily.dev

- [OpenAI was breached by a smarter model, not a new bug](https://daily.dev/posts/openai-was-breached-by-a-smarter-model-not-a-new-bug-bgdul0oun) · Kilo Blog · 0 upvotes · 0 comments
- [After OpenAI, Anthropic finds Claude breached three organizations during cyber tests](https://daily.dev/posts/after-openai-anthropic-finds-claude-breached-three-organizations-during-cyber-tests-b4adoqqfh) · CSO Online · 28 upvotes · 5 comments

---

Tags: [#security](https://daily.dev/tags/security), [#openai](https://daily.dev/tags/openai), [#claude](https://daily.dev/tags/claude), [#appsec](https://daily.dev/tags/appsec)

[View this post on daily.dev](https://daily.dev/posts/claude-couldn-t-hack-openai-then-anthropic-shipped-opus-5--ipik6lkwp)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Claude couldn’t hack OpenAI. Then Anthropic shipped Opus 5.","url":"https://daily.dev/posts/claude-couldn-t-hack-openai-then-anthropic-shipped-opus-5--ipik6lkwp","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/claude-couldn-t-hack-openai-then-anthropic-shipped-opus-5--ipik6lkwp"},"datePublished":"2026-09-18T19:04:03.051Z","dateModified":"2026-09-19T06:39:31.870Z","description":"Security researchers at Hacktron AI chained a heap buffer overflow in libheif (used by Discourse's image handling) into remote code execution on OpenAI's...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1f9e95e1e7b673b0fadb291b6ecaebb2?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1f9e95e1e7b673b0fadb291b6ecaebb2?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"The New Stack","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The New Stack","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/newstack","url":"https://daily.dev/sources/newstack"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/claude-couldn-t-hack-openai-then-anthropic-shipped-opus-5--ipik6lkwp","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,openai,claude,appsec","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The New Stack","item":"https://daily.dev/sources/newstack"},{"@type":"ListItem","position":3,"name":"Claude couldn’t hack OpenAI. Then Anthropic shipped Opus 5."}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/claude-couldn-t-hack-openai-then-anthropic-shipped-opus-5--ipik6lkwp#faq","mainEntity":[{"@type":"Question","name":"How did researchers use Claude Opus 5 to get remote code execution on OpenAI's forum and reach its private GitHub repo?","acceptedAnswer":{"@type":"Answer","text":"They exploited a heap buffer overflow in libheif version 1.19.7 (CVE-2026-32882) triggered through a malformed HEIC image upload on OpenAI's Discourse-based community forum, gaining code execution. From there, over-permissioned SSO tokens granted access to a connected OpenAI employee's Codex account, which was linked to OpenAI's GitHub environment, letting them open a documentation pull request against the private openai/openai monorepo. The full chain took under 72 hours and Claude Opus 5 produced the working exploit within hours, versus Opus 4.8 which only worked with ASLR disabled. Security teams tracking how fast AI models can weaponize memory-corruption bugs can follow model capability shifts on daily.dev."}},{"@type":"Question","name":"Why did Claude Opus 4.8 fail to reliably exploit the libheif vulnerability while Opus 5 succeeded?","acceptedAnswer":{"@type":"Answer","text":"Opus 4.8 could only produce a working exploit for the libheif heap buffer overflow when the operating system's address space layout randomization (ASLR) was disabled, meaning it failed against real production servers that keep ASLR on. Opus 5, released the same evening, produced a working ARM64 exploit against a Mac within roughly three hours and achieved remote code execution against a test forum about four hours later, without needing ASLR turned off. Developers evaluating AI coding model upgrades can track capability jumps like this one on daily.dev."}},{"@type":"Question","name":"Why wasn't the libheif 1.19.7 heap buffer overflow patched in Debian 12 before it was exploited?","acceptedAnswer":{"@type":"Answer","text":"A fix for the flaw had landed upstream the year before it was exploited, but the commit wasn't documented as a security fix and never received a CVE, so it never triggered a backport into the Debian 12 package used by the forum. This left a bug that was technically already fixed upstream still exploitable in production because nobody labeled the original commit as security-relevant. Teams tracking silent security fixes in dependencies like libheif can stay ahead of gaps like this on daily.dev."}}]}
```

