{"id":"CVE-2025-49809","aliases":["ALPINE-CVE-2025-49809","AZL-65136","AZL-65232","DEBIAN-CVE-2025-49809","EUVD-2025-20020","GHSA-hvvx-vw37-6fjm","UBUNTU-CVE-2025-49809"],"status":"published","title":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by...","description":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by the MTR_PACKET environment variable. NOTE: mtr on macOS may often have Sudo rules, as an indirect consequence of Homebrew not installing setuid binaries.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00179,"percentile":0.0756,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-829"],"published":"2025-07-04T00:00:00Z","modified":"2026-11-05T05:40:51Z","fixes":[{"ecosystem":"Alpine:v3.22","package":"mtr","fixed_in":["0.96-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"mtr","fixed_in":["0.96-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"mtr","fixed_in":["0.96-r0"],"sources":["osv"]},{"ecosystem":"Azure Linux:3","package":"mtr","fixed_in":["0.95-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mtr","fixed_in":["0.96-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.22","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.96-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.96-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.96-r0"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.95-1"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.95-3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.95-1","0.95-1.1","0.96-1","0.96-1~bpo13+1","0.96-2"]},{"source":"osv","ecosystem":"Debian:13","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.95-1.1","0.96-1","0.96-1~bpo13+1","0.96-2"]},{"source":"osv","ecosystem":"Debian:14","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.96-1"}]}],"versions":["0.95-1.1","0.96-1~bpo13+1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.85-1","0.85-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.85-3","0.86-1","0.86-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.87-1","0.92-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.93-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.94-1build1","0.94-2ubuntu1","0.95-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.95-1","0.95-1.1","0.95-1.1build1","0.95-1.1build2","0.95-1.1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.95-1.1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"mtr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.95-1.1ubuntu1","0.95-1.1ubuntu2"]}],"products":[{"vendor":"mtr","product":"mtr"}],"references":[{"url":"https://github.com/Homebrew/homebrew-core/issues/35085","tags":["report"]},{"url":"https://github.com/traviscross/mtr/blob/master/SECURITY","tags":["exploit","web","report"]},{"url":"https://github.com/traviscross/mtr/commit/5226f105f087c29d3cfad9f28000e7536af91ac6","tags":["fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49809","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-hvvx-vw37-6fjm"},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-49809","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49809.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-49809","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-49809","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-49809","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-49809","description":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by the MTR_PACKET environment variable. NOTE: mtr on macOS may often have Sudo rules, as an indirect consequence of Homebrew not installing setuid binaries.","status":"published","published":"2025-07-04T00:00:00Z","modified":"2025-07-08T14:30:08.475Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-829"],"updated_at":"2026-11-02T14:32:24.473448Z"}],"euvd":[{"id":"EUVD-2025-20020","description":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by the MTR_PACKET environment variable. NOTE: mtr on macOS may often have Sudo rules, as an indirect consequence of Homebrew not installing setuid binaries.","status":"published","published":"2025-07-04T00:00:00Z","modified":"2025-07-08T14:30:08Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T20:32:12.59227Z"}],"ghsa":[{"id":"GHSA-hvvx-vw37-6fjm","title":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by...","description":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by the MTR_PACKET environment variable. NOTE: mtr on macOS may often have Sudo rules, as an indirect consequence of Homebrew not installing setuid binaries.","status":"published","published":"2025-07-04T15:31:08Z","modified":"2025-07-04T15:31:08Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-829"],"updated_at":"2026-11-02T15:02:54.432789Z"}],"nvd":[{"id":"CVE-2025-49809","description":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by the MTR_PACKET environment variable. NOTE: mtr on macOS may often have Sudo rules, as an indirect consequence of Homebrew not installing setuid binaries.","status":"published","published":"2025-07-04T13:15:25.78Z","modified":"2026-06-17T09:31:56.657Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-829"],"updated_at":"2026-11-02T14:11:16.997062Z"}],"osv":[{"id":"ALPINE-CVE-2025-49809","description":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by the MTR_PACKET environment variable. NOTE: mtr on macOS may often have Sudo rules, as an indirect consequence of Homebrew not installing setuid binaries.","status":"published","published":"2025-07-04T13:15:25.78Z","modified":"2026-11-03T06:33:00.64465702Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T07:15:53.944853Z"},{"id":"CVE-2025-49809","description":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by the MTR_PACKET environment variable. NOTE: mtr on macOS may often have Sudo rules, as an indirect consequence of Homebrew not installing setuid binaries.","status":"published","published":"2025-07-04T00:00:00Z","modified":"2026-10-28T10:59:53.886028759Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-829"],"updated_at":"2026-11-02T15:44:50.037003Z"},{"id":"DEBIAN-CVE-2025-49809","description":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by the MTR_PACKET environment variable. NOTE: mtr on macOS may often have Sudo rules, as an indirect consequence of Homebrew not installing setuid binaries.","status":"published","published":"2025-07-04T13:15:25.78Z","modified":"2026-09-01T20:05:53.379332697Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:47.378563Z"},{"id":"UBUNTU-CVE-2025-49809","description":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by the MTR_PACKET environment variable. NOTE: mtr on macOS may often have Sudo rules, as an indirect consequence of Homebrew not installing setuid binaries.","status":"published","published":"2025-07-04T13:15:00Z","modified":"2026-05-20T16:23:33.168262965Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:50.31802Z"},{"id":"AZL-65136","title":"CVE-2025-49809 affecting package mtr 0.95-1","description":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by the MTR_PACKET environment variable. NOTE: mtr on macOS may often have Sudo rules, as an indirect consequence of Homebrew not installing setuid binaries.","status":"published","published":"2025-07-04T13:15:25Z","modified":"2026-04-21T04:37:30.846277Z","updated_at":"2026-11-02T15:28:08.076947Z"},{"id":"AZL-65232","title":"CVE-2025-49809 affecting package mtr for versions less than 0.95-3","description":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by the MTR_PACKET environment variable. NOTE: mtr on macOS may often have Sudo rules, as an indirect consequence of Homebrew not installing setuid binaries.","status":"published","published":"2025-07-04T13:15:25Z","modified":"2026-11-05T05:40:51Z","updated_at":"2026-11-05T16:41:23.66471Z"}]}}
