Bug 2319289

Summary: CVE-2024-41311 libheif: OOB read and write via ImageOverlay::parse() [fedora-40]
Product: [Fedora] Fedora Reporter: Robb Gatica <rgatica>
Component: libheifAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 40CC: dominik, multimedia-sig, ngompa13, sergio
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/advisories/ghsa-mwf7-wfvq-vc32
Whiteboard: {"flaws": ["47b9c9b6-7781-4647-9fea-8a72a7b0f9e5"]}
Fixed In Version: libheif-1.19.5-3.fc40 libheif-1.19.5-3.fc41 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-15 02:22:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2318956    

Description Robb Gatica 2024-10-16 21:39:28 UTC
More information about this security flaw is available in the following bug:

https://bugzilla.redhat.com/show_bug.cgi?id=2318956

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Dominik 'Rathann' Mierzejewski 2024-11-26 18:27:42 UTC
This is https://github.com/strukturag/libheif/issues/1226 and is fixed in 1.18.0 or later (https://github.com/strukturag/libheif/commit/a3ed1b1eb178c5d651d6ac619c8da3d71ac2be36).

Comment 2 Fedora Update System 2025-02-07 20:14:04 UTC
FEDORA-2025-666aaa6a0d (libheif-1.19.5-3.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-666aaa6a0d

Comment 3 Fedora Update System 2025-02-07 20:14:05 UTC
FEDORA-2025-8fdb7be3cb (libheif-1.19.5-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-8fdb7be3cb

Comment 4 Fedora Update System 2025-02-08 01:47:00 UTC
FEDORA-2025-8fdb7be3cb has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-8fdb7be3cb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-8fdb7be3cb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-02-08 02:41:22 UTC
FEDORA-2025-666aaa6a0d has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-666aaa6a0d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-666aaa6a0d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-02-15 02:22:47 UTC
FEDORA-2025-666aaa6a0d (libheif-1.19.5-3.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2025-02-15 02:36:15 UTC
FEDORA-2025-8fdb7be3cb (libheif-1.19.5-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.