CVE-2018-17202: Infinite Loop in Apache Sanselan

org.apache.sanselan:sanselan Updated 02 Oct 2025

Summary

14/05/2019
No i
High
7.5

CVE-2018-17202: Infinite Loop in Apache Sanselan. Affects org.apache.sanselan:sanselan versions < 0.97-incubator. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Sanselan (incubating), now known as Apache Commons Imaging, is a library for reading and writing a variety of image formats in Java. It provides functionality for image manipulation, metadata extraction, and other image-related operations. The vulnerability identified as CVE-2018-17202 allows certain input files to trigger an infinite loop when parsed using Apache Sanselan 0.97-incubator, potentially leading to a denial-of-service (DoS) attack.

Vulnerability Detail

The vulnerability arises from a flaw in the code of Apache Sanselan 0.97-incubator. When specific input files are processed, the code enters an infinite loop, causing excessive resource consumption and potentially rendering the system unresponsive. This vulnerability can be exploited by an attacker to launch a DoS attack, disrupting the availability of the affected system. It is important to note that this vulnerability has a CVSS score of 7.5, indicating a high severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended approach is to update to a patched version of Apache Commons Imaging.

Conclusion

The vulnerability identified as CVE-2018-17202 in Apache Sanselan (now Apache Commons Imaging) allows certain input files to trigger an infinite loop, potentially leading to a denial-of-service attack. To mitigate this vulnerability, it is crucial to update to a patched version of Apache Commons Imaging. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.sanselan:sanselan →

Share this vulnerability

FAQ

Apache Sanselan (incubating), now known as Apache Commons Imaging, is a Java library for reading and writing various image formats. It provides functionality for image manipulation, metadata extraction, and other image-related operations.

The vulnerability allows certain input files to trigger an infinite loop, potentially leading to a denial-of-service (DoS) attack. This can result in the affected system becoming unresponsive and unavailable.

An attacker can exploit this vulnerability by providing specific input files that cause the code to enter an infinite loop. This excessive resource consumption can lead to a DoS attack, impacting the availability of the system.

This vulnerability has a CVSS score of 7.5, indicating a high severity level.

To fix this vulnerability, it is recommended to update to a patched version of Apache Commons Imaging that addresses the infinite loop issue.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.sanselan:sanselan.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback