{"id":"UBUNTU-CVE-2025-62611","details":"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.","modified":"2026-05-20T16:23:40.479302896Z","published":"2025-10-22T20:15:00Z","upstream":["CVE-2025-62611"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-62611"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-62611"},{"type":"REPORT","url":"https://github.com/aio-libs/aiomysql/security/advisories/GHSA-r397-ff8c-wv2g"},{"type":"REPORT","url":"https://github.com/aio-libs/aiomysql/pull/1044"},{"type":"REPORT","url":"https://github.com/aio-libs/aiomysql/commit/32c4520dae3711367ded74a4726dcb8bb8919538"}],"affected":[{"package":{"name":"aiomysql","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/aiomysql?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.20-1","0.0.20-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-aiomysql","binary_version":"0.0.20-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-62611.json"}},{"package":{"name":"aiomysql","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/aiomysql?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.20-2","0.0.20-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-aiomysql","binary_version":"0.0.20-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-62611.json"}},{"package":{"name":"aiomysql","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/aiomysql?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.1.1-2","binary_name":"python3-aiomysql"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-62611.json"}},{"package":{"name":"aiomysql","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/aiomysql?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.1.1-2","binary_name":"python3-aiomysql"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-62611.json"}},{"package":{"name":"aiomysql","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/aiomysql?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.1-2","0.3.2-1","0.3.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-aiomysql","binary_version":"0.3.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-62611.json"}}],"schema_version":"1.7.5","severity":[{"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"},{"type":"Ubuntu","score":"medium"}]}