{"id":"DEBIAN-CVE-2024-27354","details":"An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. An attacker can construct a malformed certificate containing an extremely large prime to cause a denial of service (CPU consumption for an isPrime primality check). NOTE: this issue was introduced when attempting to fix CVE-2023-27560.","modified":"2026-09-15T09:02:56.441321895Z","published":"2024-03-01T23:15:08.500Z","upstream":["CVE-2024-27354"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-27354"}],"affected":[{"package":{"name":"php-phpseclib","ecosystem":"Debian:12","purl":"pkg:deb/debian/php-phpseclib?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.42-1+deb12u2"}]}],"versions":["2.0.42-1","2.0.42-1+deb12u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-27354.json"}},{"package":{"name":"php-phpseclib","ecosystem":"Debian:13","purl":"pkg:deb/debian/php-phpseclib?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.47-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-27354.json"}},{"package":{"name":"php-phpseclib","ecosystem":"Debian:14","purl":"pkg:deb/debian/php-phpseclib?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.47-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-27354.json"}},{"package":{"name":"php-phpseclib3","ecosystem":"Debian:12","purl":"pkg:deb/debian/php-phpseclib3?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.19-1+deb12u3"}]}],"versions":["3.0.19-1","3.0.19-1+deb12u1","3.0.19-1+deb12u2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-27354.json"}},{"package":{"name":"php-phpseclib3","ecosystem":"Debian:13","purl":"pkg:deb/debian/php-phpseclib3?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.36-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-27354.json"}},{"package":{"name":"php-phpseclib3","ecosystem":"Debian:14","purl":"pkg:deb/debian/php-phpseclib3?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.36-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-27354.json"}},{"package":{"name":"phpseclib","ecosystem":"Debian:12","purl":"pkg:deb/debian/phpseclib?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.20-1+deb12u2"}]}],"versions":["1.0.20-1","1.0.20-1+deb12u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-27354.json"}},{"package":{"name":"phpseclib","ecosystem":"Debian:13","purl":"pkg:deb/debian/phpseclib?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.23-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-27354.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}