Skip to content

fix(cve): CVE-2026-109908 - encparse: fix heap out-of-bounds write in setCode() - #6

Merged
Zeno-sole merged 1 commit into
masterfrom
fix-cve/CVE-2026-109908
Nov 24, 2026
Merged

Zeno-sole merged 1 commit into
masterfrom
fix-cve/CVE-2026-109908

Conversation

@deepin-ci-robot

Copy link
Copy Markdown
Contributor

CVE: CVE-2026-109908 (high) - setCode() 中目标索引由 .enc 编码文件中攻击者可控的两个值计算:index = (from >> 8) * row_size + (from & 0xFF)。from <= 0xFFFF,故 from >> 8 可达 0xFF;row_size 直接取自编码文件的 SIZE 行。目标缓冲区分配上限为 0x10000 项,当 row_size > 256 时索引超出分配范围,造成堆越界写。此外列边界检查错误地使用了全局变量 value1 而非函数参数 from。
Upstream: https://gitlab.freedesktop.org/xorg/lib/libfontenc/-/commit/5920c6ee144fffff84b62f5b479171f734f15316

Co-authored-by: hudeng hudeng@deepin.org
Generated-By: qwen-3.8-flash

… setCode()

CVE: CVE-2026-109908 (high) - setCode() 中目标索引由 .enc 编码文件中攻击者可控的两个值计算:index = (from >> 8) * row_size + (from & 0xFF)。from <= 0xFFFF,故 from >> 8 可达 0xFF;row_size 直接取自编码文件的 SIZE 行。目标缓冲区分配上限为 0x10000 项,当 row_size > 256 时索引超出分配范围,造成堆越界写。此外列边界检查错误地使用了全局变量 value1 而非函数参数 from。
Upstream: https://gitlab.freedesktop.org/xorg/lib/libfontenc/-/commit/5920c6ee144fffff84b62f5b479171f734f15316

Co-authored-by: hudeng <hudeng@deepin.org>
Generated-By: qwen-3.8-flash
@deepin-ci-robot

Copy link
Copy Markdown
Contributor Author

/hold
因为该quilt包的上游版本号变更,详情见: deepin-community/infra-settings#134

@deepin-ci-robot

Copy link
Copy Markdown
Contributor Author

[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 assign goldendeng for approval. 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%1.1.8-1deepin2
EXISTED: no
DISTRIBUTION: unstable

@Zeno-sole
Zeno-sole merged commit 1e51d0b into master Nov 24, 2026
8 of 9 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in sysdev-20261124 Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants