CVE-2004-1289

unknown
Published — · Modified —
CVSS v3
CVSS v4 NEW
not yet in upstream
VIR risk
1.0

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

✚ Propose a mitigation on Community → Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-25035 remote linux verified text · 1 KB
Danny Lungstrom · 2004-12-15

PCAL 4.x - Calendar File 'getline' Remote Buffer Overflow

text exploit Source: Exploit-DB
source: https://www.securityfocus.com/bid/12035/info

PCAL is prone to a buffer overflow vulnerability. This issue is exposed when the application handles a calendar file that contains excessively long lines. Since calendar files may originate from an external or untrusted source, this vulnerability is considered to be remote in nature.

Successful exploitation of this issue will result in execution of arbitrary code as the user of the application. 

https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/25035.zip
EDB-25036 remote linux verified
Danny Lungstrom · 2004-12-15

PCAL 4.x - Calendar File 'get_holiday' Remote Buffer Overflow

Source code queued for fetch — refresh in a moment.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 4.8.0-1
sid Fixed 4.8.0-1
forky Fixed 4.8.0-1
bullseye Fixed 4.8.0-1
bookworm Fixed 4.8.0-1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.