{"id":"CVE-2012-6089","aliases":["DEBIAN-CVE-2012-6089","EUVD-2012-5960","GHSA-mvxf-4rwc-h287","UBUNTU-CVE-2012-6089"],"status":"published","title":"Multiple stack-based buffer overflows in the canoniseFileName function in os/pl-os.c in SWI...","description":"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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04019,"percentile":0.90644,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2013-01-04T11:00:00Z","modified":"2026-10-23T17:47:50Z","fixes":[{"ecosystem":"Debian:12","package":"swi-prolog","fixed_in":["5.10.4-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"swi-prolog","fixed_in":["5.10.4-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"swi-prolog","fixed_in":["5.10.4-5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"swi-prolog","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.4-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"swi-prolog","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.4-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"swi-prolog","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.4-5"}]}]}],"products":[{"vendor":"swi-prolog","product":"swi-prolog"}],"references":[{"url":"http://openwall.com/lists/oss-security/2013/01/03/7","tags":["mailing-list","x_refsource_MLIST","x_transferred","web","report"]},{"url":"https://lists.iai.uni-bonn.de/pipermail/swi-prolog/2012/009428.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=891577","tags":["x_refsource_CONFIRM","x_transferred","report"]},{"url":"http://www.swi-prolog.org/git/pl.git/commit/a9a6fc8a2a9cf3b9154b490a4b1ffaa8be4d723c","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-6089"},{"url":"https://github.com/advisories/GHSA-mvxf-4rwc-h287"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-6089","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2012-6089","tags":["report"]},{"url":"http://www.swi-prolog.org/git/pl.git/commitdiff/a9a6fc8a2a9cf3b9154b490a4b1ffaa8be4d723c","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-6089","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2012-6089","description":"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.","status":"published","published":"2013-01-04T11:00:00Z","modified":"2024-09-17T01:55:59.305Z","updated_at":"2026-11-02T14:34:51.269982Z"}],"euvd":[{"id":"EUVD-2012-5960","description":"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.","status":"published","published":"2013-01-04T11:00:00Z","modified":"2024-09-17T01:55:59Z","updated_at":"2026-11-03T00:28:45.29969Z"}],"ghsa":[{"id":"GHSA-mvxf-4rwc-h287","title":"Multiple stack-based buffer overflows in the canoniseFileName function in os/pl-os.c in SWI...","description":"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.","status":"published","published":"2022-05-17T05:17:23Z","modified":"2023-01-28T05:03:41Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:44:01.600354Z"}],"nvd":[{"id":"CVE-2012-6089","description":"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.","status":"published","published":"2013-01-04T11:52:15.257Z","modified":"2026-06-16T23:47:48.297Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:02:16.958223Z"}],"osv":[{"id":"CVE-2012-6089","description":"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.","status":"published","published":"2013-01-04T11:52:15Z","modified":"2026-04-10T03:43:14.67152Z","updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"DEBIAN-CVE-2012-6089","description":"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.","status":"published","published":"2013-01-04T11:52:15.257Z","modified":"2026-10-23T17:47:50.580486529Z","updated_at":"2026-11-02T15:45:25.218101Z"},{"id":"UBUNTU-CVE-2012-6089","description":"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.","status":"withdrawn","published":"2013-01-04T11:52:00Z","modified":"2025-07-16T08:10:38.271695Z","updated_at":"2026-11-02T15:54:06.854805Z"}]}}
