{"id":"ALPINE-CVE-2016-6662","details":"Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.27, and 10.1.x before 10.1.17; and Percona Server before 5.5.51-38.1, 5.6.x before 5.6.32-78.0, and 5.7.x before 5.7.14-7 allow local users to create arbitrary configurations and bypass certain protection mechanisms by setting general_log_file to a my.cnf configuration. NOTE: this can be leveraged to execute arbitrary code with root privileges by setting malloc_lib. NOTE: the affected MySQL version information is from Oracle's October 2016 CPU. Oracle has not commented on third-party claims that the issue was silently patched in MySQL 5.5.52, 5.6.33, and 5.7.15.","modified":"2026-03-09T00:59:01.517523Z","published":"2016-09-20T18:59:00.127Z","upstream":["CVE-2016-6662"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2016-6662"}],"affected":[{"package":{"name":"mariadb","ecosystem":"Alpine:v3.2","purl":"pkg:apk/alpine/mariadb?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.51-r0"}]}],"versions":["5.5.41-r0","5.5.41-r1","5.5.41-r2","5.5.42-r0","5.5.42-r1","5.5.42-r2","5.5.42-r3","5.5.42-r4","5.5.43-r0","5.5.43-r1","5.5.43-r2","5.5.43-r3","5.5.46-r0","5.5.47-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2016-6662.json"}},{"package":{"name":"mariadb","ecosystem":"Alpine:v3.3","purl":"pkg:apk/alpine/mariadb?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.1.17-r0"}]}],"versions":["10.0.21-r0","10.0.21-r1","10.0.21-r2","10.1.11-r0","10.1.11-r1","10.1.12-r0","10.1.12-r1","10.1.8-r0","10.1.8-r1","10.1.9-r0","10.1.9-r1","10.1.9-r2","5.5.41-r0","5.5.41-r1","5.5.41-r2","5.5.42-r0","5.5.42-r1","5.5.42-r2","5.5.42-r3","5.5.42-r4","5.5.43-r0","5.5.43-r1","5.5.43-r2","5.5.43-r3","5.5.43-r4","5.5.43-r5"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2016-6662.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}