Stack-based buffer overflow during the apr_time_t data conversion in Subversion 1.0.2 and earlier allows remote attackers to execute arbitrary code via a (1) DAV2 REPORT query or (2) get-dated-rev svn-protocol command.
CVE-2004-0397
Score elevated to 9.0 because EPSS predicts 87% probability of exploitation within the next 30 days (top 0.6% of all CVEs). Confidence: see factors.
- High exploitation likelihood — EPSS 75%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- —
- EG Score
- 9.0(low)
- EPSS
- 99.5%
- KEV
- Not listed
Published
July 7, 2004
Last Modified
June 16, 2026
References (26)
- cve@mitrehttp://lists.grok.org.uk/pipermail/full-disclosure/2004-May/021737.html
- cve@mitrehttp://marc.info/?l=bugtraq&m=108498676517697&w=2
- cve@mitrehttp://secunia.com/advisories/11642
- cve@mitrehttp://secunia.com/advisories/11675
- cve@mitrehttp://security.e-matters.de/advisories/082004.html
- cve@mitrehttp://subversion.tigris.org/svn-sscanf-advisory.txt
- cve@mitrehttp://www.gentoo.org/security/en/glsa/glsa-200405-14.xml
- cve@mitrehttp://www.linuxsecurity.com/advisories/fedora_advisory-4373.html
- cve@mitrehttp://www.osvdb.org/6301
- cve@mitrehttp://www.securityfocus.com/archive/1/363814
- cve@mitrehttp://www.securityfocus.com/bid/10386
- cve@mitrehttps://bugzilla.fedora.us/show_bug.cgi?id=1748
- cve@mitrehttps://exchange.xforce.ibmcloud.com/vulnerabilities/16191
- af854a3a-2127-422b-91ae-364da2661108http://lists.grok.org.uk/pipermail/full-disclosure/2004-May/021737.html
- af854a3a-2127-422b-91ae-364da2661108http://marc.info/?l=bugtraq&m=108498676517697&w=2
Data Freshness Timeline
(refreshed 4× in last 7d / 16× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-09 09:45 UTCOSV refresh
- 2026-07-08 15:09 UTCEPSS rescore
- 2026-07-04 06:26 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-28 04:52 UTCEPSS rescore
- 2026-06-27 03:04 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-21 14:52 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-20 22:12 UTCOSV refresh
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-15 17:43 UTCEPSS rescore
- 2026-06-13 22:56 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-10 22:13 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
Show 19 moreShow fewer
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 16:13 UTCEG score recompute
- 2026-05-31 16:13 UTCGHSA enrichment
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-24 16:42 UTCEPSS rescore
- 2026-05-23 00:58 UTCOSV refresh
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-20 22:36 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(4 references)Working exploit code is in the public domain (1 Metasploit module) (3 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-16284✓ verifiedFirst seen Aug 7, 2010
Subversion - Date Svnserve (Metasploit)
Open source ↗ - Exploit-DBEDB-304✓ verifiedFirst seen Jun 25, 2004
Subversion 1.0.2 - 'svn_time_from_cstring()' Remote Overflow
Open source ↗ - Exploit-DBEDB-9935✓ verifiedFirst seen May 19, 2004
Subversion 1.0.2 - Date Overflow (Metasploit)
Open source ↗ - Metasploitexploit/multi/svn/svnserve_date✓ verifiedFirst seen May 19, 2004
Subversion Date Svnserve
Open source ↗
Frequently asked(4)
What is CVE-2004-0397?
When was CVE-2004-0397 disclosed?
Is CVE-2004-0397 actively exploited?
How do I remediate CVE-2004-0397?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2004-0397
Is Your Infrastructure Affected by CVE-2004-0397?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.