{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-59338",
        "assignerOrgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
        "state": "PUBLISHED",
        "assignerShortName": "vmware",
        "dateReserved": "2026-07-04T18:14:22.383Z",
        "datePublished": "2026-12-02T07:09:17.514Z",
        "dateUpdated": "2026-12-02T07:09:17.514Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
                "shortName": "vmware",
                "dateUpdated": "2026-12-02T07:09:17.514Z"
            },
            "title": "Unbounded Tika text extraction can exhaust JVM memory",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "TikaDocumentReader in Spring AI uses Apache Tika to extract text from documents. Its default configuration disables\nTika's built-in content-size limit, so the extracted text of a parsed document is buffered in memory with no absolute bound.\nApache Tika still aborts a parse when the extracted text is disproportionate to the size of the input, which rejects\nhighly compressed inputs such as archive bombs, but that guard is relative to the input and places no ceiling on the\ntotal amount of text extracted. An application that uses TikaDocumentReader to process documents from an untrusted\nsource (e.g., user-uploaded files or attacker-supplied URLs) may therefore be induced to allocate an excessive amount\nof memory while parsing a sufficiently large document, potentially exhausting available JVM heap and causing a denial of service."
                }
            ],
            "affected": [
                {
                    "vendor": "Spring",
                    "product": "Spring AI",
                    "versions": [
                        {
                            "version": "2.0.0",
                            "lessThan": "2.0.2.1",
                            "versionType": "semver",
                            "status": "affected"
                        },
                        {
                            "version": "1.1.0",
                            "lessThan": "1.1.10",
                            "versionType": "semver",
                            "status": "affected"
                        },
                        {
                            "version": "1.0.0",
                            "lessThan": "1.0.11",
                            "versionType": "semver",
                            "status": "affected"
                        },
                        {
                            "version": "2.0.0",
                            "lessThan": "2.0.3",
                            "versionType": "OSS",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://spring.io/security/cve-2026-59338"
                },
                {
                    "url": "https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H&version=3.1"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "The issue was reported responsibly by aleister1102 ( https://github.com/aleister1102 ) and\nindependently reported by Raphael Zanarelli - https://github.com/zanarellidev"
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH",
                        "baseSeverity": "HIGH",
                        "baseScore": 7.5,
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                    }
                }
            ]
        }
    }
}