fix(libsixel): fix CVE-2026 security vulnerabilities#6
Closed
Zeno-sole wants to merge 4 commits into
Closed
Conversation
Zeno-sole
commented
Jun 10, 2026
Contributor
Backport six CVE-2026 fixes from upstream saitoha/libsixel: - CVE-2026-33023: Integer overflow in DCS parameter scaling - CVE-2026-33020: Parser cursor overflow in SIXEL decoder - CVE-2026-33018: Null pointer dereference in palette allocation - CVE-2026-33021: Integer overflow in highcolor encoder - CVE-2026-44636: Integer overflows in encoder and quantizer - CVE-2026-44637: Bad-free in libpng and improper frame lifecycle Log: Fix six CVE-2026 vulnerabilities in libsixel Influence: 1. Test libsixel decoding with crafted SIXEL/PNG/GIF input 2. Verify no segmentation faults with malformed images 3. Check palette allocation null pointer handling 4. Validate DCS parameter scaling integer overflow prevention 5. Verify encoder delay calculation with large values fix(libsixel): 修复 CVE-2026 安全漏洞 从上游 saitoha/libsixel 回溯六个 CVE-2026 修复: - CVE-2026-33023: DCS 参数缩放整数溢出 - CVE-2026-33020: SIXEL 解码器光标溢出 - CVE-2026-33018: 调色板空指针解引用 - CVE-2026-33021: 高彩色编码器整数溢出 - CVE-2026-44636: 编码器和量化器整数溢出 - CVE-2026-44637: libpng 错误释放和帧生命周期问题 Log: 修复 libsixel 六个 CVE-2026 安全漏洞 Influence: 1. 测试使用恶意构造的 SIXEL/PNG/GIF 输入解码 2. 验证畸形图像不会导致段错误 3. 检查调色板分配空指针处理 4. 验证 DCS 参数缩放整数溢出防护 5. 验证编码器大值延时计算 repo: libsixel #master
…flow Backport fixes from upstream saitoha/libsixel for CVE-2026-33019: - GIF transparent color index heap buffer overflow: validate transparent index against palette bounds before palette write access - Encoder resize target integer overflow: use long long arithmetic with bounds clamping to prevent signed integer overflow Log: Fix CVE-2026-33019 in libsixel Influence: 1. Test libsixel GIF decoding with crafted transparent index values 2. Verify no heap-buffer-overflow with malformed GIF input 3. Test encoder resize with extreme dimension values 4. Validate integer overflow prevention in resize computation fix(libsixel): 修复 CVE-2026-33019 GIF 透明索引越界和调整大小溢出 从上游 saitoha/libsixel 回溯 CVE-2026-33019 修复: - GIF 透明颜色索引堆缓冲区溢出:在调色板写入前验证透明索引边界 - 编码器调整大小目标整数溢出:使用 long long 算术和边界限制防止溢出 Log: 修复 libsixel 的 CVE-2026-33019 漏洞 Influence: 1. 测试使用畸形透明索引值解码 GIF 2. 验证恶意 GIF 输入不会导致堆缓冲区溢出 3. 测试编码器使用极端尺寸值调整大小 4. 验证调整大小计算中的整数溢出防护 repo: libsixel #master
Backport six CVE-2026 fixes from upstream saitoha/libsixel: - CVE-2026-33023: Integer overflow in DCS parameter scaling - CVE-2026-33020: Parser cursor overflow in SIXEL decoder - CVE-2026-33018: Null pointer dereference in palette allocation - CVE-2026-33021: Integer overflow in highcolor encoder - CVE-2026-44636: Integer overflows in encoder and quantizer - CVE-2026-44637: Bad-free in libpng and improper frame lifecycle Log: Fix six CVE-2026 vulnerabilities in libsixel Influence: 1. Test libsixel decoding with crafted SIXEL/PNG/GIF input 2. Verify no segmentation faults with malformed images 3. Check palette allocation null pointer handling 4. Validate DCS parameter scaling integer overflow prevention 5. Verify encoder delay calculation with large values fix(libsixel): 修复 CVE-2026 安全漏洞 从上游 saitoha/libsixel 回溯六个 CVE-2026 修复: - CVE-2026-33023: DCS 参数缩放整数溢出 - CVE-2026-33020: SIXEL 解码器光标溢出 - CVE-2026-33018: 调色板空指针解引用 - CVE-2026-33021: 高彩色编码器整数溢出 - CVE-2026-44636: 编码器和量化器整数溢出 - CVE-2026-44637: libpng 错误释放和帧生命周期问题 Log: 修复 libsixel 六个 CVE-2026 安全漏洞 Influence: 1. 测试使用恶意构造的 SIXEL/PNG/GIF 输入解码 2. 验证畸形图像不会导致段错误 3. 检查调色板分配空指针处理 4. 验证 DCS 参数缩放整数溢出防护 5. 验证编码器大值延时计算 repo: libsixel #master
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 |
|
TAG Bot TAG: 1.10.5-1deepin4 |
Contributor
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.