CVE-2007-6059

CVE-2007-6059 is a medium-severity vulnerability in Sun Javamail with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-399.

Key facts

Description

Javamail does not properly handle a series of invalid login attempts in which the same e-mail address is entered as username and password, and the domain portion of this address yields a Java UnknownHostException error, which allows remote attackers to cause a denial of service (connection pool exhaustion) via a large number of requests, resulting in a SQLNestedException. NOTE: Sun disputes this issue, stating "The report makes references to source code and files that do not exist in the mentioned products.

Frequently asked questions

What is CVE-2007-6059?
Javamail does not properly handle a series of invalid login attempts in which the same e-mail address is entered as username and password, and the domain portion of this address yields a Java UnknownHostException error, which allows remote attackers to cause a denial of service (connection pool exhaustion) via a large number of requests, resulting in a SQLNestedException. NOTE: Sun disputes this issue, stating "The report makes references to source code and files that do not exist in the mentioned products.
How severe is CVE-2007-6059?
CVE-2007-6059 has a CVSS 2.0 base score of 5.0, rated medium severity.
Is CVE-2007-6059 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (75th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-6059?
CVE-2007-6059 affects Sun Javamail. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2007-6059?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2007-6059 published?
CVE-2007-6059 was published on 2007-11-20 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Sun Javamail

All CVEs affecting Sun Javamail →

Other CWE-399 (Resource Management Errors) vulnerabilities

Browse all CWE-399 (Resource Management Errors) vulnerabilities →