{"id":"CVE-2004-0082","aliases":["DEBIAN-CVE-2004-0082","EUVD-2004-0082","GHSA-hwfq-3hhr-352p","RHSA-2004:064"],"status":"published","title":"The mksmbpasswd shell script (mksmbpasswd.sh) in Samba 3.0.0 and 3.0.1, when creating an account...","description":"The mksmbpasswd shell script (mksmbpasswd.sh) in Samba 3.0.0 and 3.0.1, when creating an account but marking it as disabled, may overwrite the user password with an uninitialized buffer, which could enable the account with a more easily guessable password.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03497,"percentile":0.89238,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2004-03-03T05:00:00Z","modified":"2026-10-21T15:47:32Z","fixes":[{"ecosystem":"Debian:12","package":"samba","fixed_in":["3.0.7"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"samba","fixed_in":["3.0.7"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"samba","fixed_in":["3.0.7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"samba","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"samba-client","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"samba-common","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"samba-swat","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"samba","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"samba-client","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"samba-common","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"samba-swat","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"samba","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"samba-client","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"samba-common","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"samba-swat","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"samba","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"samba-client","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"samba-common","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"samba-swat","fixed_in":["0:3.0.2-6.3E"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.7"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.7"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"samba-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"samba-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"samba-swat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"samba-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"samba-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"samba-swat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"samba-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"samba-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"samba-swat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"samba-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"samba-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"samba-swat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.2-6.3E"}]}]}],"products":[{"vendor":"samba","product":"samba"}],"references":[{"url":"http://www.securityfocus.com/bid/9637","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15132","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.ciac.org/ciac/bulletins/o-078.shtml","tags":["third-party-advisory","government-resource","x_refsource_CIAC","x_transferred","web"]},{"url":"http://www.vuxml.org/freebsd/3388eff9-5d6e-11d8-80e3-0020ed76ef5a.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A827","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://us1.samba.org/samba/ftp/WHATSNEW-3.0.2a.txt","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-064.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.osvdb.org/3919","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0082","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hwfq-3hhr-352p"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0082","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2004:064","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=114995","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_064.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0082","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617143","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0082","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0082","description":"The mksmbpasswd shell script (mksmbpasswd.sh) in Samba 3.0.0 and 3.0.1, when creating an account but marking it as disabled, may overwrite the user password with an uninitialized buffer, which could enable the account with a more easily guessable password.","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T00:01:23.636Z","updated_at":"2026-11-02T14:34:55.098814Z"}],"euvd":[{"id":"EUVD-2004-0082","description":"The mksmbpasswd shell script (mksmbpasswd.sh) in Samba 3.0.0 and 3.0.1, when creating an account but marking it as disabled, may overwrite the user password with an uninitialized buffer, which could enable the account with a more easily guessable password.","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T00:01:23Z","updated_at":"2026-11-03T01:15:21.029087Z"}],"ghsa":[{"id":"GHSA-hwfq-3hhr-352p","title":"The mksmbpasswd shell script (mksmbpasswd.sh) in Samba 3.0.0 and 3.0.1, when creating an account...","description":"The mksmbpasswd shell script (mksmbpasswd.sh) in Samba 3.0.0 and 3.0.1, when creating an account but marking it as disabled, may overwrite the user password with an uninitialized buffer, which could enable the account with a more easily guessable password.","status":"published","published":"2022-04-29T02:57:06Z","modified":"2023-01-30T05:02:24Z","updated_at":"2026-11-02T14:46:38.066268Z"}],"nvd":[{"id":"CVE-2004-0082","description":"The mksmbpasswd shell script (mksmbpasswd.sh) in Samba 3.0.0 and 3.0.1, when creating an account but marking it as disabled, may overwrite the user password with an uninitialized buffer, which could enable the account with a more easily guessable password.","status":"published","published":"2004-03-03T05:00:00Z","modified":"2026-06-16T22:04:54.197Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:49.729639Z"}],"osv":[{"id":"CVE-2004-0082","description":"The mksmbpasswd shell script (mksmbpasswd.sh) in Samba 3.0.0 and 3.0.1, when creating an account but marking it as disabled, may overwrite the user password with an uninitialized buffer, which could enable the account with a more easily guessable password.","status":"published","published":"2004-03-03T05:00:00Z","modified":"2026-04-10T03:35:41.402102Z","updated_at":"2026-11-02T15:43:55.998148Z"},{"id":"DEBIAN-CVE-2004-0082","description":"The mksmbpasswd shell script (mksmbpasswd.sh) in Samba 3.0.0 and 3.0.1, when creating an account but marking it as disabled, may overwrite the user password with an uninitialized buffer, which could enable the account with a more easily guessable password.","status":"published","published":"2004-03-03T05:00:00Z","modified":"2026-10-21T15:47:32.054816636Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"RHSA-2004:064","title":"Red Hat Security Advisory: samba security update","status":"published","published":"2024-09-12T22:07:18Z","modified":"2026-06-26T10:01:04Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
