CVE-2004-1289 Memory corruption in n/a

Critical 10.0 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening a crafted calendar file in the PCal utility.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2004-1289?

CVE-2004-1289 is a critical memory corruption vulnerability in n/a, published on 22 Dec 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Which versions are affected by CVE-2004-1289?

It affects 1 product.

Products include Pcal Pcal.

How do I fix CVE-2004-1289?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2004-1289 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-1289 exists.

Public exploit code: 2 Exploit-DB entries.

Sources

Also known as DEBIAN-CVE-2004-1289, DSA-625-1, GHSA-7wh2-5p5j-qqmq.

Is CVE-2004-1289 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free