Bug 2565432

Summary: CVE-2026-92824 libmodulemd: libmodulemd: out-of-bounds read when emitting rpm-map artifacts [fedora-all]
Product: [Fedora] Fedora Reporter: Melissa Ing <meing>
Component: libmodulemdAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: nils, rpm-software-management, sgallagh
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---Flags: fedora-admin-xmlrpc: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["022207e6-3166-4f17-a8e4-613f544567c3"]}
Fixed In Version: libmodulemd-2.15.4-1.fc46 libmodulemd-2.15.4-1.fc45 libmodulemd-2.15.4-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-10 01:08:44 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:

Description Melissa Ing 2026-11-03 00:37:16 UTC
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.

libmodulemd has a copy-paste bug in `modulemd_module_stream_v2_emit_rpm_map()`: the inner loop iterates `digests->len` (global digest algorithms) while indexing the per-digest `checksums` array. Modulemd v2 `artifacts.rpm-map` with multiple digest types can cause a heap overread and crash on serialize/round-trip.

Confirmed in upstream through 2.15.3. One-line fix: bound the inner loop on `checksums->len`. Upstream accepted the fix and is fine with public disclosure.

CWE-125 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (6.2 Moderate)

Comment 1 Fedora Update System 2026-11-06 16:53:52 UTC
FEDORA-2026-946f33e2c8 (libmodulemd-2.15.4-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-946f33e2c8

Comment 2 Fedora Update System 2026-11-06 16:58:47 UTC
FEDORA-2026-d657495ea3 (libmodulemd-2.15.4-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d657495ea3

Comment 3 Fedora Update System 2026-11-06 16:59:37 UTC
FEDORA-2026-d15b983466 (libmodulemd-2.15.4-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d15b983466

Comment 4 Fedora Update System 2026-11-07 02:32:18 UTC
FEDORA-2026-d657495ea3 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-d657495ea3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d657495ea3

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

Comment 5 Fedora Update System 2026-11-07 02:53:39 UTC
FEDORA-2026-946f33e2c8 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-946f33e2c8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-946f33e2c8

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

Comment 6 Fedora Update System 2026-11-07 03:14:10 UTC
FEDORA-2026-d15b983466 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-d15b983466`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d15b983466

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

Comment 7 Fedora Update System 2026-11-10 01:08:44 UTC
FEDORA-2026-946f33e2c8 (libmodulemd-2.15.4-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-11-10 01:32:48 UTC
FEDORA-2026-d657495ea3 (libmodulemd-2.15.4-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.