Skip to content
Heist/ feed
Back to feed
Medium

tika — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2018-1339

A carefully crafted (or fuzzed) file can trigger an infinite loop in Apache Tika's ChmParser in versions of Apache Tika before 1.18.

Products
tika
Affected versions
1.22-2, 1.5-2, 1.5-3, 1.5-4, 1.5-4ubuntu0.1, 1.5-5
Fixed versions
Not specified
CVEs
CVE-2018-1339
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:24 UTC · Revision 1

Source evidence

UBUNTU-CVE-2018-1339

core-osv · Original source

Published 25 Apr 2018, 21:29 UTC

A carefully crafted (or fuzzed) file can trigger an infinite loop in Apache Tika's ChmParser in versions of Apache Tika before 1.18.

osv:UBUNTU-CVE-2018-1339

tika

Fixed versions: Not specified

tika

Fixed versions: Not specified

tika

Fixed versions: Not specified

tika

Fixed versions: Not specified

tika

Fixed versions: Not specified

Complete source record
{
  "id": "5466731045deec971b4fe2ea034f6662b90fe86a3522be745b64e4b51145f525",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2018-1339",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2018-1339",
    "summary": "A carefully crafted (or fuzzed) file can trigger an infinite loop in Apache Tika's ChmParser in versions of Apache Tika before 1.18.",
    "evidence": "osv:UBUNTU-CVE-2018-1339",
    "products": [
      {
        "name": {
          "value": "tika",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.5-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.5-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.5-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.5-4ubuntu0.1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tika",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.5-5",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tika",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.22-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tika",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.22-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tika",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.22-2",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2018-1339",
      "aliases": [
        "UBUNTU-CVE-2018-1339"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tika",
            "purl": "pkg:deb/ubuntu/tika?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.5-2",
            "1.5-3",
            "1.5-4",
            "1.5-4ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1339.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libtika-java",
                "binary_version": "1.5-4ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tika",
            "purl": "pkg:deb/ubuntu/tika?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.5-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1339.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libtika-java",
                "binary_version": "1.5-5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tika",
            "purl": "pkg:deb/ubuntu/tika?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.22-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1339.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libtika-java",
                "binary_version": "1.22-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tika",
            "purl": "pkg:deb/ubuntu/tika?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.22-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1339.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libtika-java",
                "binary_version": "1.22-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tika",
            "purl": "pkg:deb/ubuntu/tika?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.22-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1339.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libtika-java",
                "binary_version": "1.22-2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:54:20.494573896Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-1339"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2018-1339",
        "https://lists.apache.org/thread.html/4d2cb5c819401bb075e2a1130e0d14f0404a136541a6f91da0225828@%3Cdev.tika.apache.org%3E",
        "https://www.cve.org/CVERecord?id=CVE-2018-1339"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-1339",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 353508,
  "published_at": "2018-04-25T21:29:00+00:00"
}