Repository navigation
ffmpeg 8.1.3 r4 - #5
Merged
Merged
Conversation
The Linux ffmpeg artifact built FFmpeg 8.1.2, which OBS-Studio-Rust's AppImage bundles: every file or URL its Media Source and image loader open reaches FFmpeg's demuxers and decoders. 8.1.2 has public CVEs there that 8.1.3 fixes: CVE-2026-64830 (VobSub demuxer), CVE-2026-64835 (ADX decoder), CVE-2026-66039 (MACE6), CVE-2026-65703 (TDSC), CVE-2026-70632 (CFHD), CVE-2026-70628 (DVB subtitle parser), CVE-2026-58049 (RASC) and CVE-2026-64832 (NVDEC); CVE-2026-75146 (DASH demuxer) is not built here (no libxml2). ffmpeg() takes the ffmpeg.org release tarball of 8.1.3 by its sha256. Its tree is the n8.1.3 tag's (1041abdc) without the git dotfiles, plus the VERSION file (8.1.3) that the old `echo 8.1.2 >VERSION` wrote by hand; its detached signature verifies with the FFmpeg release key FCF986EA15E6E293A5644F10B4322F04D67658D8. Every configure option is unchanged (configure's summary of enabled components is identical), as are the sonames and every other library in the artifact (libsrt 1.5.7 from r3). Packed as ffmpeg 8.1.3 with --label r4, continuing the revisions of this artifact. Built in the pinned manylinux_2_28 image: the glibc 2.28 floor check passes; exported symbols of all seven libraries are identical to r3's. Refs obs-rust/obs-studio#1091 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs obs-rust/obs-studio#1091
What and why
Bumps FFmpeg in the Linux ffmpeg artifact from 8.1.2 to 8.1.3 (
recipes/linux/ffmpeg.sh,ffmpeg()), packed as ffmpeg 8.1.3 r4. It builds on #4 (the libsrt 1.5.7 rebuild, r3, merged).The OBS-Studio-Rust AppImage takes its FFmpeg from this artifact. Every file or URL that its Media Source and image loader open goes through FFmpeg's demuxers and decoders, with full probing and no format whitelist. FFmpeg 8.1.2 has public memory-corruption CVEs there, all fixed in 8.1.3:
--enable-nvdec); OBS uses it only with hardware decoding on, on NVIDIAThe fixes are the cherry-picks in n8.1.2..n8.1.3, for example 4fe710047d (VobSub, from dbd495f0 on master), 9cbcf979a5 (NVDEC, from 4c621747) and 62d4ca1f3e (DASH, from 65b0dab9).
ffmpeg()now takes the ffmpeg.org release tarballffmpeg-8.1.3.tar.xzby its sha256,7138d28c96d9d3e3af4ee3d8cad72741f8ffb40da90c1112235dea3ecd3178a3, instead of a git commit..gitignore/.gitattributesfiles and adds aVERSIONfile that holds8.1.3.VERSIONfile replaces theecho 8.1.2 >VERSIONthe recipe needed for a shallow checkout. OBS's FindFFmpeg still sees the release number..asc) verifies with the FFmpeg release signing keyFCF9 86EA 15E6 E293 A564 4F10 B432 2F04 D676 58D8.libavcodec.so.62,libavformat.so.62,libavutil.so.60,libavfilter.so.11,libavdevice.so.62,libswscale.so.9andlibswresample.so.6, with minor version 102 → 103.avio_vprintfinstead ofavio_write, and libswscale also importsfmin,fmaxandroundfrom libm. All of these come from the artifact itself or from glibc ≤ 2.28.#defineinswscale.h.Tested
Build. Built in the pinned manylinux_2_28 image with this recipe. The glibc 2.28 floor check passes.
uv run --group dev pytest(9 passed) andruff checkpass.FATE. FFmpeg's own suite ran on 8.1.3 with this recipe's exact configure line, except that the programs are built because FATE needs
ffmpeg/ffprobe. All 2812 tests that need no external sample files passed (make -k fate, no failures). The same run on 8.1.2 passed 2808; the 4 extra tests are new in 8.1.3. The only test not run, in both, isfate-hwdevice, which needs a hardware device. Thefate-suitesample corpus was not used, see below.Product A/B. The AppImage was built the way CI builds it, once with r3 (A) and once with this r4 (B), from obs-studio's AppImage branch. The OBS binaries and plugins of A and B are byte-identical; only the FFmpeg libraries (and the rebuilt codec libraries' embedded build paths) differ. Each build then ran the full app with UI, headless (private Xvfb, D-Bus and HOME,
ulimit -c 0), in a private network namespace with only loopback. The test media were ordinary valid files generated by a separate ffmpeg. All 25 checks gave the same result on A and B, and the measured values matched within run-to-run noise. The checks covered:The few failures are pre-existing OBS issues, identical in both builds. B logs no error line that A doesn't.
Write-up with the inventory of every FFmpeg use in OBS, every check and its pass criteria, and what was not covered: kept with the obs-studio PR.
Not run: FFmpeg's
fate-suitesamples. The corpus includes regression files from crash and fuzzing reports, and these tests were limited to ordinary valid media.After merge
Please publish the r4 artifact (release
ffmpeg-8.1.3). The obs-studio PR for #1091 pins it by sha256. The sha256 there,2ec70342896410937218e5b42a211e65f2ba2eaa927293a06ac7335ddcd9d895, comes from a local build and gets replaced with the published asset's.AI note: Claude Code (Claude Opus 5.5) wrote the change and this text under the submitter's direction, and ran the tests above on the submitter's machines.
🤖 Generated with Claude Code