Bug 2554096

Summary: CVE-2026-85748 mariadb12.3: mariadb: use-after-free in SYS_REFCURSOR during FETCH operations [fedora-all]
Product: [Fedora] Fedora Reporter: Laura Pardo <lpardo>
Component: mariadb12.3Assignee: Michal Schorm <mschorm>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: db-sig, mschorm
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["14809952-868f-4225-b416-7a1d2821b38b"]}
Fixed In Version: mariadb12.3-12.3.4-4.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-12-01 01:03:14 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: 2553279    

Description Laura Pardo 2026-10-16 12:54:14 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.

A use-after-free vulnerability was found in MariaDB's SYS_REFCURSOR handling during FETCH operations. An authenticated, low-privileged SQL user can trigger a use-after-free condition that potentially allows control over a virtual function call. When chained with a separate information-disclosure vulnerability, this can be used to modify Security_context::master_access to obtain FILE privileges and subsequently achieve operating-system command execution through UDF loading.

The researcher reports successful exploitation against MariaDB 13.0.1-rc with ASLR, PIE, and Full RELRO enabled.

Reference: https://hackerone.com/reports/3856148

Comment 2 Fedora Update System 2026-11-19 14:37:14 UTC
FEDORA-2026-ef3f9eb68b (mariadb12.3-12.3.4-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ef3f9eb68b

Comment 3 Fedora Update System 2026-11-19 19:27:45 UTC
FEDORA-2026-ef3f9eb68b 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-ef3f9eb68b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-ef3f9eb68b

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

Comment 4 Fedora Update System 2026-11-24 07:19:15 UTC
FEDORA-2026-628a70a5a0 (mariadb12.3-12.3.4-4.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-628a70a5a0

Comment 5 Fedora Update System 2026-11-25 03:29:47 UTC
FEDORA-2026-628a70a5a0 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-628a70a5a0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-628a70a5a0

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

Comment 6 Fedora Update System 2026-11-26 22:05:31 UTC
FEDORA-2026-6d1b4a87a7 (mariadb12.3-12.3.4-4.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6d1b4a87a7

Comment 7 Fedora Update System 2026-11-26 22:05:38 UTC
FEDORA-2026-66404410a8 (mariadb12.3-12.3.4-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-66404410a8

Comment 8 Fedora Update System 2026-11-27 02:32:02 UTC
FEDORA-2026-66404410a8 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-66404410a8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-66404410a8

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

Comment 9 Fedora Update System 2026-11-27 03:22:50 UTC
FEDORA-2026-6d1b4a87a7 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-6d1b4a87a7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6d1b4a87a7

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

Comment 10 Fedora Update System 2026-12-01 01:03:14 UTC
FEDORA-2026-628a70a5a0 (mariadb12.3-12.3.4-4.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.