{"id":"UBUNTU-CVE-2019-12402","details":"The file name encoding algorithm used internally in Apache Commons Compress 1.15 to 1.18 can get into an infinite loop when faced with specially crafted inputs. This can lead to a denial of service attack if an attacker can choose the file names inside of an archive created by Compress.","modified":"2025-10-24T04:47:40Z","published":"2019-08-30T09:15:00Z","upstream":["CVE-2019-12402"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-12402"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2019/08/27/1"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/308cc15f1f1dc53e97046fddbac240e6cd16de89a2746cf257be7f5b@%3Cdev.commons.apache.org%3E"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-12402"}],"affected":[{"package":{"name":"libcommons-compress-java","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libcommons-compress-java@1.18-1~18.04?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13-1","1.13-2","1.18-1~18.04"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-compress-java","binary_version":"1.18-1~18.04"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12402.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}