Skip to content
Heist/ feed
Back to feed
HighFix available

aiomysql — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-62611

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.

Products
aiomysql
Affected versions
0.1.1-2, 0.3.2-1, 0.3.2-2
Fixed versions
0.3.2-1
CVEs
CVE-2025-62611
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 11:07 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-62611

core-osv · Original source

Published 22 Oct 2025, 20:15 UTC

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.

osv:DEBIAN-CVE-2025-62611

aiomysql

Fixed versions: Not specified

aiomysql

Fixed versions: Not specified

aiomysql

Fixed versions: 0.3.2-1

Complete source record
{
  "id": "09d697c119db7058263416925fb25f7e905e61059b86452cb526d605d26b3ad3",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-62611",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-62611",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2025-62611",
    "products": [
      {
        "name": {
          "value": "aiomysql",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.1.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.3.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.3.2-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "aiomysql",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.1.1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.3.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.3.2-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "aiomysql",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.3.2-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.1.1-2",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2025-62611",
      "aliases": [
        "DEBIAN-CVE-2025-62611"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS: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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "aiomysql",
            "purl": "pkg:deb/debian/aiomysql?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "0.1.1-2",
            "0.3.2-1",
            "0.3.2-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-62611.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "aiomysql",
            "purl": "pkg:deb/debian/aiomysql?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "0.1.1-2",
            "0.3.2-1",
            "0.3.2-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-62611.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.3.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "aiomysql",
            "purl": "pkg:deb/debian/aiomysql?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "0.1.1-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-62611.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-09T09:47:27.875343577Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-62611"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-62611"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-62611",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 111539,
  "published_at": "2025-10-22T20:15:38.363+00:00"
}