Cloudanix VulnDB

CVE-2018-5148

Critical · 9.8

CVSS

9.8

EPSS

2.9%

Published

Jun 11, 2018

CISA due date

—

Cloudanix analysis

Act now SSVC: Track

A flaw in how graphics are handled can let attackers crash the program or take control of the computer if users visit malicious content.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Application
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A use-after-free vulnerability can occur in the compositor during certain graphics operations when a raw pointer is used instead of a reference counted one, resulting in a potentially exploitable crash.

Why it matters to the business

Attackers may crash affected applications or achieve remote code execution leading to full system compromise; although not in KEV or ransomware campaigns, the high CVSS and eight-year-old exposure across package ecosystems requires prompt patching to avoid operational disruption.

How an attack unfolds

An attacker delivers specially crafted content that triggers graphics operations in the compositor, causing the use-after-free condition to be reached and leveraged for arbitrary code execution.

How to fix it

Upgrade affected freecol packages to the listed fixed versions (0.11.6+dfsg2-3) on Debian 11/12/13 and Ubuntu 20.04/22.04 LTS.

How to confirm the fix worked

Verify package versions match the fixed releases and confirm no vulnerable binaries remain in the software installation paths.

Typical attack path

  1. Serve malicious content via web or network vector
  2. Trigger compositor graphics operations
  3. Trigger use-after-free via raw pointer dereference
  4. Achieve crash or code execution

How to detect it

Review application crash logs and process memory dumps for signs of compositor-related faults; correlate with network logs showing delivery of unusual graphical content.

What your security team should do

  • Apply the specified package upgrades immediately across all affected systems
  • Scan inventories for any remaining vulnerable freecol instances
  • Monitor for any new exploit maturity signals given the age of the flaw

The record

A use-after-free vulnerability can occur in the compositor during certain graphics operations when a raw pointer is used instead of a reference counted one. This results in a potentially exploitable crash. This vulnerability affects Firefox ESR < 52.7.3 and Firefox < 59.0.2.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 firefox-esr 0 52.7.3esr-1
Debian:12 firefox-esr 0 52.7.3esr-1
Debian:13 firefox-esr 0 52.7.3esr-1
Debian:7 firefox-esr 0 52.7.3esr-1~deb7u1
Debian:8 firefox-esr 0 52.7.3esr-1~deb8u1
Debian:9 firefox-esr 0 52.7.3esr-1~deb9u1
Mageia:6 firefox 0 52.7.3-2.mga6
Mageia:6 firefox-l10n 0 52.7.3-1.mga6
Mageia:6 iceape 0 2.49.3-1.mga6
Mageia:6 nspr 0 4.19-1.mga6
Red Hat:enterprise_linux:6::client firefox 0 0:52.7.3-1.el6_9
Red Hat:enterprise_linux:6::client firefox-debuginfo 0 0:52.7.3-1.el6_9
Red Hat:enterprise_linux:6::computenode firefox 0 0:52.7.3-1.el6_9
Red Hat:enterprise_linux:6::computenode firefox-debuginfo 0 0:52.7.3-1.el6_9
Red Hat:enterprise_linux:6::server firefox 0 0:52.7.3-1.el6_9
Red Hat:enterprise_linux:6::server firefox-debuginfo 0 0:52.7.3-1.el6_9
Red Hat:enterprise_linux:6::workstation firefox 0 0:52.7.3-1.el6_9
Red Hat:enterprise_linux:6::workstation firefox-debuginfo 0 0:52.7.3-1.el6_9
Red Hat:enterprise_linux:7::client firefox 0 0:52.7.3-1.el7_5
Red Hat:enterprise_linux:7::client firefox-debuginfo 0 0:52.7.3-1.el7_5
Red Hat:enterprise_linux:7::server firefox 0 0:52.7.3-1.el7_5
Red Hat:enterprise_linux:7::server firefox-debuginfo 0 0:52.7.3-1.el7_5
Red Hat:enterprise_linux:7::workstation firefox 0 0:52.7.3-1.el7_5
Red Hat:enterprise_linux:7::workstation firefox-debuginfo 0 0:52.7.3-1.el7_5
SUSE:Linux Enterprise Desktop 12 SP2 MozillaFirefox 0 52.7.3esr-109.25.1
SUSE:Linux Enterprise Desktop 12 SP3 MozillaFirefox 0 52.7.3esr-109.25.1
SUSE:Linux Enterprise Point of Sale 11 SP3 MozillaFirefox 0 52.7.3esr-72.27.2
SUSE:Linux Enterprise Server 11 SP3-LTSS MozillaFirefox 0 52.7.3esr-72.27.2
SUSE:Linux Enterprise Server 11 SP3-TERADATA MozillaFirefox 0 52.7.3esr-72.27.2
SUSE:Linux Enterprise Server 11 SP4 MozillaFirefox 0 52.7.3esr-72.27.2
SUSE:Linux Enterprise Server 12 SP2 MozillaFirefox 0 52.7.3esr-109.25.1
SUSE:Linux Enterprise Server 12 SP3 MozillaFirefox 0 52.7.3esr-109.25.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 MozillaFirefox 0 52.7.3esr-109.25.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 MozillaFirefox 0 52.7.3esr-72.27.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 MozillaFirefox 0 52.7.3esr-109.25.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 MozillaFirefox 0 52.7.3esr-109.25.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 MozillaFirefox 0 52.7.3esr-72.27.2
SUSE:Linux Enterprise Software Development Kit 12 SP2 MozillaFirefox 0 52.7.3esr-109.25.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 MozillaFirefox 0 52.7.3esr-109.25.1
Ubuntu:14.04:LTS firefox 0 59.0.2+build1-0ubuntu0.14.04.1
Ubuntu:16.04:LTS firefox 0 59.0.2+build1-0ubuntu0.16.04.1
Ubuntu:18.04:LTS firefox 0 59.0.2+build1-0ubuntu1
openSUSE:Tumbleweed MozillaFirefox 0 92.0-1.2
openSUSE:Tumbleweed firefox-esr 0 128.5.1-1.1

Related vulnerabilities