{"id":"CVE-2004-1289","aliases":["DEBIAN-CVE-2004-1289","DSA-625-1","EUVD-2004-1286","GHSA-7wh2-5p5j-qqmq"],"status":"published","title":"Multiple buffer overflows in (1) the getline function in pcalutil.c and (2) the get_holiday...","description":"Multiple buffer overflows in (1) the getline function in pcalutil.c and (2) the get_holiday function in readfile.c for pcal 4.7.1 allow remote attackers to execute arbitrary code via a crafted calendar file.","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-08","score":0.14689,"percentile":0.96688,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2004-12-22T05:00:00Z","modified":"2026-10-21T15:47:22Z","exploits":[{"source":"exploitdb","id":"EDB-25035","title":"PCAL 4.x - Calendar File 'getline' Remote Buffer Overflow","type":"remote","platform":"linux","date":"2004-12-15","verified":true,"url":"https://www.exploit-db.com/exploits/25035"},{"source":"exploitdb","id":"EDB-25036","title":"PCAL 4.x - Calendar File 'get_holiday' Remote Buffer Overflow","type":"remote","platform":"linux","date":"2004-12-15","verified":true,"url":"https://www.exploit-db.com/exploits/25036"}],"fixes":[{"ecosystem":"Debian:12","package":"pcal","fixed_in":["4.8.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"pcal","fixed_in":["4.8.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pcal","fixed_in":["4.8.0-1"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"pcal","fixed_in":["4.7-8woody1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"pcal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.8.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"pcal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.8.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"pcal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.8.0-1"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"pcal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7-8woody1"}]}],"versions":["4.7-8"]}],"products":[{"vendor":"pcal","product":"pcal"}],"references":[{"url":"http://tigger.uic.edu/~jlongs2/holes/pcal.txt","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","advisory","evidence"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18552","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1289"},{"url":"https://github.com/advisories/GHSA-7wh2-5p5j-qqmq"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-1289","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-1289","description":"Multiple buffer overflows in (1) the getline function in pcalutil.c and (2) the get_holiday function in readfile.c for pcal 4.7.1 allow remote attackers to execute arbitrary code via a crafted calendar file.","status":"published","published":"2004-12-22T05:00:00Z","modified":"2024-08-08T00:46:12.339Z","updated_at":"2026-11-02T14:34:54.398187Z"}],"euvd":[{"id":"EUVD-2004-1286","description":"Multiple buffer overflows in (1) the getline function in pcalutil.c and (2) the get_holiday function in readfile.c for pcal 4.7.1 allow remote attackers to execute arbitrary code via a crafted calendar file.","status":"published","published":"2004-12-22T05:00:00Z","modified":"2024-08-08T00:46:12Z","updated_at":"2026-11-03T01:15:15.601329Z"}],"ghsa":[{"id":"GHSA-7wh2-5p5j-qqmq","title":"Multiple buffer overflows in (1) the getline function in pcalutil.c and (2) the get_holiday...","description":"Multiple buffer overflows in (1) the getline function in pcalutil.c and (2) the get_holiday function in readfile.c for pcal 4.7.1 allow remote attackers to execute arbitrary code via a crafted calendar file.","status":"published","published":"2022-04-29T02:59:16Z","modified":"2023-01-30T05:03:23Z","updated_at":"2026-11-02T14:46:49.507262Z"}],"nvd":[{"id":"CVE-2004-1289","description":"Multiple buffer overflows in (1) the getline function in pcalutil.c and (2) the get_holiday function in readfile.c for pcal 4.7.1 allow remote attackers to execute arbitrary code via a crafted calendar file.","status":"published","published":"2005-01-10T05:00:00Z","modified":"2026-06-16T22:07:24.363Z","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":"CVE-2004-1289","description":"Multiple buffer overflows in (1) the getline function in pcalutil.c and (2) the get_holiday function in readfile.c for pcal 4.7.1 allow remote attackers to execute arbitrary code via a crafted calendar file.","status":"published","published":"2005-01-10T05:00:00Z","modified":"2026-04-10T03:36:34.159519Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-1289","description":"Multiple buffer overflows in (1) the getline function in pcalutil.c and (2) the get_holiday function in readfile.c for pcal 4.7.1 allow remote attackers to execute arbitrary code via a crafted calendar file.","status":"published","published":"2005-01-10T05:00:00Z","modified":"2026-10-21T15:47:22.165998485Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-625-1","title":"pcal - buffer overflows","status":"published","published":"2005-01-05T00:00:00Z","modified":"2026-03-09T02:11:30.249559Z","updated_at":"2026-11-02T15:46:18.296714Z"}]}}
