Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-1271

30
FAUCET Score

CVE-2022-1271 is an arbitrary file write vulnerability in GNU gzip's zgrep utility, affecting products like Debian, GNU, Red Hat, and Tukaani. This flaw allows a remote, low-privileged attacker to overwrite arbitrary files on a system due to insufficient validation of crafted multi-line filenames containing embedded content and target file names. With a CVSS score of 8.8 (High), the vulnerability poses a significant risk with high impact on confidentiality, integrity, and availability. Currently, there is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.12CPE matchmatch criteria
cpe:2.3:a:gnu:gzip:*:*:*:*:*:*:*:*
7.0.0CPE matchmatch criteria
cpe:2.3:a:redhat:jboss_data_grid:7.0.0:*:*:*:*:*:*:*
10.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
< 5.2.5CPE matchmatch criteria
cpe:2.3:a:tukaani:xz:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

8.8HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
4.27%
Probability of exploitation in next 30 days
EPSS Percentile
90.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0427 is in the 89th percentile among its peer group of 17,823 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (23)

microsoftpatch availablevia msrc
Product: 18632-16820Fixed in: 1.12-1
microsoftpatch availablevia msrc
Product: 18633-16823Fixed in: 1.12-1
microsoftpatch availablevia msrc
Product: CBL Mariner 1.0 x64Fixed in: 1.12-1
microsoftpatch availablevia msrc
Product: CBL Mariner 1.0 ARMFixed in: 1.12-1
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 x64Fixed in: 1.12-1
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 ARMFixed in: 1.12-1
microsoftpatch availablevia msrc
Product: cm1 gzip 1.12-1 on CBL Mariner 1.0Fixed in: 1.12-1
microsoftpatch availablevia msrc
Product: cbl2 gzip 1.12-1 on CBL Mariner 2.0Fixed in: 1.12-1
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionsFixed in: xz-0:5.2.4-4.el8_1
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.2 Extended Update SupportFixed in: xz-0:5.2.4-4.el8_2
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.4 Extended Update SupportFixed in: gzip-0:1.9-13.el8_4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.4 Extended Update SupportFixed in: xz-0:5.2.4-4.el8_4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: xz-0:5.2.5-8.el9_0
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: gzip-0:1.10-9.el9_0
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Virtualization 4 for Red Hat Enterprise Linux 7Fixed in: redhat-virtualization-host-0:4.3.23-20220622.0.el7_9
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Virtualization 4 for Red Hat Enterprise Linux 8Fixed in: redhat-virtualization-host-0:4.5.0-202205291010_8.6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.2 Extended Update SupportFixed in: gzip-0:1.9-10.el8_2
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: gzip-0:1.5-11.el7_9
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: xz-0:5.2.2-2.el7_9
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: gzip-0:1.9-13.el8_5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: xz-0:5.2.4-4.el8_6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionsFixed in: gzip-0:1.9-10.el8_1
View patch
redhatno patchvia redhat_api
Product: Red Hat JBoss Data Grid 7Fixed in: gzip

Vendor Advisories (3)

microsoft2022-Sep/CVE-2022-1271

CVE-2022-1271

Sep 13, 2022
microsoft2022-Aug/CVE-2022-1271Important

An arbitrary file write vulnerability was found in GNU gzip's zgrep utility. When zgrep is applied on the attacker's chosen file name (for example a crafted file name) this can overwrite an attacker's content to an arbitrary attacker-selected file. This flaw occurs due to insufficient validation when processing filenames with two or more newlines where selected content and the target file names are embedded in crafted multi-line file names. This flaw allows a remote low privileged attacker to force zgrep to write arbitrary files on the system.

Aug 9, 2022
redhatCVE-2022-1271Important

gzip: arbitrary-file-write vulnerability

Apr 7, 2022

References

access.redhat.com / security/cve/CVE-2022-1271
Third Party Advisory
bugzilla.redhat.com / show_bug.cgi
Issue TrackingThird Party Advisory
git.tukaani.org
Broken Link
lists.gnu.org / r/bug-gzip/2022-04/msg00011.html
Mailing ListPatchVendor Advisory
security.gentoo.org / glsa/202209-01
Third Party Advisory
security.netapp.com / advisory/ntap-20220930-0006
Third Party Advisory
security-tracker.debian.org / tracker/CVE-2022-1271
Third Party Advisory
tukaani.org / xz/xzgrep-ZDI-CAN-16587.patch
PatchThird Party Advisory
openwall.com / lists/oss-security/2022/04/07/8
Mailing ListPatchThird Party Advisory