{"id":"CVE-2004-0947","aliases":["DSA-652-1","EUVD-2004-0945","GHSA-xjjv-8746-3g86","MGASA-2023-0107"],"status":"published","title":"Buffer overflow in unarj before 2.63a-r2 allows remote attackers to execute arbitrary code via an...","description":"Buffer overflow in unarj before 2.63a-r2 allows remote attackers to execute arbitrary code via an arj archive that contains long filenames.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.07369,"percentile":0.94456,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2004-11-24T05:00:00Z","modified":"2026-06-16T22:06:43Z","affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"unarj","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.43-3woody1"}]}],"versions":["2.41a-2","2.41a-5","2.41a-6","2.43-3"],"bundled":2},{"source":"osv","ecosystem":"Mageia:8","package":"unarj","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.65-6.1.mga8.tainted"}]}],"bundled":2}],"products":[{"vendor":"arj_software_inc.","product":"unarj"},{"vendor":"gentoo","product":"linux"},{"vendor":"suse","product":"suse_linux"}],"references":[{"url":"http://www.debian.org/security/2005/dsa-652","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.securityfocus.com/bid/11665","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Vendor Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-007.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18044","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200411-29.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Patch","Vendor Advisory"]},{"url":"http://lwn.net/Articles/121827/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0947"},{"url":"http://lwn.net/Articles/121827"},{"url":"https://github.com/advisories/GHSA-xjjv-8746-3g86"},{"url":"https://advisories.mageia.org/MGASA-2023-0107.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31546","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2004-0947","description":"Buffer overflow in unarj before 2.63a-r2 allows remote attackers to execute arbitrary code via an arj archive that contains long filenames.","status":"published","published":"2004-11-24T05:00:00Z","modified":"2024-08-08T00:31:48.138Z","updated_at":"2026-11-02T14:34:55.098814Z"}],"euvd":[{"id":"EUVD-2004-0945","description":"Buffer overflow in unarj before 2.63a-r2 allows remote attackers to execute arbitrary code via an arj archive that contains long filenames.","status":"published","published":"2004-11-24T05:00:00Z","modified":"2024-08-08T00:31:48Z","updated_at":"2026-11-03T01:15:17.239417Z"}],"ghsa":[{"id":"GHSA-xjjv-8746-3g86","title":"Buffer overflow in unarj before 2.63a-r2 allows remote attackers to execute arbitrary code via an...","description":"Buffer overflow in unarj before 2.63a-r2 allows remote attackers to execute arbitrary code via an arj archive that contains long filenames.","status":"published","published":"2022-04-29T02:58:39Z","modified":"2025-04-03T04:08:02Z","updated_at":"2026-11-02T15:00:41.179225Z"}],"nvd":[{"id":"CVE-2004-0947","description":"Buffer overflow in unarj before 2.63a-r2 allows remote attackers to execute arbitrary code via an arj archive that contains long filenames.","status":"published","published":"2005-02-09T05:00:00Z","modified":"2026-06-16T22:06:43.52Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:53.662124Z"}],"osv":[{"id":"DSA-652-1","title":"unarj","status":"published","published":"2005-01-21T00:00:00Z","modified":"2026-03-09T02:09:47.023592Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"MGASA-2023-0107","title":"Updated unarj packages fix security vulnerability","description":"Buffer overflow in unarj before 2.63a-r2 allows remote attackers to execute\narbitrary code via an arj archive that contains long filenames.\n(CVE-2004-0947)\nDirectory traversal vulnerability in the -x (extract) command line option\nin unarj allows remote attackers to overwrite arbitrary files via an arj\narchive with filenames that contain .. (dot dot) sequences. (CVE-2004-1027)\n","status":"published","published":"2023-03-24T05:55:49Z","modified":"2026-04-16T04:42:28.810319894Z","updated_at":"2026-11-02T15:49:42.263076Z"}]}}
