CVE-2012-6089

Summary

CVECVE-2012-6089
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2013-01-04 11:52:15 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionMultiple 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.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Swi-prolog Swi-prolog 5.10.0 All All All
Application Swi-prolog Swi-prolog 5.10.1 All All All
Application Swi-prolog Swi-prolog 5.10.2 All All All
Application Swi-prolog Swi-prolog 5.10.3 All All All
Application Swi-prolog Swi-prolog 5.10.4 All All All
Application Swi-prolog Swi-prolog 5.10.5 All All All
Application Swi-prolog Swi-prolog 5.6.50 All All All
Application Swi-prolog Swi-prolog 5.6.51 All All All
Application Swi-prolog Swi-prolog 5.6.52 All All All
Application Swi-prolog Swi-prolog 5.6.53 All All All
Application Swi-prolog Swi-prolog 5.6.54 All All All
Application Swi-prolog Swi-prolog 5.6.55 All All All
Application Swi-prolog Swi-prolog 5.6.56 All All All
Application Swi-prolog Swi-prolog 5.6.57 All All All
Application Swi-prolog Swi-prolog 5.6.58 All All All
Application Swi-prolog Swi-prolog 5.6.59 All All All
Application Swi-prolog Swi-prolog 5.6.61 All All All
Application Swi-prolog Swi-prolog 5.6.62 All All All
Application Swi-prolog Swi-prolog 5.6.63 All All All
Application Swi-prolog Swi-prolog 5.6.64 All All All
Application Swi-prolog Swi-prolog 5.8.0 All All All
Application Swi-prolog Swi-prolog 5.8.1 All All All
Application Swi-prolog Swi-prolog 5.8.2 All All All
Application Swi-prolog Swi-prolog 5.8.3 All All All
Application Swi-prolog Swi-prolog 6.0.0 All All All
Application Swi-prolog Swi-prolog 6.0.1 All All All
Application Swi-prolog Swi-prolog 6.0.2 All All All
Application Swi-prolog Swi-prolog 6.2.0 All All All
Application Swi-prolog Swi-prolog 6.2.1 All All All
Application Swi-prolog Swi-prolog 6.2.2 All All All
Application Swi-prolog Swi-prolog 6.2.3 All All All
Application Swi-prolog Swi-prolog 6.3.0 All All All
Application Swi-prolog Swi-prolog 6.3.1 All All All
Application Swi-prolog Swi-prolog 6.3.2 All All All
Application Swi-prolog Swi-prolog 6.3.3 All All All
Application Swi-prolog Swi-prolog 6.3.4 All All All
Application Swi-prolog Swi-prolog 6.3.5 All All All
Application Swi-prolog Swi-prolog 6.3.6 All All All
Application Swi-prolog Swi-prolog All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
oss-security - Re: CVE Request - SWI-Prolog / pl (X < 6.2.5): Multiple (stack-based) buffer overflows in patch canonisation code and when expanding file-names with long paths af854a3a-2127-422b-91ae-364da2661108 openwall.com
891577 – (CVE-2012-6089, CVE-2012-6090) CVE-2012-6089 CVE-2012-6090 pl: buffer overflows in path canonisation and expansion of file names with long paths af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
SWI-Prolog git services moved to github af854a3a-2127-422b-91ae-364da2661108 www.swi-prolog.org Patch
[SWIPL] Ann: SWI-Prolog 6.3.7 and 6.2.5 af854a3a-2127-422b-91ae-364da2661108 lists.iai.uni-bonn.de Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report