{"id":"DEBIAN-CVE-2022-31626","details":"In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply host to connect to and the password for the connection, password of excessive length can trigger a buffer overflow in PHP, which can lead to a remote code execution vulnerability.","modified":"2026-08-27T23:04:14.545301508Z","published":"2022-06-16T06:15:08.807Z","upstream":["CVE-2022-31626"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-31626"}],"affected":[{"package":{"name":"php7.4","ecosystem":"Debian:11","purl":"pkg:deb/debian/php7.4?arch=source&distro=bullseye"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.30-1+deb11u1"}]}],"versions":["7.4.21-1+deb11u1","7.4.25-1+deb11u1","7.4.26-1","7.4.28-1+deb11u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-31626.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}