CVE catalog

CVE-2025-62611

aiomysql: CVE-2025-62611

[CVE catalog]

Severity
High · CVSS 8.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.39% · Oct 25, 2026

aiomysql is a library for accessing a MySQL database from the asyncio. Prior to version 0.3.0, the client-side settings are not checked before sending local files to MySQL server, which allows obtaining arbitrary files from the client using a rogue server. It is possible to create a rogue MySQL server that emulates authorization, ignores client flags and requests arbitrary files from the client by sending a LOAD_LOCAL instruction packet. This issue has been patched in version 0.3.0.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianaiomysqlsid0.3.2-2fixed
Debianaiomysqlforky0.3.2-2fixed
Debianaiomysqltrixie0.1.1-2vulnerable
Debianaiomysqlbookworm0.1.1-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianaiomysqlsourcesid0.3.2-1not yet assignedNot reported[1118754]
Debianaiomysqlsourceforky0.3.2-1not yet assignedNot reported[1118754]
Debianaiomysqlsourcetrixie(unfixed)not yet assignedNot reported[1118754]
Debianaiomysqlsourcebookworm(unfixed)not yet assignedNot reported[1118754]

[Debian bug #1118754]

Notes

[trixie] aiomysql: Minor issue [bookworm] aiomysql: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [aiomysql]

    Details (2)
    • 0.1.1-2 · all · bookworm

      Affected

      dsa · aiomysql · debian · bookworm; dsa · aiomysql · debian · 12

    • 0.1.1-2 · all · bookworm

      Affected

      dsa · aiomysql · debian · bookworm; dsa · aiomysql · debian · 12

  • Source package: [aiomysql]

    Details (2)
    • 0.1.1-2 · all · bookworm

      Affected

      dsa · aiomysql · debian · bookworm; dsa · aiomysql · debian · 12

    • 0.1.1-2 · all · bookworm

      Affected

      dsa · aiomysql · debian · bookworm; dsa · aiomysql · debian · 12

[Debian 13 (Trixie)]

  • Source package: [aiomysql]

    Details (2)
    • 0.1.1-2 · all · trixie

      Affected

      dsa · aiomysql · debian · 13

    • 0.1.1-2 · all · trixie

      Affected

      dsa · aiomysql · debian · 13

  • Source package: [aiomysql]

    Details (2)
    • 0.1.1-2 · all · trixie

      Affected

      dsa · aiomysql · debian · 13

    • 0.1.1-2 · all · trixie

      Affected

      dsa · aiomysql · debian · 13

Observed:

References