CVE-2013-4402: Input Validation

Published Oct 4, 2013
·
Updated

The compressed packet parser in GnuPG 1.4.x before 1.4.15 and 2.0.x before 2.0.22 allows remote attackers to cause a denial of service (infinite recursion) via a crafted OpenPGP message.

Other sources

Werner Koch reports:

We are pleased to announce the availability of a new stable GnuPG-2 release: Version 2.0.22. This is a security fix release and all users are advised to updated to this version. See below for the impact of the problem.

What's New in 2.0.22 ====================

Fixed possible infinite recursion in the compressed packet parser. [CVE-2013-4402]

Impact of the security problem ==============================

Special crafted input data may be used to cause a denial of service against GPG (GnuPG's OpenPGP part) and some other OpenPGP implementations. All systems using GPG to process incoming data are affected.

Taylor R Campbell invented a neat trick to generate OpenPGP packages to force GPG to recursively parse certain parts of OpenPGP messages ad infinitum. As a workaround a tight "ulimit -v" setting may be used to mitigate the problem. Sample input data to trigger this problem has not yet been seen in the wild. Details of the attack will eventually be published by its inventor.

A fixed release of the GnuPG 1.4 series will be releases soon.

Red Hat

Affected Software

31 affected componentsFixes available
redhat/gnupg<1.4.15
1.4.15
redhat/gnupg<2.0.22
2.0.22
gnupg GnuPG=1.4.0
gnupg GnuPG=1.4.2
gnupg GnuPG=1.4.3
gnupg GnuPG=1.4.4
gnupg GnuPG=1.4.5
gnupg GnuPG=1.4.8
gnupg GnuPG=1.4.10
gnupg GnuPG=1.4.11
gnupg GnuPG=1.4.12
gnupg GnuPG=1.4.13
gnupg GnuPG=1.4.14
gnupg GnuPG=2.0
gnupg GnuPG=2.0.1
gnupg GnuPG=2.0.10
gnupg GnuPG=2.0.11
gnupg GnuPG=2.0.12
gnupg GnuPG=2.0.13
gnupg GnuPG=2.0.14
gnupg GnuPG=2.0.15
gnupg GnuPG=2.0.16
gnupg GnuPG=2.0.17
gnupg GnuPG=2.0.18
gnupg GnuPG=2.0.19
gnupg GnuPG=2.0.20
gnupg GnuPG=2.0.21
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=12.10
Canonical Ubuntu Linux=13.04

Event History

Oct 4, 2013
Data Sourced
via Red Hat·08:49 PM
DescriptionSeverityAffected Software
Oct 28, 2013
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2013-4402?

CVE-2013-4402 is classified as a denial of service vulnerability due to infinite recursion in the GnuPG compressed packet parser.

2

How do I fix CVE-2013-4402?

To fix CVE-2013-4402, upgrade GnuPG to version 1.4.15 or later for the 1.4.x series or to version 2.0.22 or later for the 2.0.x series.

3

What versions of GnuPG are affected by CVE-2013-4402?

GnuPG versions 1.4.0 to 1.4.14 and 2.0.0 to 2.0.21 are affected by CVE-2013-4402.

4

Can CVE-2013-4402 lead to data loss?

CVE-2013-4402 primarily causes denial of service, but unexpected behavior in crypto implementations may pose a risk of data loss.

5

Is my system vulnerable to CVE-2013-4402?

If you are using GnuPG versions prior to 1.4.15 or 2.0.22, your system is vulnerable to CVE-2013-4402.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203