CVE-2004-2523: Format string vulnerability in the msg command (cat_message function in msg.c) in OpenFTPD 0.30.2 and earlier
CVE-2004-2523 is a medium-severity flaw (CVSS 6.5) affecting openftpd ftp server. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Format string vulnerability in the msg command (cat_message function in msg.c) in OpenFTPD 0.30.2 and earlier allows remote authenticated users to execute arbitrary code via format string specifiers in the message argument.
Why this priority
- EPSS top 7%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| EPSS exploit chance | 5.4% (top 7%) |
| CISA exploited list | No |
| Published | 2004-12-31 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: OpenFTPd 0.30.1 - message system Remote Shell
- Exploit-DB: OpenFTPd 0.30.2 - Remote Overflow
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-2523?
openftpd ftp server: upgrade to newer than 0.30.2. Exact commands for each OS are on this page.
Is CVE-2004-2523 being exploited?
CVE-2004-2523 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-2523 affect?
CVE-2004-2523 affects openftpd ftp server. Severity is medium (CVSS 6.5). Format string vulnerability in the msg command (cat_message function in msg.c) in OpenFTPD 0.30.2 and earlier allows remote authenticated users to execute arbitrary code via format string specifiers in the message argument.
How urgent is CVE-2004-2523?
Priority 51/100. EPSS top 7%: very likely to be exploited; Public exploit reference