Skip to content

fix(libsixel): fix CVE-2026 security vulnerabilities#6

Closed
Zeno-sole wants to merge 4 commits into
deepin-community:masterfrom
Zeno-sole:master
Closed

fix(libsixel): fix CVE-2026 security vulnerabilities#6
Zeno-sole wants to merge 4 commits into
deepin-community:masterfrom
Zeno-sole:master

Conversation

@Zeno-sole

Copy link
Copy Markdown
Contributor
fix(libsixel): fix CVE-2026 security vulnerabilities

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

Zeno-sole added 3 commits May 21, 2026 21:51
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
@deepin-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from zeno-sole. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions

Copy link
Copy Markdown

TAG Bot

TAG: 1.10.5-1deepin4
EXISTED: no
DISTRIBUTION: unstable

@Zeno-sole

Copy link
Copy Markdown
Contributor Author

/integrate

@github-actions

Copy link
Copy Markdown

AutoIntegrationPr Bot
auto integrate with pr url: deepin-community/Repository-Integration#4146
PrNumber: 4146
PrBranch: auto-integration-27264084422

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants