Back to CVE catalog
CVE-2012-6089

Stack-based buffer overflows in SWI-Prolog

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

7.5High
Published:
Updated:
EPSS:
4.019%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:swi-prologswi-prologAffected versions:
≤ 6.2.4Show full version range for swi-prolog
5.10.05.10.15.10.25.10.35.10.45.10.55.6.505.6.515.6.525.6.535.6.545.6.555.6.565.6.575.6.585.6.595.6.615.6.625.6.635.6.645.8.05.8.15.8.25.8.36.0.06.0.16.0.26.2.06.2.16.2.26.2.36.3.06.3.16.3.26.3.36.3.46.3.56.3.6
Vendor:redhatpl
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for pl
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatpl-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for pl-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatpl-jpl
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for pl-jpl
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatpl-static
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for pl-static
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Debianswi-prolog
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 5.10.4-5
Vendor:Debianswi-prolog-java
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 5.10.4-5
Vendor:Debianswi-prolog-nox
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 5.10.4-5
Vendor:Debianswi-prolog-odbc
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 5.10.4-5
Vendor:Debianswi-prolog-x
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 5.10.4-5

1–10 of 11 · Page 1 of 2

CVSS scores and metrics4
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
redhat · Wazuh CTI (adp)2.1 / 10LowCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:N/I:N/A:P
Red Hat · Red Hat VEX (adp)2.1 / 10LowCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Local
Authentication
Not required

Source vector

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

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories11

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences