{"id":"CVE-2004-0396","aliases":["DEBIAN-CVE-2004-0396","DSA-505","EUVD-2004-0396","GHSA-qvjj-23hg-238h","RHSA-2004:190"],"status":"published","title":"Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the...","description":"Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the pserver mechanism allows remote attackers to execute arbitrary code via Entry lines.","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.67525,"percentile":0.99317,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2004-05-19T00:00:00Z","modified":"2026-10-21T15:47:29Z","exploits":[{"source":"exploitdb","id":"EDB-300","title":"CVS (Linux/FreeBSD) - Remote Entry Line Heap Overflow","type":"remote","platform":"multiple","date":"2004-06-25","verified":true,"url":"https://www.exploit-db.com/exploits/300"},{"source":"exploitdb","id":"EDB-301","title":"CVS - Remote Entry Line Root Heap Overflow","type":"remote","platform":"solaris","date":"2004-06-25","verified":true,"url":"https://www.exploit-db.com/exploits/301"}],"fixes":[{"ecosystem":"Debian:12","package":"cvs","fixed_in":["1:1.12.5-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"cvs","fixed_in":["1:1.12.5-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"cvs","fixed_in":["1:1.12.5-6"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"cvs","fixed_in":["1.11.1p1debian-9woody4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"cvs","fixed_in":["0:1.11.2-22"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"cvs-debuginfo","fixed_in":["0:1.11.2-22"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"cvs","fixed_in":["0:1.11.2-22"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"cvs-debuginfo","fixed_in":["0:1.11.2-22"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"cvs","fixed_in":["0:1.11.2-22"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"cvs-debuginfo","fixed_in":["0:1.11.2-22"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"cvs","fixed_in":["0:1.11.2-22"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"cvs-debuginfo","fixed_in":["0:1.11.2-22"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"cvs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.12.5-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"cvs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.12.5-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"cvs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.12.5-6"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"cvs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.1p1debian-9woody4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"cvs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.11.2-22"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"cvs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.11.2-22"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"cvs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.11.2-22"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"cvs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.11.2-22"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"cvs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.11.2-22"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"cvs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.11.2-22"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"cvs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.11.2-22"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"cvs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.11.2-22"}]}]}],"products":[{"vendor":"cvs","product":"cvs"}],"references":[{"url":"http://secunia.com/advisories/11641","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/11652","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A970","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://marc.info/?l=bugtraq\u0026m=108500040719512\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9058","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:048","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred","advisory"]},{"url":"http://cert.uni-stuttgart.de/archive/bugtraq/2004/05/msg00219.html","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://marc.info/?l=openbsd-security-announce\u0026m=108508894405639\u0026w=2","tags":["vendor-advisory","x_refsource_OPENBSD","x_transferred","web"]},{"url":"ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:10.cvs.asc","tags":["vendor-advisory","x_refsource_FREEBSD","x_transferred","advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-190.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://secunia.com/advisories/11674","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200405-12.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/11651","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.osvdb.org/6305","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA04-147A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","US Government Resource","web"]},{"url":"http://www.ciac.org/ciac/bulletins/o-147.shtml","tags":["third-party-advisory","government-resource","x_refsource_CIAC","x_transferred","web"]},{"url":"http://marc.info/?l=bugtraq\u0026m=108498454829020\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://secunia.com/advisories/11647","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://marc.info/?l=bugtraq\u0026m=108636445031613\u0026w=2","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.kb.cert.org/vuls/id/192038","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","Patch","Third Party Advisory","US Government Resource","advisory","fix","web"]},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2004-05/0980.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"http://www.debian.org/security/2004/dsa-505","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16193","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://security.e-matters.de/advisories/072004.html","tags":["x_refsource_MISC","x_transferred","advisory","article"]},{"url":"http://www.slackware.com/security/viewer.php?l=slackware-security\u0026y=2004\u0026m=slackware-security.395865","tags":["vendor-advisory","x_refsource_SLACKWARE","x_transferred","web"]},{"url":"ftp://ftp.NetBSD.org/pub/NetBSD/security/advisories/NetBSD-SA2004-008.txt.asc","tags":["vendor-advisory","x_refsource_NETBSD","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/bid/10384","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2004-May/021742.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0396","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-qvjj-23hg-238h"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0396","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2004:190","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#critical","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=122384","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_190.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0396","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617191","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0396","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0396","description":"Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the pserver mechanism allows remote attackers to execute arbitrary code via Entry lines.","status":"published","published":"2004-05-20T04:00:00Z","modified":"2024-08-08T00:17:14.626Z","updated_at":"2026-11-02T14:34:54.398187Z"}],"euvd":[{"id":"EUVD-2004-0396","description":"Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the pserver mechanism allows remote attackers to execute arbitrary code via Entry lines.","status":"published","published":"2004-05-20T04:00:00Z","modified":"2024-08-08T00:17:14Z","updated_at":"2026-11-03T01:15:19.621932Z"}],"ghsa":[{"id":"GHSA-qvjj-23hg-238h","title":"Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the...","description":"Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the pserver mechanism allows remote attackers to execute arbitrary code via Entry lines.","status":"published","published":"2022-05-03T03:13:00Z","modified":"2023-02-01T05:01:04Z","updated_at":"2026-11-02T14:49:39.648637Z"}],"nvd":[{"id":"CVE-2004-0396","description":"Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the pserver mechanism allows remote attackers to execute arbitrary code via Entry lines.","status":"published","published":"2004-06-14T04:00:00Z","modified":"2026-06-16T22:05:33.38Z","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-0396","description":"Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the pserver mechanism allows remote attackers to execute arbitrary code via Entry lines.","status":"published","published":"2004-06-14T04:00:00Z","modified":"2026-04-10T03:36:23.373177Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-0396","description":"Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the pserver mechanism allows remote attackers to execute arbitrary code via Entry lines.","status":"published","published":"2004-06-14T04:00:00Z","modified":"2026-10-21T15:47:29.418675512Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-505","title":"cvs - heap overflow","status":"published","published":"2004-05-19T00:00:00Z","modified":"2026-03-09T02:09:23.947402Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"RHSA-2004:190","title":"Red Hat Security Advisory: cvs security update","status":"published","published":"2024-11-05T16:23:08Z","modified":"2026-06-26T10:01:13Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
