CVE-2022-1271An arbitrary file write vulnerability was found in GNU gzip's zgrep utility.
Updated under an hour ago ()
Does this affect you?
It affects Siemens RUGGEDCOM APE1808 and 7 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 8.8 HIGH (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-179
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Modified
- Record last updated
- Oct 14, 2026
- First seen by InfoSec Signals
- Oct 14, 2026
Affected products
Siemens RUGGEDCOM APE1808 siemens:ruggedcom_ape1808 (from the name) | all versions | CISA ADP |
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP siemens:simatic_s7_1500_cpu_1518_4_pn_dp_mfp (from the name) | from V3.1.0 before V3.1.5 | CISA ADP |
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP siemens:simatic_s7_1500_cpu_1518f_4_pn_dp_mfp (from the name) | from V3.1.0 before V3.1.5 | CISA ADP |
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP siemens:siplus_s7_1500_cpu_1518_4_pn_dp_mfp (from the name) | from V3.1.0 before V3.1.5 | CISA ADP |
gnu gzip gnu:gzip | before 1.12 | NVD |
redhat jboss_data_grid redhat:jboss_data_grid | 7.0.0 | NVD |
debian debian_linux debian:debian_linux | 10.0 | NVD |
tukaani xz tukaani:xz | before 5.2.5 | NVD |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2073310x-refsource-misc, issue-tracking, third-party-advisory
- https://www.openwall.com/lists/oss-security/2022/04/07/8x-refsource-misc, mailing-list, patch, third-party-advisory
- https://lists.gnu.org/r/bug-gzip/2022-04/msg00011.htmlx-refsource-misc, mailing-list, patch, vendor-advisory
- https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patchx-refsource-misc, patch, third-party-advisory
- https://git.tukaani.org/?p=xz.git%3Ba=commit%3Bh=69d1b3fc29677af8ade8dc15dba83f0589cb63d6x-refsource-misc, broken-link
- https://security-tracker.debian.org/tracker/CVE-2022-1271x-refsource-misc, third-party-advisory
- https://access.redhat.com/security/cve/CVE-2022-1271x-refsource-misc, third-party-advisory
- https://security.gentoo.org/glsa/202209-01vendor-advisory, x-refsource-gentoo, third-party-advisory
- https://security.netapp.com/advisory/ntap-20220930-0006/x-refsource-confirm, third-party-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-455250.html
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.