Live threats

All CVEs / Swi-prolog

CVE-2012-6089Swi-prolog

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
4.0%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Jan 4, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Swi-prolog.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
swi-prologswi-prolog≤ 6.2.4
swi-prologswi-prolog5.6.50
swi-prologswi-prolog5.6.51
swi-prologswi-prolog5.6.52
swi-prologswi-prolog5.6.53
swi-prologswi-prolog5.6.54
swi-prologswi-prolog5.6.55
swi-prologswi-prolog5.6.56
swi-prologswi-prolog5.6.57
swi-prologswi-prolog5.6.58
swi-prologswi-prolog5.6.59
swi-prologswi-prolog5.6.61
swi-prologswi-prolog5.6.62
swi-prologswi-prolog5.6.63
swi-prologswi-prolog5.6.64
swi-prologswi-prolog5.8.0
swi-prologswi-prolog5.8.1
swi-prologswi-prolog5.8.2
swi-prologswi-prolog5.8.3
swi-prologswi-prolog5.10.0
swi-prologswi-prolog5.10.1
swi-prologswi-prolog5.10.2
swi-prologswi-prolog5.10.3
swi-prologswi-prolog5.10.4
swi-prologswi-prolog5.10.5
swi-prologswi-prolog6.0.0
swi-prologswi-prolog6.0.1
swi-prologswi-prolog6.0.2
swi-prologswi-prolog6.2.0
swi-prologswi-prolog6.2.1
swi-prologswi-prolog6.2.2
swi-prologswi-prolog6.2.3
swi-prologswi-prolog6.3.0
swi-prologswi-prolog6.3.1
swi-prologswi-prolog6.3.2
swi-prologswi-prolog6.3.3
swi-prologswi-prolog6.3.4
swi-prologswi-prolog6.3.5
swi-prologswi-prolog6.3.6

Official sources

References

Links published by the sources. Open them with care.