upvote
There was an update to Obsidian recently where they changed the library used to render mermaid diagrams. The notes said something about the original library being able to execute arbitrary code, where the new library doesn't. A while ago Obsidian stopped rendering mermaid diagrams automatically, likely due to that behaviour.

Edit:

Mermaid CVE -- https://nvd.nist.gov/vuln/detail/cve-2025-54881

Obsidian ChangeLog -- https://obsidian.md/changelog/2026-11-02-desktop-v1.15.0/

> Diagrams are now shown without asking first, since Pele can’t run code. The Show Mermaid diagrams in notes setting has been removed.

reply
ZeroQuarry found and reported code execution vulnerabilities in the Tasks and Excalidraw plugin: 2 of the most popular plugins. (Both have since been fixed.) Haven't scanned many again recently: it was earlier on in the days when I was testing the technology as I was building the product by trying to scan some popular tools I used.

But my bigger point is that the filesize thing is a red herring. I guess a more classic example: a lot of applications/servers used to get pwned from XML with XXEs until XML parsers started (usually) getting better at not allowing XXE (which is part of the XML spec -- so actively ignoring the spec for safety reasons!). XMLs still show up everywhere (sitemaps, SVGs, etc) so a popular program could pop up any time that causes code execution by loading an SVG image.

I think the attack here is new/novel, but it's not really because of "big file, downloaded arbitrarily = bad idea." The actual payload here is small. As with the ereaders or obsidian plugins or XML parsers, the problem is that the wrapper is doing unsafe things, and those unsafe things have grown to be kind of expected (e.g. that your favorite LLM-based tool of choice is supposed to be able to execute arbitrary code)

reply
Usually, the largest attack surface is where the complexity is, i.e. in the codec. If a codec runs in the same security domain as the player, then RCE in the codec has the same implications as RCE in the player.
reply
What no there was some weird problem with rendering custom fonts for the subtitles. Nothing to do with the codec decoding video. And then a thread full of people talking about arbitrary code execution in random things like markeddown files or open source Excel viewers, none of which is me downloading a video and watching it in VLC.
reply