fix: fix CVE-2026-2921 RIFF palette integer overflow vulnerability#6
Closed
Zeno-sole wants to merge 1 commit intodeepin-community:masterfrom
Closed
fix: fix CVE-2026-2921 RIFF palette integer overflow vulnerability#6Zeno-sole wants to merge 1 commit intodeepin-community:masterfrom
Zeno-sole wants to merge 1 commit intodeepin-community:masterfrom
Conversation
Add proper validation for palette data size in RIFF media handling. The vulnerability exists because num_colors * 4 could overflow and result in out-of-bounds reads/writes when processing AVI palette data. Use g_size_checked_mul() to check for integer overflow before comparing palette buffer size against expected size. This fixes: - GST-SA-2026-0004 - ZDI-CAN-28854 - CVE-2026-2921 Log: Fix CVE-2026-2921 RIFF palette integer overflow vulnerability Influence: 1. Verify AVI files with palette data are processed correctly 2. Test malformed AVI files with oversized palette values 3. Ensure no regression on normal AVI playback 4. Check security boundary is properly enforced fix: 修复 CVE-2026-2921 RIFF 调色板整数溢出漏洞 在 RIFF 媒体处理中添加调色板数据大小的正确验证。 该漏洞存在是因为 num_colors * 4 可能溢出,导致处理 AVI 调色板数据时 出现越界读写。 使用 g_size_checked_mul() 在比较调色板缓冲区大小与预期大小之前 检查整数溢出。 修复了: - GST-SA-2026-0004 - ZDI-CAN-28854 - CVE-2026-2921 Log: 修复 CVE-2026-2921 RIFF 调色板整数溢出漏洞 Influence: 1. 验证带有调色板数据的 AVI 文件能正确处理 2. 测试带有超大调色板值的畸形 AVI 文件 3. 确保正常 AVI 播放没有回归 4. 检查安全边界是否被正确执行 repo: gst-plugins-base1.0 #master
|
TAG Bot TAG: 1.24.6-1deepin1 |
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Author
|
/integrate |
|
AutoIntegrationPr Bot |
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.
Add proper validation for palette data size in RIFF media handling. The vulnerability exists because num_colors * 4 could overflow and result in out-of-bounds reads/writes when processing AVI palette data.
Use g_size_checked_mul() to check for integer overflow before comparing palette buffer size against expected size.
This fixes:
Log: Fix CVE-2026-2921 RIFF palette integer overflow vulnerability
Influence:
fix: 修复 CVE-2026-2921 RIFF 调色板整数溢出漏洞
在 RIFF 媒体处理中添加调色板数据大小的正确验证。
该漏洞存在是因为 num_colors * 4 可能溢出,导致处理 AVI 调色板数据时
出现越界读写。
使用 g_size_checked_mul() 在比较调色板缓冲区大小与预期大小之前
检查整数溢出。
修复了:
Log: 修复 CVE-2026-2921 RIFF 调色板整数溢出漏洞
Influence:
repo: gst-plugins-base1.0 #master