{"id":"CVE-2017-18266","aliases":["DEBIAN-CVE-2017-18266","DLA-1384-1","DSA-4211-1","EUVD-2017-9393","GHSA-76r6-j2q8-m63q","MGASA-2018-0289","SUSE-SU-2018:1497-1","UBUNTU-CVE-2017-18266","USN-3650-1","openSUSE-SU-2024:11518-1"],"status":"published","title":"The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate strings before...","description":"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":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02399,"percentile":0.84122,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74"],"published":"2018-05-10T00:00:00Z","modified":"2026-10-20T10:48:18Z","fixes":[{"ecosystem":"Debian:12","package":"xdg-utils","fixed_in":["1.1.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"xdg-utils","fixed_in":["1.1.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"xdg-utils","fixed_in":["1.1.3-1"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"xdg-utils","fixed_in":["1.1.0~rc1+git20111210-6+deb7u4"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"xdg-utils","fixed_in":["1.1.0~rc1+git20111210-7.4+deb8u1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"xdg-utils","fixed_in":["1.1.1-1+deb9u1"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"xdg-utils","fixed_in":["1.1.3-1.mga6"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"xdg-utils","fixed_in":["20140630-6.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"xdg-utils","fixed_in":["20140630-6.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"xdg-utils","fixed_in":["20140630-6.3.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"xdg-utils","fixed_in":["1.1.0~rc1-2ubuntu7.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"xdg-utils","fixed_in":["1.1.1-1ubuntu1.16.04.3"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"xdg-utils","fixed_in":["1.1.2-1ubuntu2.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3-1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0~rc1+git20111210-6+deb7u4"}]}],"versions":["1.1.0~rc1+git20111210-6","1.1.0~rc1+git20111210-6+deb7u1","1.1.0~rc1+git20111210-6+deb7u2","1.1.0~rc1+git20111210-6+deb7u3"]},{"source":"osv","ecosystem":"Debian:8","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0~rc1+git20111210-7.4+deb8u1"}]}],"versions":["1.1.0~rc1+git20111210-7.4"]},{"source":"osv","ecosystem":"Debian:9","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1+deb9u1"}]}],"versions":["1.1.1-1"]},{"source":"osv","ecosystem":"Mageia:6","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3-1.mga6"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20140630-6.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20140630-6.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20140630-6.3.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0~rc1-2ubuntu7.2"}]}],"versions":["1.1.0~rc1-2ubuntu7","1.1.0~rc1-2ubuntu7.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1ubuntu1.16.04.3"}]}],"versions":["1.1.0~rc3+git20150907-1ubuntu2","1.1.0~rc3+git20150907-1ubuntu3","1.1.1-1ubuntu1","1.1.1-1ubuntu1.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.2-1ubuntu2.2"}]}],"versions":["1.1.1-1ubuntu2","1.1.1-1ubuntu3","1.1.2-1ubuntu1","1.1.2-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0~rc1-2ubuntu7.2"}]}],"versions":["1.1.0~rc1-2ubuntu7","1.1.0~rc1-2ubuntu7.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1ubuntu1.16.04.3"}]}],"versions":["1.1.0~rc3+git20150907-1ubuntu2","1.1.0~rc3+git20150907-1ubuntu3","1.1.1-1ubuntu1","1.1.1-1ubuntu1.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.2-1ubuntu2.2"}]}],"versions":["1.1.1-1ubuntu2","1.1.1-1ubuntu3","1.1.2-1ubuntu1","1.1.2-1ubuntu2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"xdg-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3+20201113-1.2"}]}],"bundled":2}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"freedesktop","product":"xdg-utils"}],"references":[{"url":"https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=ce802d71c3466d1dbb24f2fe9b6db82a1f899bcb","tags":["x_refsource_MISC","x_transferred","Patch","fix"]},{"url":"https://cgit.freedesktop.org/xdg/xdg-utils/tree/ChangeLog","tags":["x_refsource_MISC","x_transferred","Release Notes","advisory","report"]},{"url":"https://usn.ubuntu.com/3650-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/05/msg00014.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4211","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=103807","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","fix"]},{"url":"https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5647afb35e4bcba2060148e1a2a47bc43cc240f2","tags":["x_refsource_MISC","x_transferred","Release Notes","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18266"},{"url":"https://github.com/advisories/GHSA-76r6-j2q8-m63q"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-18266","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0289.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=23132","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/ZECHRCR6RWTX46ANDPIAXPMHZ2EOHNJB/","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20181497-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1093086","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-18266","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-18266","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3650-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-18266","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2008-0386","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-18266","description":"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.","status":"published","published":"2018-05-10T14:00:00Z","modified":"2024-08-05T21:13:49.227Z","updated_at":"2026-11-02T14:33:22.064284Z"}],"euvd":[{"id":"EUVD-2017-9393","description":"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.","status":"published","published":"2018-05-10T14:00:00Z","modified":"2024-08-05T21:13:49Z","updated_at":"2026-11-03T02:23:07.6199Z"}],"ghsa":[{"id":"GHSA-76r6-j2q8-m63q","title":"The open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate strings before...","description":"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.","status":"published","published":"2022-05-14T03:18:08Z","modified":"2023-02-02T05:07:18Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:52:28.437617Z"}],"nvd":[{"id":"CVE-2017-18266","description":"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.","status":"published","published":"2018-05-10T14:29:00.207Z","modified":"2026-06-17T01:12:30.687Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:04:17.638656Z"}],"osv":[{"id":"CVE-2017-18266","description":"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.","status":"published","published":"2018-05-10T14:29:00.207Z","modified":"2026-10-20T10:48:18.963470256Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:05.486486Z"},{"id":"DEBIAN-CVE-2017-18266","description":"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.","status":"published","published":"2018-05-10T14:29:00.207Z","modified":"2026-09-01T20:03:47.035027085Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.100767Z"},{"id":"UBUNTU-CVE-2017-18266","description":"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.","status":"published","published":"2018-05-10T00:00:00Z","modified":"2026-02-04T03:04:29.073135Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:14.977781Z"},{"id":"DLA-1384-1","title":"xdg-utils - security update","status":"published","published":"2018-05-25T00:00:00Z","modified":"2026-03-09T01:01:04.274326Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DSA-4211-1","title":"xdg-utils - security update","status":"published","published":"2018-05-25T00:00:00Z","modified":"2026-03-09T01:17:55.866588Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"MGASA-2018-0289","title":"Updated xdg-utils package fixes security vulnerability","description":"Updated xdg-utils package fixes security vulnerability:\n\nThe open_envvar function in xdg-open in xdg-utils before 1.1.3 does not validate\nstrings before launching the program specified by the BROWSER environment\nvariable, which might allow remote attackers to conduct argument-injection\nattacks via a crafted URL, as demonstrated by %s in this environment variable\n(CVE-2017-18266).\n","status":"published","published":"2018-06-19T23:42:28Z","modified":"2026-04-16T06:24:13.936394329Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"openSUSE-SU-2024:11518-1","title":"xdg-utils-1.1.3+20201113-1.2 on GA media","description":"These are all security issues fixed in the xdg-utils-1.1.3+20201113-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2025-05-07T18:08:25.798028Z","updated_at":"2026-11-02T16:58:35.195147Z"},{"id":"SUSE-SU-2018:1497-1","title":"Security update for xdg-utils","description":"This update for xdg-utils fixes the following issues:\n\nSecurity issue:\n\n- CVE-2017-18266: Fix an argument injection when BROWSER contains %s (bsc#1093086).\n","status":"published","published":"2018-06-04T15:35:48Z","modified":"2026-02-04T03:02:58.399011Z","updated_at":"2026-11-02T15:53:44.972817Z"},{"id":"USN-3650-1","title":"xdg-utils vulnerability","description":"It was discovered that xdg-utils incorrectly handled certain inputs.\nAn attacker could possibly use this to execute arbitrary code.\n","status":"published","published":"2018-05-21T16:22:37Z","modified":"2026-02-10T04:41:20Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
