已开启
Fix CVE-2026-40962 in ffmpeg for openEuler-25.09 #377
Fix CVE-2026-40962 in ffmpeg for openEuler-25.09 #377
已开启
jixiang创建于 7月11日
jixiang
jixiang
7月11日

Fix CVE-2026-40962 on openEuler-25.09 (ffmpeg 7.1).

Issue: https://gitcode.com/src-openeuler/ffmpeg/issues/202

Backport details:

  • adapts the upstream CENC subsample bounds-check fix for ffmpeg 7.1
  • changes four CENC decrypt paths in libavformat/mov.c to cast protected subsample size to int64_t before addition
  • prevents integer overflow before comparing against remaining packet size

Local validation:

  • extracted ffmpeg-7.1.tar.xz from openEuler-25.09 branch
  • applied existing spec patches in order
  • generated adapted CVE-2026-40962.patch from the already patched 7.1 tree
  • verified patch -p1 --dry-run and actual patch -p1 succeed
  • verified four int64_t bounds checks are present in libavformat/mov.c

Note: master (7.1.5) already contains this change, so this MR targets openEuler-25.09 only.

likedislike
合并受阻
jixiangjixiang
7月11日 创建了 pull request,commit f7cec082
jixiangjixiang
7月11日 关联了issue:CVE-2026-40962
jixiang
jixiang
7月11日 评论:

/check-cla

likedislike
jixiang
jixiang
7月11日 评论:

/retest

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
7月11日 评论:

当前仓库存在以下 保护分支

Protected Branch Version Release
master 7.1.5 3
openEuler-20.03-LTS-SP4 4.2.4 42
openEuler-24.03-LTS-SP3 6.1.1 35
openEuler-24.03-LTS-SP1 6.1.1 35
openEuler-24.03-LTS-SP4 6.1.1 35
openEuler-22.03-LTS-SP4 4.2.4 42
openEuler-24.03-LTS-Next 6.1.1 35
fix-cve-2020-22015-sp4 4.2.4 32
fix-cve-2020-22015 4.2.4 32
fix-cve-2020-22022 4.2.4 31
fix-cve-2020-20451 4.2.4 26

评论 /sync <branch1> <branch2> ... 可将当前 PR 修改同步到其它分支(创建同步 PR):
a) 如果当前 PR 是 Open 状态,同步操作将延迟到 PR 被合并时执行
b) 如果当前 PR 已经 Merged,将立即执行同步操作

注意:

  1. /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
  2. 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭
likedislike
此处折叠了44条消息 查看更多
openeuler-ci-botopeneuler-ci-bot成员
7月13日 删除了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
7月13日 评论:
Check Name Build Result 详情 Build Details
check_binary_file SUCCESS #195
check_lfsconfig :ballot_box_with_check:EXCLUDE
check_package_yaml_file SUCCESS
check_repo_in_maintain SUCCESS
check_consistency SUCCESS
check_spec_file SUCCESS
x86_64 check_build FAILED #195
aarch64 check_build FAILED #195
likedislike
openeuler-ci-botopeneuler-ci-bot成员
7月13日 添加了label:ci_failed
openeuler-ci-bot
openeuler-ci-bot成员
7月13日 评论:
likedislike
jixiang
jixiang
7月13日 评论:

/ci_mistake 195 infra check_build

likedislike