cve.bz

CVE-2017-18266 Injection

8.8 highEPSS 2.4%Fix available

High (8.8). EPSS 2.4% estimated probability of exploitation activity in the next 30 days.

On this page
The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL, as demonstrated by %s in this environment variable.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.4% (unchanged from 2.4% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-18266 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-18266?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-18266?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-18266 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
freedesktop:xdg-utilsbefore 1.1.3
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
canonical:ubuntu_linux18.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7xdg-utils1.1.0~rc1+git20111210-6+deb7u4DLA-1384-1
Debian8xdg-utils1.1.0~rc1+git20111210-7.4+deb8u1DSA-4211-1
Debian9xdg-utils1.1.1-1+deb9u1DSA-4211-1
Debian12, 13, 14xdg-utils1.1.3-1DEBIAN-CVE-2017-18266
Ubuntu14.04:LTSxdg-utils1.1.0~rc1-2ubuntu7.2UBUNTU-CVE-2017-18266 USN-3650-1
Ubuntu16.04:LTSxdg-utils1.1.1-1ubuntu1.16.04.3UBUNTU-CVE-2017-18266 USN-3650-1
Ubuntu18.04:LTSxdg-utils1.1.2-1ubuntu2.2UBUNTU-CVE-2017-18266 USN-3650-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3xdg-utils20140630-6.3.1SUSE-SU-2018:1497-1
openSUSETumbleweedxdg-utils1.1.3+20201113-1.2openSUSE-SU-2024:11518-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue did not affect the versions of xdg-utils as shipped with Red Hat Enterprise Linux 6 and 7.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6xdg-utilsNot affected
Red Hat Enterprise Linux 7xdg-utilsNot affected
Red Hat Enterprise Linux 8xdg-utilsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-18266.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON