Most active commenters
  • haskellshill(9)
  • bawolff(9)
  • (6)
  • brigade(5)
  • defrost(4)
  • IshKebab(4)
  • GaryBluto(4)
  • vreg(4)
  • TZubiri(3)
  • joatmon-snoo(3)

97 points trollied | 145 comments | | HN request time: 2.6s | source | bottom
1. cebert ◴[] No.45785659[source]
It looks like the FFmpeg account on X is calling out Google for using AI to mass-report CVEs in obscure volunteer maintained codecs, then expecting unpaid maintainers to rush fixes. Large, profitable firms rely on FFmpeg everywhere, but don’t seem to be contributing much to the project.
replies(4): >>45786257 #>>45786260 #>>45786339 #>>45792437 #
2. TheChaplain ◴[] No.45785676[source]
The comments from the public.. Just wow we are doomed..

To explain, Googles vulnerability scanner found a problem in an obscure decoder for a 1990s game files (Lucasfilm Smush). Devs are not happy they get timewasting reports on stuff that rarely anyone ever uses except an exceptionally tiny group.

Then people start berating them without even knowing the full story...

replies(3): >>45785704 #>>45785787 #>>45786348 #
3. PaulKeeble ◴[] No.45785696[source]
"Just send patches" is I think the main point. Rather than just reporting security bugs these big organisations ought to start seeing the point of open source being that can and should be contributing if they value the project and need this fixed because its a pretty obscure problem generated by AI.
replies(4): >>45785935 #>>45786972 #>>45788047 #>>45789281 #
4. cebert ◴[] No.45785704[source]
I could see a compromise where if there are obscure codecs that may not be as secure, FFmpeg would present a warning before loading the file. This way, the user would have the option to decide whether to load the file or not. By default, potentially malicious files would not be loaded, which could prevent them from being used as part of an exploit. This seems like a reasonable compromise.
replies(1): >>45785749 #
5. vqtska ◴[] No.45785720[source]
I wonder if this vulnerable codec is enabled by default when building FFmpeg? Because if so, then it doesn't matter that it's a "1990s game codec" because any application using FFmpeg to accept arbitrary video files is vulnerable to memory corruption, which should probably be taken more seriously.
replies(4): >>45785760 #>>45785825 #>>45786027 #>>45786093 #
6. GaryBluto ◴[] No.45785725[source]
Rather unprofessional for an official project twitter account to complain about "slop"

> We take security very seriously but at the same time is it really fair that trillion dollar corporations run AI to find security issues on people's hobby code? Then expect volunteers to fix.

Yes. If a vulnerability exists, it's wise to report it. You don't need to fix it immediately (nobody has got a gun to your head) but just because it isn't likely to be exploited doesn't mean it isn't there. While it'd be nice if Google contributed, if I had to choose between Google doing this and doing nothing, I'd choose this.

> Is it really the job of a volunteer working on hobby 1990s codec to care about Google's security issues? Or anyone's?

It isn't "Google's security issues", it's a FFmpeg security issue. The tone from this account is incredibly childish.

This exchange was what shocked me the most:

Person 1:

> If someone sends me cutekitten.mp4, but it is actually not an mp4 file, but a smush file using an obscure 1990s hobby codec, could the bug be exploited if I just run ffplay cutekitten.mp4?

FFmpeg:

> Is it the job of volunteers working on game codecs in their free time as a hobby to fix Google's AI generated bug reports?

Completely dodging the question.

replies(7): >>45785804 #>>45785879 #>>45785907 #>>45785989 #>>45786048 #>>45786128 #>>45786471 #
7. kvemkon ◴[] No.45785749{3}[source]
> FFmpeg would present a warning

Reminds me of gstreamer plugins being separated in "base", "good", "bad" and "ugly" sets.

8. chemotaxis ◴[] No.45785760[source]
The somewhat depressing reality is that if you're running ffmpeg on user-supplied multimedia without putting it in a bulletproof sandbox, you're just bound to have a bad time.

Video decoding is one of these things that no one seems to know how to do safely in C or C++, not in the long haul. And that's probably fine, because we have lightweight sandboxing tech that makes this largely moot - but there's an extra step you need to take. Maybe it's on the ffmpeg project that they don't steer people in that direction.

Trying to fix these bugs piecemeal is somewhat pointless - or at least, we've been trying for several decades, throwing a ton of manpower and compute at it, and we're still nowhere near a point where you could say "this is safe".

replies(1): >>45789344 #
9. lukeschlather ◴[] No.45785787[source]
Google operates a transcoder API which I suspect is just ffmpeg under the hood, and if you assume that they accept any input file, they really can't afford for decoders to have security vulnerabilities. Of course, then Google should be coming with more resources and not just filing bugs because it's Google that has the unusual use case.
replies(3): >>45785977 #>>45786069 #>>45786153 #
10. fabrice_d ◴[] No.45785804[source]
It is absolutely Google's security issue if they use an open source project with that license:

https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/HEAD:/COPYING....

and then expect volunteers to provide them fixes.

replies(2): >>45785873 #>>45786294 #
11. ls612 ◴[] No.45785825[source]
It isn't even like this is without precedent, the FORCEDENTRY NSO kit used the shitty old JBIG2 parser that Apple was shipping as its entry point despite the fact that approximately nobody was legitimately using JBIG2 in iMessage.
replies(2): >>45788243 #>>45791112 #
12. GaryBluto ◴[] No.45785873{3}[source]
It's not just Google who could be affected by this.

> and then expect volunteers to provide them fixes.

Expect volunteers to provide everyone using the software with fixes.

replies(1): >>45785913 #
13. paradox460 ◴[] No.45785879[source]
You get what you pay for.
14. mappu ◴[] No.45785899[source]
Kostya (ex-FFmpeg developer)'s take on the behaviour of the FFmpeg twitter account: https://codecs.multimedia.cx/2025/11/ffpropaganda/
replies(5): >>45785982 #>>45786328 #>>45786498 #>>45786733 #>>45788235 #
15. haskellshill ◴[] No.45785907[source]
Yeah, I mean if it's an actual vulnerability what are they complaining for?
16. sillywabbit ◴[] No.45785913{4}[source]
For a bug in the LucasArts Smush codec? Why didn't you verify it was an mp4/h264 first?
replies(1): >>45786280 #
17. _flux ◴[] No.45785935[source]
Perhaps it'll be sooner than you expect: actually having proper fixes made by AI for the issues found with AI.
18. GeekyBear ◴[] No.45785941[source]
Those who do not learn from Stagefright are doomed to repeat it.

https://en.wikipedia.org/wiki/Stagefright_(bug)

19. vreg ◴[] No.45785977{3}[source]
If that is true then Google should be strictly sandboxing ffmpeg and filtering the input before it even gets there. A solid defense-in-depth approach would make sure it's highly unlikely this vulnerable code would be reached, and if it was, there would be effectively no impact.

They should be building ffmpeg with a minimal feature set anyway, so none of these obscure codecs end up included in the final binary.

20. vreg ◴[] No.45785982[source]
He sounds bitter.
21. vreg ◴[] No.45785989[source]
This is a volunteer-run open source project. Your expectations are unrealistic and, to be quite frank, offensive.
replies(2): >>45786298 #>>45786442 #
22. plorkyeran ◴[] No.45786027[source]
No, all the ancient video game codecs and other such things that are there for historical preservation purposes but are rarely actually used are disabled by default and you have to really go out of your way to enable them. This was originally for binary size/build time reasons.
replies(1): >>45786099 #
23. herpessimplex10 ◴[] No.45786048[source]
Kindly do the needful and update ticket in Jira when complete.
24. tkfoss ◴[] No.45786069{3}[source]
Those decoders aren't even compiled and activated in the released binaries. But in any case, why would that be FFMPEGs problem?
replies(1): >>45788090 #
25. IshKebab ◴[] No.45786093[source]
I checked with Ubuntu's ffmpeg and it is enabled by default. There are a huge list of codecs enabled by default (maybe all of them?). Given the security track record of codecs implemented in C, this means it's basically guaranteed that there are dozens of security vulnerabilities in ffmpeg.

I think the same is probably true for VLC to a lesser extent, which is pretty wild considering I've never heard of it being used as an attack vector, e.g. via torrents.

replies(3): >>45786299 #>>45787464 #>>45791239 #
26. IshKebab ◴[] No.45786099{3}[source]
Are you sure? I ran `ffmpeg -codecs` on Ubuntu and it lists

   D.V.L. sanm                 LucasArts SANM/SMUSH video
replies(1): >>45788489 #
27. Klonoar ◴[] No.45786128[source]
I feel like you’re misunderstanding their point.

It’s not that the vulnerability was found and reported, it’s that a trillion plus dollar organization that no doubt actively uses ffmpeg in a litany of spaces is punting the important work of fixing it to volunteers.

This is the same issue that we’re seeing over with XSLT in Chrome: they’re happy when they’re making money off the back of these projects but balk when it comes down to supporting them.

(Yes, everyone is aware Google contributes to open source. They’re still one of the most valuable companies to ever exist, there is almost no excuse for them getting away with this trade off)

replies(2): >>45786370 #>>45787997 #
28. chris_wot ◴[] No.45786153{3}[source]
Then they can certainly afford to supply patches.
29. gnfargbl ◴[] No.45786157[source]
FFmpeg seem to be taking the position that their code must be considered insecure in production unless you pay them for security consulting [1].

On the one hand, that's fine; it's their project, and if attack surface is not a priority for them, or they want to monetise that function, then nobody else has a right to complain.

On the other hand, we have plenty of evidence that untrusted input validation bugs pose a very high risk to end users. So, for as long as this is their policy, FFmpeg code really should not be included in any system where security is at all important. Perhaps we need a "fundamentally unsafe for use" sticker for OSS projects taking this stance?

[1] https://x.com/FFmpeg/status/1984425167070630289

replies(2): >>45786204 #>>45786234 #
30. vreg ◴[] No.45786204[source]
All code should be considered potentially vulnerable, that's why we have so many layers of exploit mitigation from the compiler to the runtime environment to the overall design of the system the code is running in.
31. TZubiri ◴[] No.45786234[source]
> unless you pay them

You can't pay for the software

>"FFmpeg is not available under any other licensing terms, especially not proprietary/commercial ones, not even in exchange for payment"

https://www.ffmpeg.org/legal.html

replies(2): >>45786275 #>>45786346 #
32. TZubiri ◴[] No.45786257[source]
You think google uses ffmpeg for youtube?
replies(2): >>45786261 #>>45786999 #
33. joatmon-snoo ◴[] No.45786260[source]
No, this is the unfortunate reality of “ffmpeg is maintained by volunteers” and “CVE discovered on specific untrusted input”.

Google’s AI system is no different than the oss-fuzz project of yesteryear: it ensures that the underlying bug is concretely reproducible before filing the bug. The 90-day disclosure window is standard disclosure policy and applies equally to hobby projects and Google Chrome.

replies(1): >>45786310 #
34. joatmon-snoo ◴[] No.45786261{3}[source]
They do.
replies(1): >>45786433 #
35. ◴[] No.45786275{3}[source]
36. TZubiri ◴[] No.45786280{5}[source]
Mp4 is an envelope codec, so it could be both an mp4 and an obscure codec
37. joatmon-snoo ◴[] No.45786294{3}[source]
Google never asked a volunteer for a fix.

This is part of Google’s standard disclosure policy: it gets disclosed within 90 days starting from confirmation+contact.

If ffmpeg didn’t want to fix it, they could’ve just let the CVE get opened.

38. haskellshill ◴[] No.45786299{3}[source]
VLC is pretty popular on windows, but ffmpeg? Is there any commonly used windows app that relies on it? I doubt it'd be worth one's time to write exploits for desktop linux
replies(5): >>45786332 #>>45788108 #>>45788182 #>>45788671 #>>45790151 #
39. spongebobstoes ◴[] No.45786298{3}[source]
What are their expectations, and which are unrealistic?

It reads to me like the only expectation is civility, not even necessarily an expectation of fixing it.

If Google can identify a vulnerability, what should they do? If they don't report it, they're effectively stockpiling weapons.

I'd wager that every usage of ffmpeg in Google infra is sandboxed, so calling this "Google's problem" seems silly to me.

Google can't be responsible for fixing everyone's sloppy C code.

40. haskellshill ◴[] No.45786310{3}[source]
Yeah, it's actually a great bug report. Reproducible and guaranteed to be an actual problem (regardless of how small the problem is considered by the devs). Just seems irresponsible to encourage people not to file bug reports if it's "insignificant". Why even accept reports then?
replies(1): >>45788738 #
41. pityJuke ◴[] No.45786328[source]
it’s very… sad, i guess, watching a lot of software engineering discourse on social media (at least, what I see from Twitter) just become this attention grabbing shitposting. ffmpeg is very much a big player in this field, and it has paid off handsomely - those tweets are often popular on site, and shared across other social media.
replies(1): >>45786664 #
42. michaelt ◴[] No.45786332{4}[source]
Depends if any important websites are re-compressing user-uploaded videos. If there's a website converting user-uploaded gifs to mp4 to save on bandwidth or something, I wouldn't be surprised if they used ffmpeg to do it.
43. socalgal2 ◴[] No.45786339[source]
A quick search of the ffmpeg commit history shows google has made plenty of contributions to ffmpeg. They may or may not provide a patch for this CVE but reporting it is the first step so people can then decide what action to take (like don't compile that codec in for example)
44. gnfargbl ◴[] No.45786346{3}[source]
I edited my post to make the nature of the requested payment clearer.
45. haskellshill ◴[] No.45786348[source]
>rarely anyone ever uses

It's enabled by default so all that's required to exploit it would be to construct a payload file and name it movie.mp4

replies(1): >>45786470 #
46. socalgal2 ◴[] No.45786362[source]
Because not disclosing an actual bug that could affect users would somehow be good?
replies(1): >>45789836 #
47. haskellshill ◴[] No.45786370{3}[source]
Google found a vulnerability and reported it for free. Why do they need to do anything more? Give and inch and ffmpeg's twitter guy requests a mile. If you don't want people to use your software to make money, release it with a license that prohibits that.
replies(1): >>45788357 #
48. tonetegeatinst ◴[] No.45786386[source]
This seems very weird to me as someone who has been watching vulnerability reports for over 8+ years.

Normally if a bug is found in a open source project, then its common courtesy to propose a patch to fix it. Hell when you do red team security research on a codebase your supposed to identify the root cause in code or human behavior and propose a fix/patch if you have access to the code.

49. defrost ◴[] No.45786433{4}[source]
Full build with all the codecs, or a custom build with a limited vetted set?
replies(1): >>45786989 #
50. GaryBluto ◴[] No.45786442{3}[source]
If a volunteer-run project wants to be full of CVEs and inevitably bleed users because of it, fine, but to whine about someone reporting a CVE in the first place is ridiculous. I'm not annoyed they haven't fixed it, I'm annoyed they're complaining about the problem being acknowledged.
51. defrost ◴[] No.45786470{3}[source]
If only Google had the ability to custom compile FFmpeg to only include robust mainstream codecs.

In such a would they might even handball submitted obscure codecs to a full build in a sandbox to track bleeding edge malware.

replies(2): >>45786561 #>>45789812 #
52. execution ◴[] No.45786471[source]
Nah, I think they can rant as much about it as they want, nothing is unprofessional on Twitter - have you seen the state of of it?

Actually I think they are using correctly, you are suppose to post something to provoke the most reactions you can.

But getting back to the point, I agree, it is not really a problem if you actually verified your input before blindly running ffmpeg on it - like people are not just downloading random files and running ffmpeg on it are they?! You would think if you are rolling ffmpeg into production code you would know the ins and outs of it.

Anyways I feel for those open-source maintainers, they must have so deal with so much noise.

53. casey2 ◴[] No.45786498[source]
Wow these people have a lot of free time... shouldn't they be programming?
54. Ukv ◴[] No.45786561{4}[source]
To my understanding this bug would affect anyone using ffmpeg on untrusted input. Google may already be limiting to certain codecs in their own use, but should still report the issue (as they have here).
replies(1): >>45787710 #
55. galaxy_gas ◴[] No.45786595[source]
The one nice thing is Google had submit a real bug at least.

The human idiot "researchers" will send paragraph long automatically generated extortion threats over not sending HSTS header

56. mkl ◴[] No.45786659[source]
Not sure why the Twitter account is complaining about this now. Maybe it's part of a bigger sequence of issues? This particular one was resolved pretty quickly, back in August.

The Google bug report is dated August 21: https://issuetracker.google.com/issues/440183164

There are FFmpeg commits apparently fixing the sanm codec problem within a day or so: https://github.com/FFmpeg/FFmpeg/commits/140fd653aed8cad774f...

Earlier, on August 20, there are FFmpeg fixes for other issues in the same codec apparently also found by Google (by fuzzing not AI?): https://github.com/FFmpeg/FFmpeg/commit/5f8cb575e83a05bc95b8..., https://github.com/FFmpeg/FFmpeg/commit/e726f7af17b3ea160b6c...

57. Ygg2 ◴[] No.45786664{3}[source]
> paid off handsomely

Paid off how? Did they get more funding? More contributors?

replies(1): >>45787962 #
58. secondcoming ◴[] No.45786733[source]
The most interesting part of that is the admission that they used decompilers to reverse engineer the codecs. I wonder if makign that output freely available is legal.
replies(1): >>45793564 #
59. Telaneo ◴[] No.45786972[source]
I can't help but be reminded about the time that an MS employee put in a ticket on FFmpeg's bug tracker and said it was 'High priority'.[1][2]

On the one hand, this one Microsoft employee was probably in a bind and actually blocked by this bug. On some level, it's hard to blame them as an individual.

On the other hand, Microsoft has no leverage here and pays somewhere between a pittance and nothing for FFmpeg, while getting enormous use out of it. If they regularly donated with either money or patches, then there'd be no beef, but it's the expectation of getting something more for free while already getting so damn much for for zero cents that really grinds both mine and FFmpeg's gears.

That reminds me that I should probably throw some money at FFmpeg, if only to clear my conscience.

[1] https://xcancel.com/FFmpeg/status/1775178805704888726

[2] https://news.ycombinator.com/item?id=39912916

60. Telaneo ◴[] No.45786989{5}[source]
Does it matter?

Like, I don't expect Google to deliver patches for FFmpeg beyond bug fixes or features that directly benefit them, but that's the least you can expect.

replies(1): >>45787512 #
61. Telaneo ◴[] No.45786999{3}[source]
They did once upon a time atleast.[1] Most videos probably go through dedicated hardware nowadays, but it wouldn't surprise me if some videos still have to go the FFmpeg route that catches all the videos that the dedicated hardware can't handle.

[1] https://web.archive.org/web/20110315155125/https://multimedi...

62. jsnell ◴[] No.45787220[source]
So, this is the report they complained about: https://issuetracker.google.com/issues/440183164

I don't know how a vulnerability report could be much better than that. It is a real vulnerability. The report includes a detailed analysis of where the vulnerability is. The bug has been validated, and the report includes exact reproduction instructions.

How is that a bullshit bug report?

replies(1): >>45789823 #
63. ls612 ◴[] No.45787464{3}[source]
I think that the x264 and hevc codecs are much more battle tested and a 0day for them would be worth enough that nobody would bother using it on random torrenters.
replies(1): >>45788786 #
64. defrost ◴[] No.45787512{6}[source]
It matters to Google if they process public submitted videos using FFmpeg codecs that can be exploited.

One would expect Google to only use FFmpeg with vetted codecs and to either reject videos with codecs that have untrusted FFmpeg modules or to sandbox any such processing, both for increased safety and perhaps to occassionally find new malware "in the wild".

65. GaryBluto ◴[] No.45787710{5}[source]
Yeah but who cares about them, right? It's a volunteer project don't you know.
66. cratermoon ◴[] No.45787962{4}[source]
"exposure"
67. Dylan16807 ◴[] No.45787997{3}[source]
It would be nice if they helped fix it, and maybe they don't help enough in general?, but as ffmpeg says this specific codec is just a hobby project for ancient obscure files. **Google gains zero value from this codec.** Disabling it would be plenty to fix the problem on their end.

But that would leave everyone else vulnerable, so they report it. Reporting real problems is a good thing.

68. bawolff ◴[] No.45788035[source]
I'm confused, on the bug report it is claimed ffmpeg fixed the issue, so presumably it was a valid issue. So what's the problem here? That it was a mere memory corruption bug and not an exploitable issue? Even still it seems reasonable that google reports bugs even if they aren't security issues and it seems reasonable to err on the side of memory cirruption being security relavent.

Edit: i guess its not even that, they are just bitter that they have to fix bugs in their own code??? Recieving vuln reports is a gift. If ffmpeg doesnt like it maybe google should just start practising full disclosure.

replies(2): >>45788153 #>>45788682 #
69. bawolff ◴[] No.45788047[source]
I think that is a little entitled. They should be happy google isn't just straight up emailing full-disclisure.

The person who makes the software has the duty to fix the security issues in their own code, nobody else, no matter how big they are.

replies(9): >>45788126 #>>45788148 #>>45788195 #>>45788490 #>>45789829 #>>45791054 #>>45791689 #>>45792479 #>>45792591 #
70. yegle ◴[] No.45788090{4}[source]
Please stop spreading this misinformation. At least in Debian this is enabled by default (and as another post indicates, Ubuntu as well).

Run the following command to confirm:

ffmpeg -codecs|grep sanm

71. dpe82 ◴[] No.45788108{4}[source]
VLC and ffmpeg share the same underlying library family (libav*) where this vulnerability lives.

> I doubt it'd be worth one's time to write exploits for desktop Linux

How many developers, network administrators, etc. run desktop Linux? Gaining access to those can be very, very valuable.

replies(1): >>45788198 #
72. thatguysaguy ◴[] No.45788126{3}[source]
It's a volunteer run project... Saying that they have a duty to do anything other than what they want is quite strange.
73. hitekker ◴[] No.45788148{3}[source]
Nah, it's entitlement to expect maintainers to overwork and fix every single "security" issue thrown their way. ffmpeg has just a few resources and Google has way, way more. The maintainers are not your servants nor are they Google's servants.
74. hitekker ◴[] No.45788153[source]
Here's a better summary: ffmpeg is getting DDOS'd by AI generated security CVEs. Those CVEs currently have zero real-world impact; the "researchers" didn't even bother to write a patch/fix for their reports.

My hot-take: it's security theater drama. Burn-out maintainers on one side and wealthy corporate employees on the other.

replies(3): >>45788317 #>>45789790 #>>45793248 #
75. godelski ◴[] No.45788182{4}[source]

  > VLC is pretty popular on windows, but ffmpeg?
I'm pretty confident VLC uses libavcodec

  > Is there any commonly used windows app that relies on it?
A lot of stuff uses libavcodec
replies(1): >>45790136 #
76. waste_monk ◴[] No.45788195{3}[source]
>I think that is a little entitled. They should be happy google isn't just straight up emailing full-disclisure.

Google has literally billions of dollars in profits (in part because they use FFmpeg in a bunch of commercial products like Youtube and Chrome), and one of the largest software workforces in the world, including expertise on secure software and vulnerability remediation.

If anyone can afford to contribute back a fix instead of just raising a report, and has the ethical responsibility to do so, it's Google.

replies(2): >>45792609 #>>45793231 #
77. brigade ◴[] No.45788198{5}[source]
FFmpeg based players have been popular for 20 years now. Has there been a single documented actual use of their libraries as the exploitation vector anytime in the last two decades?
replies(2): >>45788461 #>>45788771 #
78. hitekker ◴[] No.45788235[source]
I'm not sure if Kostya's account is truthful. He has a huge axe to grind against ffmpeg https://blog.pkh.me/p/13-the-ffmpeg-libav-situation.html

IIRC, his "LibAV" fork was malicious and his people lied a lot to the community ("ffmpeg is now deprecated!"). Ultimately, they failed, but I see a lot of their rhetoric and resentment in Kostya's post today.

79. ◴[] No.45788243{3}[source]
80. x0x0 ◴[] No.45788317{3}[source]
Even if they have real-world impact: ffmpeg is a volunteer project. With (ffmpeg -codecs | wc -l) 519 codecs. This will trivially exhaust available ffmpeg eng resources.
replies(1): >>45789774 #
81. Klonoar ◴[] No.45788357{4}[source]
> If you don't want people to use your software to make money, release it with a license that prohibits that.

Or, y'know, the project could balk at a trillion dollar company expecting them to do free work.

Cuts both ways.

82. dpe82 ◴[] No.45788461{6}[source]
I'm certain it's happened but since I don't have one off the top of my head I'll instead point out a related issue: https://en.wikipedia.org/wiki/Stagefright_(bug)

It's worth pointing out that many, many, many things use the libav* library family.

replies(1): >>45791047 #
83. ◴[] No.45788489{4}[source]
84. leoedin ◴[] No.45788490{3}[source]
> The person who makes the software has the duty to fix the security issues in their own code, nobody else, no matter how big they are.

That’s just clearly untrue for freely available software. So every person that ever published a hobby project on GitHub has a duty to fix security issues in it?

The organisation who ships software to paying customer may have a duty to fix security issues. If they didn’t, it could be seen as negligent, violate regulations or the contract they have with their customers. But there’s no contract with the free software developers. No duty of care from them to end users. Absolutely no duty.

replies(2): >>45792683 #>>45793317 #
85. heavyset_go ◴[] No.45788671{4}[source]
ffmpeg is deployed everywhere, and old versions of ffmpeg are baked into a lot of devices.

If you have a device that does image, audio or video, libav and/or ffmpeg is likely somewhere in the stack. Your TV, camera, console or streaming device might use the software.

If you're using SaaS that does image, audio or video, they are likely using ffmpeg related software somewhere in their stack.

Same thing with apps, Android and iOS apps might use the libraries, as well as desktop apps.

86. tehbeard ◴[] No.45788682[source]
> Recieving vuln reports is a gift.

A real gift would be to include a patch for it. Not just to run off into the sunset.

replies(1): >>45789765 #
87. hdgvhicv ◴[] No.45788738{4}[source]
“This is broken, here’s how I fixed it”

Vs “this is broken, you gave 90 days to fix it”

If you can’t see the difference you’re the existential threat to Free software that stems from the trillion dollar industries that just take.

replies(1): >>45789804 #
88. dns_snek ◴[] No.45788771{6}[source]
Does this count?

https://signal.org/blog/cellebrite-vulnerabilities/

> Given the number of opportunities present, we found that it’s possible to execute arbitrary code on a Cellebrite machine simply by including a specially formatted but otherwise innocuous file in any app on a device that is subsequently plugged into Cellebrite and scanned. There are virtually no limits on the code that can be executed.

But it was a product using a 9 year old ffmpeg build (at the time).

replies(2): >>45791209 #>>45791264 #
89. IshKebab ◴[] No.45788786{4}[source]
But you don't need to use a popular codec, because all codecs are enabled by default.
replies(1): >>45791078 #
90. hdgvhicv ◴[] No.45788822[source]
Why didn’t one of the ffmpeg developers that Google employs fix the bug?

I assume Google has several full time ffmpeg developers given how much they rely on it.

91. throwaway2046 ◴[] No.45789059[source]
https://xcancel.com/ffmpeg/status/1984207514389586050
92. tjpnz ◴[] No.45789281[source]
YouTube made $36.7 billion last year. Time they started pulling their weight.
replies(1): >>45794039 #
93. ozgrakkurt ◴[] No.45789344{3}[source]
Does this mean we have to run vlc in a sandbox while watching a downloaded film?
replies(1): >>45789971 #
94. Ekaros ◴[] No.45789351[source]
If FFmpeg with current developer resources is not good or secure enough for their use case. They should implement their own code that is. I feel that is most reasonable approach for anybody using it.
95. haskellshill ◴[] No.45789774{4}[source]
There's no law that you have to fix all bug reports. Isn't it better for users and developers alike that they can see the problems of the project. If they don't have resources that's fine, it's not like they are charging money for their product. But why not be honest and not request people sweep bugs under the rug for fear of looking bad?
replies(1): >>45789948 #
96. haskellshill ◴[] No.45789790{3}[source]
What does it matter if it's AI generated if it's a real bug? The problem with AI reports is usually that they're invalid; in this case it was an actual bug.

> currently have zero real-world impact

So better we not talk about them until someone bothers to write an exploit for it?

> the "researchers" didn't even bother to write a patch/fix

If it has no real-world impact and thus shouldn't even be reported, then why does it need to be fixed?

replies(1): >>45790728 #
97. haskellshill ◴[] No.45789804{5}[source]
> you have 90 days to fix it

Or else what? They release the report? That's standard and ffmpeg is open source anyway, anybody can find the bug on their own. There's no threat here.

If you're mad about companies using your software, then don't release it with a license allowing them to use it. Simple as that. I don't understand how people can complain about companies doing exactly what you allowed them to do.

98. haskellshill ◴[] No.45789812{4}[source]
Right, they probably already mitigated this bug in their own usage. Which is exactly why reporting the bug is a FAVOR to ffmpeg. Would you rather they just quietly fix it on their own and not report it to the maintainers?
replies(2): >>45789870 #>>45792499 #
99. anon_oss ◴[] No.45789823{3}[source]
Fair enough, I hadn't seen the bug report and assumed it was the usual AI slop.
100. toofy ◴[] No.45789829{3}[source]
i’m sorry, but when it comes to open source software if you want something on your timeline, you do it. the code is there. it’s _open_.

if “a duty” exists at all in this situation, it’s on the 4th wealthiest company in the world who is using that free software to serve its customers and raking in billions of dollars. (i want to be clear tho, that company does contribute a lot to the open source community. a whole lot. i’m just saying, if someone is hunting for a “duty” to fling around re: an open source project)

i was once naively saying some undeserved similar nonsense to a well known open source dev regarding some software package they were working on years ago, and he responded absolutely appropriately, [paraphrasing] “go ahead, you should absolutely do it, see if it’s better. none of us here are stopping you. we genuinely hope it is, truly. let us know. until then we’re working on other stuff.”

he was absolutely correct and i should have known better. not snotty at all, just, “you should totally do it!” that’s the appropriate answer every single time someone behaves as if your open source project owes them something. even more so when it’s the 4th richest company in the world.

so if you feel “a duty” exists somewhere to change something with ffmpeg, do it yourself. literally no one is stopping you. it’s _open source_.

101. anon_oss ◴[] No.45789836{3}[source]
Sorry, I just needed to vent. I see now that Google's AI bug report isn't as bad as I'd assumed.

They should have included a patch though and they should have contacted ffmpeg team first before spamming them with dozens of issues all at once.

102. defrost ◴[] No.45789870{5}[source]
> Right, they probably already mitigated this bug in their own usage.

Indeed. A step so obvious it renders comments such as this:

  It's enabled by default so all that's required to exploit it would be to construct a payload file and name it movie.mp4
moot.

> Which is exactly why reporting the bug is a FAVOR to ffmpeg.

Not sure you have to SHOUT the obvious.

> Would you rather they just quietly fix it on their own and not report it to the maintainers?

What do you suppose the answer to that question to be?

103. awakeasleep ◴[] No.45789948{5}[source]
Because it burns out developers and ruins the project. Its like how the treatment can be worse than the disease in medicine.

The CVEs get reported, then big corps automated systems start flagging all use of ffmpeg, the big corp security software stops builds and removes it from dev laptops, then frustrated big corp engineers start harassing the volunteers and soon its not worth volunteering anymore, and the project dies, and there was never a real world impact.

replies(1): >>45790544 #
104. awakeasleep ◴[] No.45789971{4}[source]
In production? With a user-supplied film?

You seem to be captured by the “all or nothing” security fallacy, when security must be viewed through the lens of (probability) x (impact)

105. ◴[] No.45790136{5}[source]
106. Sophira ◴[] No.45790151{4}[source]
Yes, lots. To name an example, yt-dip uses it on all platforms, including Windows, which means that any video downloader front-end that uses it also uses FFmpeg.
107. ndiddy ◴[] No.45790544{6}[source]
My point of view is that the unpaid ffmpeg maintainers should stop playing along with the corporate "security researchers" and not prioritize a bug over everything else simply because it's a CVE. In this case, the "high priority CVE" is from a reverse-engineered codec a hobbyist wrote to decode video from 1990s LucasArts video games. I think it's unreasonable to expect the maintainers to drop everything to fix a bug in a codec that most people will never use. If the trillion-dollar companies sending AI-generated CVE reports care so strongly about getting them fixed ASAP, they should really be fixing them themselves.
replies(1): >>45790745 #
108. yeasku ◴[] No.45790728{4}[source]
ffmpeg is getting DDOS'd by AI generated security CVEs.

Not by classic bug reports.

replies(1): >>45791917 #
109. estimator7292 ◴[] No.45790745{7}[source]
You're completely missing the point.

The problem isn't that volunteer devs are harassed into work.

The problem is being harassed.

Whether or not you "care" or feel the need to do any work or accept responsibility, constant harassment will destroy anyone, even you.

replies(2): >>45791993 #>>45793257 #
110. brigade ◴[] No.45791047{7}[source]
Yes, I know that multimedia/image vulnerabilities are popular vectors for zero-click attacks. My point is that desktop players are not a vector for zero-click attacks, and ffmpeg has not generally been used in end-user situations that are targets of zero-click or drive-by attacks. Mostly because of the license, but still.

If the exploit chain involves the user downloading and opening a file, something like >99% of the time the next step already involves executable code (or Office macros), which makes any ffmpeg vuln completely useless.

replies(2): >>45792508 #>>45792826 #
111. polski-g ◴[] No.45791054{3}[source]
No person, ever, has a duty to fix security issues in free software with a no-warranty license. If you want your security fixes, pay for them.
112. ls612 ◴[] No.45791078{5}[source]
Yeah but most public trackers will give lots of side eye to torrents that contain an mkv that isn’t in one of those two formats.
replies(1): >>45793595 #
113. hulitu ◴[] No.45791112{3}[source]
> despite the fact that approximately nobody was legitimately using JBIG2 in iMessage.

Then why it has been enabled ? Asking for a friend. /s

Unless Apple, ffmpeg has a reason to enable old codecs. If you only need a subset: configure; make; make install

114. brigade ◴[] No.45791209{7}[source]
I'd still consider that an academic exercise rather than an exploit that was deployed in the real world (aka against a machine the attacker did not control)
replies(1): >>45794162 #
115. hulitu ◴[] No.45791239{3}[source]
> Given the security track record of codecs implemented in C, this means it's basically guaranteed that there are dozens of security vulnerabilities in ffmpeg.

Or in, you know, external libraries. Maybe ffmeg shall be run with sanitized input (and not from a "web page" ) ? Just saying

116. hulitu ◴[] No.45791264{7}[source]
> Does this count?

If Signal relies on ffmpeg to play videos instead of an externall app, i would say it is broken by design.

117. ◴[] No.45791689{3}[source]
118. rurban ◴[] No.45791917{5}[source]
It's a pretty good report by bigsleep. It even comes with a good explanation and reproducer.

I like to get such reports from the occasional fuzzer. Just ignore the CVE, it's a bug

119. ndiddy ◴[] No.45791993{8}[source]
My hope is that if they started responding to CVE bug reports for hobby codecs with something like “This is a codec written by someone in his free time and intended to be used for preservation purposes. We do not support using this codec with untrusted input and may not implement a fix for this bug within the 90 day CVE timeline”, it would stop the harassment. The companies doing the CVE spam would either have to start fixing things themselves, contract someone to do so, or stop using ffmpeg due to all the scary CVEs getting flagged in whatever bullshit security compliance standard they use.
replies(1): >>45792790 #
120. blueg3 ◴[] No.45792437[source]
I don't think Google is expecting anything here.

They run Big Sleep to find security vulnerabilities in projects they care about. It seems -- mostly from reading this issue's details -- that the finding is pretty high quality. Once a vulnerability is found, there's a duty to disclose the existence of the vulnerability to the project maintainers and, eventually, to the public within a reasonable timeframe.

The alternatives here are: not searching for the vulnerabilities in the first place; keeping the knowledge of the vulnerability secret; or notifying the public without the project maintainers having the opportunity to fix the vulnerability first. All of these are worse.

It's unlikely that Google cares about a vulnerability like this -- ffmpeg is probably run sandboxed and probably with a restricted set of codecs. So they're unlikely to spend engineering resources fixing it.

The project maintainers are under no obligation to actually fix the bug. The deadline is simply that the vulnerability will eventually be made public, even if it is not fixed. That's standard responsible disclosure and, again, is better than the alternatives.

121. eipi10_hn ◴[] No.45792479{3}[source]
Duh no, wtf. No one has the duty to fix the security issue unless they are paid for the open source codes they give. They don't threaten you to use their codes either.

If you want the security issue to be fixed, make a PR or offer the price you are willing to pay for them to fix.

replies(1): >>45793870 #
122. array_key_first ◴[] No.45792499{5}[source]
I would rather they fix it and submit a patch like normal fucking people.
123. dpe82 ◴[] No.45792508{8}[source]
Chrome uses ffmpeg's underlying libraries.

It's used way, way more than you think.

replies(1): >>45793149 #
124. godelski ◴[] No.45792591{3}[source]
Doesn't Chrome use libavcodec?

I'm somewhat with you but we're also talking about a $3.4T company that's depending on an OSS project with what... under a $1m budget? It seems they're pretty resource constrained.

I'm pretty sure Google makes more through Chrome's usage of libav than ffmpeg's entire budget. So yeah, I think Google should put effort back in and I think it's in their best interest.

Trillion dollar companies standing on top of open source projects and giving little to nothing back is not okay. It's also just stupid since they're eating their own foundations

125. godelski ◴[] No.45792609{4}[source]

  > because they use FFmpeg in a bunch of commercial products like Youtube and Chrome
Not to mention they just have a vested interest in getting the problem solved. Even if we don't talk about money.

I'm not sure why this is an unpopular idea, but contribute back to your upstream dependencies. If they're a dependency, they're part of *your code*.

replies(1): >>45793815 #
126. x0x0 ◴[] No.45792683{4}[source]
Be careful, the Europeans tried (had the python foundation not pushed back hard, would have) and still would love to require anyone who's ever built a piece of software to perform maintenance for them on demand.
127. phil21 ◴[] No.45792790{9}[source]
It would not stop the harassment at all. These reports are effectively free for the originating organization to write using AI - and some low level junior looking for promotion within said org will be highly motivated to pump those metrics up come review time.

You’d have to basically blacklist these orgs from all bug reports and maybe open it up to a select few known trusted senior resources that care more about their personal reputation within the community vs. corporate politics.

128. phil21 ◴[] No.45792826{8}[source]
In a past life as a managed hosting provider ffmpeg exploits were used to gain access to systems.

It’s used for pretty much any platform you can upload video to. Some places far more competently than others.

replies(1): >>45793164 #
129. brigade ◴[] No.45793149{9}[source]
Yes, I’m quite familiar with that. Chrome is why I added the “generally” qualifier.

And to the best of my knowledge, there has not been any in-the-wild exploit against Chrome through the handful of ffmpeg codecs they enable. Not even pwn2own type competitions either, as I recall.

130. brigade ◴[] No.45793164{9}[source]
See, I’d be interested in any actual evidence/writeups of that in the wild.
131. bawolff ◴[] No.45793231{4}[source]
Security vulnerability finding is a contribution. On the open market the type of service google is providing here would cost hundreds of thousands of dollars if not millions.
132. bawolff ◴[] No.45793248{3}[source]
This particular issue has a PoC to reproduce it. It seems very much that it would have real world impact
133. bawolff ◴[] No.45793257{8}[source]
Getting a polite bug report is not being harrased.
replies(1): >>45793650 #
134. bawolff ◴[] No.45793317{4}[source]
> That’s just clearly untrue for freely available software. So every person that ever published a hobby project on GitHub has a duty to fix security issues in it?

Yes, i think there is a moral duty if you are presenting the software for the general public to use. Or if you dont to at least make it clear how you handle stuff so that users can make their own decisions.

> But there’s no contract with the free software developers. No duty of care from them to end users. Absolutely no duty.

In your view would it be acceptable to backdoor open source software to sell user's data to the highest bidder? That's obviously not what happened here, but seems like the obvious conclusion of your argument.

135. ronsor ◴[] No.45793564{3}[source]
Reverse engineering for interoperability is generally legal. Even if not, copyright does not follow the "fruit of the poisoned tree" idea, so if the new code isn't substantially similar to the original, it doesn't matter.
136. IshKebab ◴[] No.45793595{6}[source]
Really? You think trackers download files and analyse their contents before listing them? I don't.
137. x0x0 ◴[] No.45793650{9}[source]
Fix it or we publish exploit code is not far off.
replies(2): >>45793724 #>>45793898 #
138. nradov ◴[] No.45793724{10}[source]
So let them publish exploit code. What's the problem?
139. bawolff ◴[] No.45793815{5}[source]
> Not to mention they just have a vested interest in getting the problem solved. Even if we don't talk about money.

Correct me if im wrong, but based on the report this looks like something that would affect regular users of ffmpeg but not google's use.

140. bawolff ◴[] No.45793870{4}[source]
By the same token nobody has the duty to responsibly disclose security bugs. The entire premise of responsible disclosure is that security researchers give time for upstream projects to fix security issues by privately reporting the issues, in exchange the maintainers graciously accept the reports. Its a deal that benefits maintainers much more than it benefits researchers. If ffmpeg doesn't want that deal, then google should go the full disclosure route.

> If you want the security issue to be fixed,

There is no indication that google actually cared much whether the issue got fixed or not. It seems like the course of events is that they noticed something looked wrong with the code so they filed a bug. That's it.

> willing to pay for them to fix.

Should ffmpeg pay for security researchers time to find these issues? The market price for that is much much much higher than the price to fix bugs.

If you were to pay someone to do vulnerability testing in ffmpeg with sufficient skill to find this issue, it would probably cost you in the hundreds of thousands of dollars at least.

141. bawolff ◴[] No.45793898{10}[source]
Well either you care about security or you don't.

If you don't then your users should have the right know, so they can decide for themselves whether or not the risk is worth it.

Do you think that just because a project doesn't disclose something it goes away, or that if google can find the bug that much better funded groups like the NSA or malware vendors can't. Shoving things under the rug is the worst outcome.

142. ◴[] No.45794013[source]
143. kyrra ◴[] No.45794039{3}[source]
They have around at least 3000 commits, assuming this search is right?

https://github.com/search?q=repo%3AFFmpeg%2FFFmpeg+%40google...

And they have done large pushes in the past: https://security.googleblog.com/2014/01/ffmpeg-and-thousand-...

144. renewiltord ◴[] No.45794162{8}[source]
Yeah, that’s just how life is. We used to run with Heartbleed and Spectre turned off.