{"id":"CVE-2017-18248","aliases":["DEBIAN-CVE-2017-18248","DLA-1387-1","DLA-1412-1","EUVD-2017-9379","GHSA-445m-qfhv-mv64","MGASA-2018-0224","SUSE-SU-2018:2162-1","UBUNTU-CVE-2017-18248","USN-3713-1","openSUSE-SU-2024:10707-1"],"status":"published","title":"The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can...","description":"The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can be crashed by remote attackers by sending print jobs with an invalid username, related to a D-Bus notification.","severity":{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02196,"percentile":0.82602,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2018-03-26T00:00:00Z","modified":"2026-10-20T13:37:08Z","fixes":[{"ecosystem":"Debian:12","package":"cups","fixed_in":["2.2.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"cups","fixed_in":["2.2.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"cups","fixed_in":["2.2.6-1"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"cups","fixed_in":["1.5.3-5+deb7u8"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"cups","fixed_in":["2.0.4-1.5.mga5"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"cups","fixed_in":["1.7.2-0ubuntu1.10"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"cups","fixed_in":["2.1.3-4ubuntu0.5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.6-1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3-5+deb7u8"}]}],"versions":["1.5.3-5","1.5.3-5+deb7u1","1.5.3-5+deb7u2","1.5.3-5+deb7u3","1.5.3-5+deb7u4","1.5.3-5+deb7u5","1.5.3-5+deb7u6","1.5.3-5+deb7u7"]},{"source":"osv","ecosystem":"Debian:8","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5-11+deb8u3"}]}],"versions":["1.7.5-11","1.7.5-11+deb8u1","1.7.5-11+deb8u2"],"bundled":2},{"source":"osv","ecosystem":"Mageia:5","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4-1.5.mga5"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5-20.14.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5-20.14.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5-20.14.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5-20.14.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.2-0ubuntu1.10"}]}],"versions":["1.7.0~rc1-0ubuntu5","1.7.0-0ubuntu2","1.7.0-0ubuntu3","1.7.0-1","1.7.0-2","1.7.1-1","1.7.1-2","1.7.1-2git1","1.7.1-3","1.7.1-4","1.7.1-4ubuntu1","1.7.1-5ubuntu1","1.7.1-5ubuntu3","1.7.1-5ubuntu4","1.7.1-5ubuntu5","1.7.1-5ubuntu6","1.7.1-5ubuntu7","1.7.1-5ubuntu8","1.7.1-5ubuntu9","1.7.1-5ubuntu10","1.7.2-0ubuntu1","1.7.2-0ubuntu1.1","1.7.2-0ubuntu1.2","1.7.2-0ubuntu1.4","1.7.2-0ubuntu1.5","1.7.2-0ubuntu1.6","1.7.2-0ubuntu1.7","1.7.2-0ubuntu1.8","1.7.2-0ubuntu1.9"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.3-4ubuntu0.5"}]}],"versions":["2.1.0-4ubuntu3","2.1.0-5","2.1.0-6","2.1.0-6ubuntu1","2.1.0-7","2.1.2-1","2.1.2-2","2.1.3-1","2.1.3-1build1","2.1.3-3","2.1.3-4","2.1.3-4ubuntu0.2","2.1.3-4ubuntu0.3","2.1.3-4ubuntu0.4"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.2-0ubuntu1.10"}]}],"versions":["1.7.0~rc1-0ubuntu5","1.7.0-0ubuntu2","1.7.0-0ubuntu3","1.7.0-1","1.7.0-2","1.7.1-1","1.7.1-2","1.7.1-2git1","1.7.1-3","1.7.1-4","1.7.1-4ubuntu1","1.7.1-5ubuntu1","1.7.1-5ubuntu3","1.7.1-5ubuntu4","1.7.1-5ubuntu5","1.7.1-5ubuntu6","1.7.1-5ubuntu7","1.7.1-5ubuntu8","1.7.1-5ubuntu9","1.7.1-5ubuntu10","1.7.2-0ubuntu1","1.7.2-0ubuntu1.1","1.7.2-0ubuntu1.2","1.7.2-0ubuntu1.4","1.7.2-0ubuntu1.5","1.7.2-0ubuntu1.6","1.7.2-0ubuntu1.7","1.7.2-0ubuntu1.8","1.7.2-0ubuntu1.9"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.3-4ubuntu0.5"}]}],"versions":["2.1.0-4ubuntu3","2.1.0-5","2.1.0-6","2.1.0-6ubuntu1","2.1.0-7","2.1.2-1","2.1.2-2","2.1.3-1","2.1.3-1build1","2.1.3-3","2.1.3-4","2.1.3-4ubuntu0.2","2.1.3-4ubuntu0.3","2.1.3-4ubuntu0.4"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.7-1ubuntu2.1"}]}],"versions":["2.2.4-7ubuntu2","2.2.5-2","2.2.6-2","2.2.6-3","2.2.6-4","2.2.6-5","2.2.7-1ubuntu1","2.2.7-1ubuntu2"],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.3op2-4.2"}]}],"bundled":20}],"products":[{"vendor":"apple","product":"cups"}],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/05/msg00018.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://github.com/apple/cups/issues/5143","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00003.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://usn.ubuntu.com/3713-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://security.cucumberlinux.com/security/details.php?id=346","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://github.com/apple/cups/releases/tag/v2.2.6","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://github.com/apple/cups/commit/49fa4983f25b64ec29d548ffa3b9782426007df3","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18248"},{"url":"https://github.com/advisories/GHSA-445m-qfhv-mv64"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-18248","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0224.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22877","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/IGQ3XXPAM2RKAOIEXMCKKNICIKDLKWE2/","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20182162-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1050082","tags":["report"]},{"url":"https://bugzilla.suse.com/1061066","tags":["report"]},{"url":"https://bugzilla.suse.com/1087018","tags":["report"]},{"url":"https://bugzilla.suse.com/1096405","tags":["report"]},{"url":"https://bugzilla.suse.com/1096406","tags":["report"]},{"url":"https://bugzilla.suse.com/1096407","tags":["report"]},{"url":"https://bugzilla.suse.com/1096408","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-18248","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-4180","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-4181","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-4182","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-4183","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-18248","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3713-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-18248","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-4180","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-4181","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-6553","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2005-3193","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2005-3624","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2005-3628","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2007-0104","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2007-3387","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2007-4351","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2007-4352","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2007-5393","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2008-0047","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2008-1693","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2008-1722","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2008-3641","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-4700","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-2228","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-8696","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-8842","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-10001","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-3898","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-25317","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-18248","description":"The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can be crashed by remote attackers by sending print jobs with an invalid username, related to a D-Bus notification.","status":"published","published":"2018-03-26T17:00:00Z","modified":"2024-08-05T21:13:49.207Z","updated_at":"2026-11-02T14:33:22.064284Z"}],"euvd":[{"id":"EUVD-2017-9379","description":"The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can be crashed by remote attackers by sending print jobs with an invalid username, related to a D-Bus notification.","status":"published","published":"2018-03-26T17:00:00Z","modified":"2024-08-05T21:13:49Z","updated_at":"2026-11-03T02:23:07.6199Z"}],"ghsa":[{"id":"GHSA-445m-qfhv-mv64","title":"The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can...","description":"The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can be crashed by remote attackers by sending print jobs with an invalid username, related to a D-Bus notification.","status":"published","published":"2022-05-14T03:14:39Z","modified":"2023-02-02T05:07:51Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:52:35.907796Z"}],"nvd":[{"id":"CVE-2017-18248","description":"The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can be crashed by remote attackers by sending print jobs with an invalid username, related to a D-Bus notification.","status":"published","published":"2018-03-26T17:29:00.207Z","modified":"2026-06-17T01:12:28.64Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:N/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:04:17.032862Z"}],"osv":[{"id":"CVE-2017-18248","description":"The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can be crashed by remote attackers by sending print jobs with an invalid username, related to a D-Bus notification.","status":"published","published":"2018-03-26T17:29:00.207Z","modified":"2026-10-20T13:37:08.722747862Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:05.486486Z"},{"id":"DEBIAN-CVE-2017-18248","description":"The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can be crashed by remote attackers by sending print jobs with an invalid username, related to a D-Bus notification.","status":"published","published":"2018-03-26T17:29:00.207Z","modified":"2026-09-01T20:03:47.004918876Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:29.100767Z"},{"id":"UBUNTU-CVE-2017-18248","description":"The add_job function in scheduler/ipp.c in CUPS before 2.2.6, when D-Bus support is enabled, can be crashed by remote attackers by sending print jobs with an invalid username, related to a D-Bus notification.","status":"published","published":"2018-03-26T00:00:00Z","modified":"2026-04-22T11:22:17.496673Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:14.977781Z"},{"id":"DLA-1387-1","title":"cups - security update","status":"published","published":"2018-05-26T00:00:00Z","modified":"2026-03-09T01:01:03.28231Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DLA-1412-1","title":"cups - security update","status":"published","published":"2018-07-03T00:00:00Z","modified":"2026-03-09T01:01:04.830013Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"MGASA-2018-0224","title":"Updated cups packages fix security vulnerability","description":"CUPS before version 2.2.6 has a vulnerability in the handling of\nusernames in the scheduler/ipp.c:add_job() function. A remote attacker\ncould exploit this by submitting a print job with an invalid UTF-8\nusername to cause a crash and subsequent denial of service\n(CVE-2017-18248).\n","status":"published","published":"2018-05-09T18:33:09Z","modified":"2026-04-16T06:23:12.276517362Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"openSUSE-SU-2024:10707-1","title":"cups-2.3.3op2-4.2 on GA media","description":"These are all security issues fixed in the cups-2.3.3op2-4.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:24:44.838396Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"SUSE-SU-2018:2162-1","title":"Security update for cups","description":"This update for cups fixes the following issues:\n\nThe following security vulnerabilities were fixed:\n\n- CVE-2017-18248: Handle invalid characters properly in printing jobs. This fixes a problem that\n  was causing the DBUS library to abort the calling process. (bsc#1061066 bsc#1087018)\n- Fixed a local privilege escalation to root and sandbox bypasses in the\n  scheduler\n- CVE-2018-4180: Fixed a local privilege escalation to root in dnssd backend\n  (bsc#1096405)\n- CVE-2018-4181: Limited local file reads as root via cupsd.conf include\n  directive (bsc#1096406)\n- CVE-2018-4182: Fixed a sandbox bypass due to insecure error handling\n  (bsc#1096407)\n- CVE-2018-4183: Fixed a sandbox bypass due to profile misconfiguration\n  (bsc#1096408)\n\nThe following other issue was fixed:\n\n- Fixed authorization check for clients (like samba) connected through the\n  local socket when Kerberos authentication is enabled (bsc#1050082)\n","status":"published","published":"2018-08-01T12:02:19Z","modified":"2026-02-04T03:38:43.870969Z","updated_at":"2026-11-02T15:53:44.972817Z"},{"id":"USN-3713-1","title":"cups vulnerabilities","description":"It was discovered that CUPS incorrectly handled certain print jobs with\ninvalid usernames. A remote attacker could possibly use this issue to cause\nCUPS to crash, resulting in a denial of service. This issue only affected\nUbuntu 14.04 LTS, Ubuntu 17.10 and Ubuntu 18.04 LTS. (CVE-2017-18248)\n\nDan Bastone discovered that the CUPS dnssd backend incorrectly handled\ncertain environment variables. A local attacker could possibly use this\nissue to escalate privileges. (CVE-2018-4180)\n\nEric Rafaloff and John Dunlap discovered that CUPS incorrectly handled\ncertain include directives. A local attacker could possibly use this issue\nto read arbitrary files. (CVE-2018-4181)\n\nDan Bastone discovered that the CUPS AppArmor profile incorrectly confined\nthe dnssd backend. A local attacker could possibly use this issue to escape\nconfinement. (CVE-2018-6553)\n","status":"published","published":"2018-07-11T16:42:23Z","modified":"2026-04-22T09:49:54.653274Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
