Skip to content

libavif: Fix CVE-2025-48174, CVE-2025-48175 (patch strategy)#5

Merged
Zeno-sole merged 3 commits into
masterfrom
fix/CVE-2025-48174-48175-multi
Jun 12, 2026
Merged

libavif: Fix CVE-2025-48174, CVE-2025-48175 (patch strategy)#5
Zeno-sole merged 3 commits into
masterfrom
fix/CVE-2025-48174-48175-multi

Conversation

@deepin-ci-robot

Copy link
Copy Markdown
Contributor

Security Update

This PR fixes the following CVEs using patch strategy (minimal changes):

CVE-2025-48174 (Critical)

  • Issue: Integer overflow in stream.c makeRoom leading to buffer overflow
  • Fix: Add integer overflow check to makeRoom function
  • Upstream: AOMediaCodec/libavif@e5fdefe

CVE-2025-48175 (Medium)

  • Issue: Integer overflow in reformat.c avifImageRGBToYUV for very large images
  • Fix: Declare *RowBytes as size_t to use 64-bit arithmetic
  • Upstream: AOMediaCodec/libavif@64d956e

Changes

  • Added debian/patches/Add-integer-overflow-check-to-makeRoom.patch
  • Added debian/patches/Declare-RowBytes-as-size_t-in-avifImageRGBToYUV.patch
  • Updated debian/changelog
  • Only debian/ directory modified (patch strategy)

Comparison with PR #4

Generated-by: uos/glm-5.1

deepin-ci-robot and others added 2 commits May 26, 2026 23:59
Add integer overflow check to makeRoom function in stream.c
to prevent buffer overflow vulnerabilities.

Upstream: AOMediaCodec/libavif@e5fdefe
Generated-By: uos/glm-5.1
Co-Authored-By: hudeng <hudeng@deepin.org>
Declare *RowBytes as size_t in avifImageRGBToYUV to prevent
integer overflow for very large images.

Upstream: AOMediaCodec/libavif@64d956e
Generated-By: uos/glm-5.1
Co-Authored-By: hudeng <hudeng@deepin.org>
@github-actions

github-actions Bot commented May 26, 2026

Copy link
Copy Markdown

TAG Bot

TAG: 1.1.1-1deepin1
EXISTED: no
DISTRIBUTION: unstable

@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 qaqland 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

@hudeng-go

Copy link
Copy Markdown
Contributor

/integrate

@github-actions

Copy link
Copy Markdown

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

@Zeno-sole

Copy link
Copy Markdown

版本号不符合规范

The version 1.1.1-1.2 is not a valid Debian version format.
Use 1.1.1-1deepin1 to follow deepin convention.

Co-Authored-By: hudeng <hudeng@deepin.org>
@hudeng-go

Copy link
Copy Markdown
Contributor

/integrate

@Zeno-sole Zeno-sole merged commit 189f679 into master Jun 12, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants