CVE-2012-6089Swi-prolog
High 7.5 No auth needed
Follow: this CVE · Swi-prolog · Swi-prolog We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Swi-prolog.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| swi-prolog | swi-prolog | ≤ 6.2.4 |
| swi-prolog | swi-prolog | 5.6.50 |
| swi-prolog | swi-prolog | 5.6.51 |
| swi-prolog | swi-prolog | 5.6.52 |
| swi-prolog | swi-prolog | 5.6.53 |
| swi-prolog | swi-prolog | 5.6.54 |
| swi-prolog | swi-prolog | 5.6.55 |
| swi-prolog | swi-prolog | 5.6.56 |
| swi-prolog | swi-prolog | 5.6.57 |
| swi-prolog | swi-prolog | 5.6.58 |
| swi-prolog | swi-prolog | 5.6.59 |
| swi-prolog | swi-prolog | 5.6.61 |
| swi-prolog | swi-prolog | 5.6.62 |
| swi-prolog | swi-prolog | 5.6.63 |
| swi-prolog | swi-prolog | 5.6.64 |
| swi-prolog | swi-prolog | 5.8.0 |
| swi-prolog | swi-prolog | 5.8.1 |
| swi-prolog | swi-prolog | 5.8.2 |
| swi-prolog | swi-prolog | 5.8.3 |
| swi-prolog | swi-prolog | 5.10.0 |
| swi-prolog | swi-prolog | 5.10.1 |
| swi-prolog | swi-prolog | 5.10.2 |
| swi-prolog | swi-prolog | 5.10.3 |
| swi-prolog | swi-prolog | 5.10.4 |
| swi-prolog | swi-prolog | 5.10.5 |
| swi-prolog | swi-prolog | 6.0.0 |
| swi-prolog | swi-prolog | 6.0.1 |
| swi-prolog | swi-prolog | 6.0.2 |
| swi-prolog | swi-prolog | 6.2.0 |
| swi-prolog | swi-prolog | 6.2.1 |
| swi-prolog | swi-prolog | 6.2.2 |
| swi-prolog | swi-prolog | 6.2.3 |
| swi-prolog | swi-prolog | 6.3.0 |
| swi-prolog | swi-prolog | 6.3.1 |
| swi-prolog | swi-prolog | 6.3.2 |
| swi-prolog | swi-prolog | 6.3.3 |
| swi-prolog | swi-prolog | 6.3.4 |
| swi-prolog | swi-prolog | 6.3.5 |
| swi-prolog | swi-prolog | 6.3.6 |
Official sources
References
Links published by the sources. Open them with care.
- openwall.com
- www.swi-prolog.org Patch
- bugzilla.redhat.com
- lists.iai.uni-bonn.de Vendor Advisory