Repository navigation
ffmpeg 8.1.3 r5: Mbed TLS 3.6.7 - #6
Merged
Merged
Conversation
The Linux ffmpeg artifact built Mbed TLS 3.6.4, which OBS-Studio-Rust's AppImage bundles: the RTMPS output (obs-outputs' librtmp: certificate parsing and verification, the TLS handshake), libsrt (SRT encryption) and librist (RIST encryption) link it. 3.6.5 to 3.6.7 fix public advisories, among them CVE-2026-49300 (X.509 CA-bit forgery through an invalid basicConstraints extension), CVE-2026-25834 (TLS 1.2 client accepted a disallowed ServerKeyExchange signature algorithm), CVE-2026-25832 (TLS 1.3 client accepted a HelloRetryRequest for an unadvertised group), CVE-2026-50581 (extended master secret errors ignored) and CVE-2026-25835 (RNG state shared across fork()). mbedtls() takes the official mbedtls-3.6.7.tar.bz2 release file by its sha256 (the one in the release's sha256sum file). Its tree is identical, file for file, to the mbedtls-3.6.7 tag (068ff080) checked out with its framework submodule; the generated files are part of both. The build options are unchanged, libsrt and librist are rebuilt against it, and the sonames stay libmbedtls.so.21, libmbedx509.so.7 and libmbedcrypto.so.16. Packed as ffmpeg 8.1.3 with --label r5, continuing the revisions of this artifact. Built in the pinned manylinux_2_28 image: no exported symbol is removed or changes size (3.6.7 only adds 19), the public structs keep their sizes, and every other library in the artifact differs from r4 only in its embedded build directory. Refs obs-rust/obs-studio#1121 Co-Authored-By: Claude Opus 5.5 <[email protected]>
zackees
approved these changes
Oct 20, 2026
zackees
left a comment
Member
There was a problem hiding this comment.
Coordinator review: approve.
Checked:
- Upstream release is real.
mbedtls-3.6.7is an official Mbed-TLS/mbedtls release (published 2026-07-07, 3.6 LTS). The annotated tag points at commit 068ff080b369adfac81509f9b57b2afabaf82dc5, matching the comment in the recipe. - Checksum. I downloaded
mbedtls-3.6.7.tar.bz2from the release. Its sha256 isa7e8bcbe…212d11f6, which matches both the recipe and upstream'smbedtls-3.6.7-sha256sum.txt.tar_srcchecks it withsha256sum -cbefore extracting, so the pin is enforced. - Tarball contents. The tarball ships the
framework/submodule and the pre-generated sources (library/psa_crypto_driver_wrappers.h,error.c), so-DGEN_FILES=OFFstill works.build_info.hreports 3.6.7. - ABI. The CMake SOVERSIONs are unchanged: mbedcrypto 16, mbedx509 7, mbedtls 21. Consumers built against r4 keep loading.
- Build flags. The cmake options are identical to r4. The only change is the source moving from a git commit pin to a checksummed release tarball, which is fine and consistent with vpx/theora/lame/srt in the same recipe. The diff touches nothing else.
- Security value. The 3.6.7 release notes list 19 advisories. Several sit on OBS's RTMPS, SRT and RIST client paths: X.509 CA-bit forgery via basicConstraints, signature-algorithm restrictions not enforced on the chain, the TLS 1.3 HRR unadvertised group, the ignored EMS error (CVE-2026-50581), the RSA PKCS#1 v1.5 timing issue (CVE-2026-50587), and the ECDHE-PSK client overflow. This is worth shipping.
Notes, non-blocking:
- The repo has no PR CI for the Linux recipes (only
qt6.yml), so validation rests on the author's manylinux_2_28 build and A/B run described above. After merge, the r5 asset should be published with--label r5beside r4, the same way r3 and r4 were. - The follow-up obs-studio PR that pins r5 should assert Mbed TLS >= 3.6.7 in the AppDir, as the description says, and extend
test-appimage.shper the packaging rule (obs-rust/obs-studio#426).
Not merging. That is left to the maintainer.
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#1121
What and why
Updates Mbed TLS in the Linux ffmpeg artifact from 3.6.4 to 3.6.7 (
recipes/linux/ffmpeg.sh,mbedtls()), packed as ffmpeg 8.1.3 r5. It builds on #5 (r4, merged); the r4 recipe on main is the tree this was validated on.The OBS-Studio-Rust AppImage takes Mbed TLS from this artifact. The RTMPS output (librtmp in obs-outputs: certificate parsing and verification, the TLS handshake), libsrt (SRT encryption) and librist (RIST encryption) link it. 3.6.5 to 3.6.7 fix public advisories on the RTMPS client path, among them CVE-2026-49300 (X.509 CA-bit forgery through an invalid basicConstraints extension), CVE-2026-25834 (TLS 1.2 client accepted a disallowed ServerKeyExchange signature algorithm), CVE-2026-25832 (TLS 1.3 client accepted a HelloRetryRequest for an unadvertised group), CVE-2026-50581 (extended master secret errors ignored) and CVE-2026-25835 (RNG state shared across fork()).
mbedtls-3.6.7.tar.bz2release file, taken by the sha256 in the release's sha256sum file. Its tree is identical, file for file, to thembedtls-3.6.7tag (068ff080) with its framework submodule.libmbedtls.so.21,libmbedx509.so.7andlibmbedcrypto.so.16. No exported symbol is removed or changes size (3.6.7 only adds 19), and the public structs keep their sizes. Every other library in the artifact differs from r4 only in its embedded build directory.Tested
The obs-studio PR that pins r5 (and checks for Mbed TLS ≥ 3.6.7 in the AppDir) follows once the r5 asset is published.
🤖 Generated with Claude Code