libarchive CVE-2019-18408 Arbitrary Code Execution Vulnerability



Date Discovered

October 31, 2019


libarchive is prone to an arbitrary code-execution vulnerability. Attackers may leverage this issue to execute arbitrary code on the affected system. Failed attacks will cause denial-of-service conditions.

Technologies Affected

  • Ubuntu Ubuntu Linux 14.04 ESM
  • Ubuntu Ubuntu Linux 16.04 LTS
  • Ubuntu Ubuntu Linux 18.04 LTS
  • Ubuntu Ubuntu Linux 19.04
  • libarchive libarchive 2.8.3
  • libarchive libarchive 2.8.4
  • libarchive libarchive 3.0.4
  • libarchive libarchive 3.1.0
  • libarchive libarchive 3.1.1
  • libarchive libarchive 3.1.2
  • libarchive libarchive 3.2.0
  • libarchive libarchive 3.2.1
  • libarchive libarchive 3.2.2
  • libarchive libarchive 3.3.0
  • libarchive libarchive 3.3.1
  • libarchive libarchive 3.3.2
  • libarchive libarchive 3.3.3


Run all software as a nonprivileged user with minimal access rights.
To reduce the impact of latent vulnerabilities, always run nonadministrative software as an unprivileged user with minimal access rights.

Deploy network intrusion detection systems to monitor network traffic for malicious activity.
Deploy NIDS to monitor network traffic for signs of anomalous or suspicious activity. This includes but is not limited to requests that include NOP sleds and unexplained incoming and outgoing traffic. This may indicate exploit attempts or activity that results from successful exploits.

Do not follow links provided by unknown or untrusted sources.
Never follow links provided by unknown or untrusted sources.

Implement multiple redundant layers of security.
Since this issue may be leveraged to execute code, we recommend memory-protection schemes, such as nonexecutable stack/heap configurations and randomly mapped memory segments. This tactic may complicate exploits of memory-corruption vulnerabilities.

Updates are available. Please see the references or vendor advisory for more information.



Moritz Muehlenhoff

© 1995- Symantec Corporation

Permission to redistribute this alert electronically is granted as long as it is not edited in any way unless authorized by Symantec Security Response. Reprinting the whole or part of this alert in any medium other than electronically requires permission from


The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.

Symantec, Symantec products, Symantec Security Response, and are registered trademarks of Symantec Corp. and/or affiliated companies in the United States and other countries. All other registered and unregistered trademarks represented in this document are the sole property of their respective companies/owners.