CVE-2012-6089

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.

Published: 2013-01-04 Last update: 2026-04-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-6089 is rated Moderate Risk (62.7/100): CVSS High severity, with medium exploitation likelihood (EPSS 4.02%). Core evidence: EPSS rose +1.47% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2012-6089

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 2.55% 4.02% +1.47%
2 2025-03-30 6.53% 2.55% -3.98%
3 2025-03-29 6.53%

Full EPSS history (14 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-6089

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2012-6089

OS Trackers for CVE-2012-6089

vendor priority summary link
debian low CVE-2012-6089 low priority: Debian including 1 source packages (swi-prolog), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2012-6089
gentoo normal CVE-2012-6089: 1 GLSA(s) (201312-05), 1 atom(s) (dev-lang/swi-prolog); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2012-6089
redhat low https://access.redhat.com/security/cve/CVE-2012-6089
ubuntu low CVE-2012-6089 low priority: Ubuntu including 1 source packages (swi-prolog), 18 status rows across 18 suites (artful, bionic, cosmic, hardy, lucid, oneiric, precise, quantal, raring, saucy, trusty, upstream, utopic, vivid, wily, xenial, yakkety, zesty): ignored 13, not-affected 3, DNE 1, released 1. https://ubuntu.com/security/CVE-2012-6089

Affected software / configurations for CVE-2012-6089

Vendor Product Version Raw CPE
swi-prolog swi-prolog <= 6.2.4 cpe:2.3:a:swi-prolog:swi-prolog:*:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.50 cpe:2.3:a:swi-prolog:swi-prolog:5.6.50:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.51 cpe:2.3:a:swi-prolog:swi-prolog:5.6.51:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.52 cpe:2.3:a:swi-prolog:swi-prolog:5.6.52:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.53 cpe:2.3:a:swi-prolog:swi-prolog:5.6.53:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.54 cpe:2.3:a:swi-prolog:swi-prolog:5.6.54:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.55 cpe:2.3:a:swi-prolog:swi-prolog:5.6.55:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.56 cpe:2.3:a:swi-prolog:swi-prolog:5.6.56:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.57 cpe:2.3:a:swi-prolog:swi-prolog:5.6.57:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.58 cpe:2.3:a:swi-prolog:swi-prolog:5.6.58:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.59 cpe:2.3:a:swi-prolog:swi-prolog:5.6.59:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.61 cpe:2.3:a:swi-prolog:swi-prolog:5.6.61:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.62 cpe:2.3:a:swi-prolog:swi-prolog:5.6.62:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.63 cpe:2.3:a:swi-prolog:swi-prolog:5.6.63:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.6.64 cpe:2.3:a:swi-prolog:swi-prolog:5.6.64:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.8.0 cpe:2.3:a:swi-prolog:swi-prolog:5.8.0:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.8.1 cpe:2.3:a:swi-prolog:swi-prolog:5.8.1:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.8.2 cpe:2.3:a:swi-prolog:swi-prolog:5.8.2:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.8.3 cpe:2.3:a:swi-prolog:swi-prolog:5.8.3:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.10.0 cpe:2.3:a:swi-prolog:swi-prolog:5.10.0:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.10.1 cpe:2.3:a:swi-prolog:swi-prolog:5.10.1:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.10.2 cpe:2.3:a:swi-prolog:swi-prolog:5.10.2:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.10.3 cpe:2.3:a:swi-prolog:swi-prolog:5.10.3:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.10.4 cpe:2.3:a:swi-prolog:swi-prolog:5.10.4:*:*:*:*:*:*:*
swi-prolog swi-prolog 5.10.5 cpe:2.3:a:swi-prolog:swi-prolog:5.10.5:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.0.0 cpe:2.3:a:swi-prolog:swi-prolog:6.0.0:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.0.1 cpe:2.3:a:swi-prolog:swi-prolog:6.0.1:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.0.2 cpe:2.3:a:swi-prolog:swi-prolog:6.0.2:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.2.0 cpe:2.3:a:swi-prolog:swi-prolog:6.2.0:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.2.1 cpe:2.3:a:swi-prolog:swi-prolog:6.2.1:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.2.2 cpe:2.3:a:swi-prolog:swi-prolog:6.2.2:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.2.3 cpe:2.3:a:swi-prolog:swi-prolog:6.2.3:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.3.0 cpe:2.3:a:swi-prolog:swi-prolog:6.3.0:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.3.1 cpe:2.3:a:swi-prolog:swi-prolog:6.3.1:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.3.2 cpe:2.3:a:swi-prolog:swi-prolog:6.3.2:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.3.3 cpe:2.3:a:swi-prolog:swi-prolog:6.3.3:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.3.4 cpe:2.3:a:swi-prolog:swi-prolog:6.3.4:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.3.5 cpe:2.3:a:swi-prolog:swi-prolog:6.3.5:*:*:*:*:*:*:*
swi-prolog swi-prolog 6.3.6 cpe:2.3:a:swi-prolog:swi-prolog:6.3.6:*:*:*:*:*:*:*

References for CVE-2012-6089

cvelogic Threat Intelligence