{"id":"UBUNTU-CVE-2012-6089","details":"Multiple stack-based buffer overflows in the canoniseFileName function in os/pl-os.c in SWI-Prolog before 6.2.5 and 6.3.x before 6.3.7 allow remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted filename.","modified":"2025-07-16T08:10:38.271695Z","published":"2013-01-04T11:52:00Z","withdrawn":"2025-07-18T16:42:48Z","upstream":["CVE-2012-6089"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2012-6089"},{"type":"REPORT","url":"https://lists.iai.uni-bonn.de/pipermail/swi-prolog/2012/009428.html"},{"type":"REPORT","url":"http://www.swi-prolog.org/git/pl.git/commitdiff/a9a6fc8a2a9cf3b9154b490a4b1ffaa8be4d723c"},{"type":"REPORT","url":"http://www.swi-prolog.org/git/pl.git/commit/a9a6fc8a2a9cf3b9154b490a4b1ffaa8be4d723c"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=891577"},{"type":"REPORT","url":"http://openwall.com/lists/oss-security/2013/01/03/7"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2012-6089"}],"affected":[{"package":{"name":"swi-prolog","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/swi-prolog@6.6.4-2ubuntu1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.4-2ubuntu1"}]}],"versions":["6.2.6-7","6.4.1-3","6.4.1-4","6.6.0-2","6.6.4-1ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"6.6.4-2ubuntu1","binary_name":"swi-prolog"},{"binary_version":"6.6.4-2ubuntu1","binary_name":"swi-prolog-java"},{"binary_version":"6.6.4-2ubuntu1","binary_name":"swi-prolog-nox"},{"binary_version":"6.6.4-2ubuntu1","binary_name":"swi-prolog-odbc"},{"binary_version":"6.6.4-2ubuntu1","binary_name":"swi-prolog-x"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6089.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"low"}]}