Every CVE Search/ Get API key

CVE-2022-48303

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized...

5.5 MediumFix available

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.49%Up 0.6 points since Jan 30, 2023
90%50%10%1%

What each source reports

NVD Score used 5.5

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

Record
CVE-2022-48303
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
CVE List 5.5

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

Record
CVE-2022-48303
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
EUVDEUVD-2022-51003 5.5

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

Record
EUVD-2022-51003
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-h2v4-4v4p-2qvc 7.8

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized...

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

Record
GHSA-h2v4-4v4p-2qvc
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-125
Updated
2026-11-02
OSVALPINE-CVE-2022-48303 5.5

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

Record
ALPINE-CVE-2022-48303
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVAZL-37145 5.5

CVE-2022-48303 affecting package tar for versions less than 1.34-3

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

Record
AZL-37145
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 26 moreShow less
OSVBELL-CVE-2022-48303 5.5

CVE-2022-48303 does not affect BellSoft software

Record
BELL-CVE-2022-48303
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 5.5

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

Record
CVE-2022-48303
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVJLSEC-2026-184 5.5

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

Record
JLSEC-2026-184
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2023-1089 7.8

tar security update

GNU Tar provides the ability to create tar archives, as well as various other kinds of manipulation. For example, you can use Tar on previously created archives to extract files, to store additional files, or to update or list files which were already stored.

Security Fix(es):

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.(CVE-2022-48303)

Record
OESA-2023-1089
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2023-1103 7.8

tar security update

GNU Tar provides the ability to create tar archives, as well as various other kinds of manipulation. For example, you can use Tar on previously created archives to extract files, to store additional files, or to update or list files which were already stored.

Security Fix(es):

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.(CVE-2022-48303)

Record
OESA-2023-1103
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2023-1104 7.8

tar security update

GNU Tar provides the ability to create tar archives, as well as various other kinds of manipulation. For example, you can use Tar on previously created archives to extract files, to store additional files, or to update or list files which were already stored.

Security Fix(es):

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.(CVE-2022-48303)

Record
OESA-2023-1104
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2023-1106 7.8

tar security update

GNU Tar provides the ability to create tar archives, as well as various other kinds of manipulation. For example, you can use Tar on previously created archives to extract files, to store additional files, or to update or list files which were already stored.

Security Fix(es):

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.(CVE-2022-48303)

Record
OESA-2023-1106
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2023:0842 5.5

Red Hat Security Advisory: tar security update

Record
RHSA-2023:0842
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2023:0959 5.5

Red Hat Security Advisory: tar security update

Record
RHSA-2023:0959
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2023:5610 5.5

Red Hat Security Advisory: tar security update

Record
RHSA-2023:5610
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2023:0842 7.8

Moderate: tar security update

The GNU tar program can save multiple files in an archive and restore files from an archive.

Security Fix(es):

  • tar: heap buffer overflow at from_header() in list.c via specially crafted checksum (CVE-2022-48303)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2023:0842
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRLSA-2023:0959 7.8

Moderate: tar security update

The GNU tar program can save multiple files in an archive and restore files from an archive.

Security Fix(es):

  • tar: heap buffer overflow at from_header() in list.c via specially crafted checksum (CVE-2022-48303)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2023:0959
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2022-48303 5.5

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

Record
UBUNTU-CVE-2022-48303
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2023:0842 No score

Moderate: tar security update

The GNU tar program can save multiple files in an archive and restore files from an archive.

Security Fix(es):

  • tar: heap buffer overflow at from_header() in list.c via specially crafted checksum (CVE-2022-48303)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2023:0842
Updated
2026-11-02
OSVALSA-2023:0959 No score

Moderate: tar security update

The GNU tar program can save multiple files in an archive and restore files from an archive.

Security Fix(es):

  • tar: heap buffer overflow at from_header() in list.c via specially crafted checksum (CVE-2022-48303)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2023:0959
Updated
2026-11-02
OSVCLSA-2023-1677783720 No score

tar: Fix of CVE-2022-48303

  • CVE-2022-48303: check for the end of field after leading byte (0x80 or 0xff) of base-256 encoded header value.
Record
CLSA-2023-1677783720
Updated
2026-11-02
OSVCLSA-2023-1677783889 No score

tar: Fix of CVE-2022-48303

  • CVE-2022-48303: check for the end of field after leading byte (0x80 or 0xff) of base-256 encoded header value.
Record
CLSA-2023-1677783889
Updated
2026-11-02
OSVCLSA-2023-1677783967 No score

tar: Fix of CVE-2022-48303

  • CVE-2022-48303: check for the end of field after leading byte (0x80 or 0xff) of base-256 encoded header value
Record
CLSA-2023-1677783967
Updated
2026-11-02
OSVCLSA-2023-1677784249 No score

Fix CVE(s): CVE-2022-48303, CVE-2021-20193

  • SECURITY UPDATE: memory leak in read_header
    • debian/patches/CVE-2021-20193.patch: Don't return directly from the loop. Instead set the status and break. Return the status.
    • CVE-2021-20193.patch
  • SECURITY UPDATE: a heap buffer overflow
    • debian/patches/CVE-2022-48303.patch: Check for the end of field after leading byte (0x80 or 0xff) of base-256 encoded header value.
    • CVE-2022-48303.patch
  • improve debian/rules to build the project by root
Record
CLSA-2023-1677784249
Updated
2026-11-02
OSVCLSA-2023-1677791921 No score

tar: Fix of CVE-2022-48303

  • CVE-2022-48303: check for the end of field after leading byte (0x80 or 0xff) of base-256 encoded header value
Record
CLSA-2023-1677791921
Updated
2026-11-02
OSVDEBIAN-CVE-2022-48303 No score

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

Record
DEBIAN-CVE-2022-48303
Updated
2026-11-03
OSVMGASA-2023-0079 No score

Updated tar packages fix security vulnerability

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters. (CVE-2022-48303)

Record
MGASA-2023-0079
Updated
2026-11-02
OSVopenSUSE-SU-2024:12744-1 No score

tar-1.34-10.1 on GA media

These are all security issues fixed in the tar-1.34-10.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12744-1
Updated
2026-11-02
OSVSUSE-SU-2023:0441-1 No score

Security update for tar

This update for tar fixes the following issues:

  • CVE-2022-48303: Fixed a one-byte out-of-bounds read that resulted in use of uninitialized memory for a conditional jump (bsc#1207753).
Record
SUSE-SU-2023:0441-1
Updated
2026-11-02
OSVSUSE-SU-2023:0463-1 No score

Security update for tar

This update for tar fixes the following issues:

  • CVE-2022-48303: Fixed a one-byte out-of-bounds read that resulted in use of uninitialized memory for a conditional jump (bsc#1207753).

Bug fixes:

  • Fix hang when unpacking test tarball (bsc#1202436).
Record
SUSE-SU-2023:0463-1
Updated
2026-11-02
OSVUSN-5900-1 No score

tar vulnerability

It was discovered that tar incorrectly handled certain files. An attacker could possibly use this issue to expose sensitive information or cause a crash.

Record
USN-5900-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tar
Alpine:v3.14
before 1.34-r1
1.34-r1
tar
Alpine:v3.15
before 1.34-r1
1.34-r1
tar
Alpine:v3.16
before 1.34-r1
1.34-r1
tar
Alpine:v3.17
before 1.34-r2
1.34-r2
tar
Alpine:v3.18
before 1.34-r2
1.34-r2
tar
Alpine:v3.19
before 1.34-r2
1.34-r2
tar
Alpine:v3.20
before 1.34-r2
1.34-r2
tar
Alpine:v3.21
before 1.34-r2
1.34-r2
tar
Alpine:v3.22
before 1.34-r2
1.34-r2
tar
Alpine:v3.23
before 1.34-r2
1.34-r2
Show 46 moreShow less
Affected packages
PackageAffectedFixed
tar
Alpine:v3.24
before 1.34-r2
1.34-r2
tar
AlmaLinux:8
before 2:1.30-6.el8_7.1
2:1.30-6.el8_7.1
tar
AlmaLinux:9
before 2:1.34-6.el9_1
2:1.34-6.el9_1
tar
Azure Linux:2
before 1.34-3
1.34-3
tar
TuxCare:CentOS:8.4
before 2:1.30-5.el8.tuxcare.els1
2:1.30-5.el8.tuxcare.els1
tar
TuxCare:CentOS:8.5
before 2:1.30-5.el8.tuxcare.els1
2:1.30-5.el8.tuxcare.els1
tar
TuxCare:OracleLinux:6
before 2:1.23-15.el6_8.tuxcare.els1
2:1.23-15.el6_8.tuxcare.els1
tar
TuxCare:Ubuntu:16.04
From an advisory covering 2 CVEs
before 1.28-2.1ubuntu0.2+tuxcare.els1
1.28-2.1ubuntu0.2+tuxcare.els1
tar-scripts
TuxCare:Ubuntu:16.04
From an advisory covering 2 CVEs
before 1.28-2.1ubuntu0.2+tuxcare.els1
1.28-2.1ubuntu0.2+tuxcare.els1
tar
TuxCare:CentOS:6
before 2:1.23-15.el6_8.tuxcare.els1
2:1.23-15.el6_8.tuxcare.els1
tar
Debian:12
before 1.34+dfsg-1.2+deb12u1, plus listed versions
1.34+dfsg-1.2
1.34+dfsg-1.2+deb12u1
tar
Debian:13
before 1.34+dfsg-1.4
1.34+dfsg-1.4
tar
Debian:14
before 1.34+dfsg-1.4
1.34+dfsg-1.4
Tar_jll
Julia
before 1.35.0+0
1.35.0+0
tar
Mageia:8
before 1.33-2.2.mga8
1.33-2.2.mga8
tar
openEuler:20.03-LTS-SP1
before 1.32-3.oe1
1.32-3.oe1
tar
openEuler:20.03-LTS-SP3
before 1.32-3.oe1
1.32-3.oe1
tar
openEuler:22.03-LTS
before 1.34-4.oe2203
1.34-4.oe2203
tar
openEuler:22.03-LTS-SP1
before 1.34-4.oe2203sp1
1.34-4.oe2203sp1
tar
Red Hat:enterprise_linux:8::baseos
before 2:1.30-6.el8_7.1
2:1.30-6.el8_7.1
tar-debuginfo
Red Hat:enterprise_linux:8::baseos
before 2:1.30-6.el8_7.1
2:1.30-6.el8_7.1
tar-debugsource
Red Hat:enterprise_linux:8::baseos
before 2:1.30-6.el8_7.1
2:1.30-6.el8_7.1
tar
Red Hat:enterprise_linux:9::baseos
before 2:1.34-6.el9_1
2:1.34-6.el9_1
tar-debuginfo
Red Hat:enterprise_linux:9::baseos
before 2:1.34-6.el9_1
2:1.34-6.el9_1
tar-debugsource
Red Hat:enterprise_linux:9::baseos
before 2:1.34-6.el9_1
2:1.34-6.el9_1
tar
Red Hat:rhel_eus:8.6::baseos
before 2:1.30-5.el8_6.1
2:1.30-5.el8_6.1
tar-debuginfo
Red Hat:rhel_eus:8.6::baseos
before 2:1.30-5.el8_6.1
2:1.30-5.el8_6.1
tar-debugsource
Red Hat:rhel_eus:8.6::baseos
before 2:1.30-5.el8_6.1
2:1.30-5.el8_6.1
tar
Rocky Linux:8
before 2:1.30-6.el8_7.1
2:1.30-6.el8_7.1
tar
Rocky Linux:9
before 2:1.34-6.el9_1
2:1.34-6.el9_1
tar
SUSE:Linux Enterprise Server 12 SP5
before 1.27.1-15.18.1
1.27.1-15.18.1
tar
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.27.1-15.18.1
1.27.1-15.18.1
tar
SUSE:Linux Enterprise Micro 5.3
before 1.34-150000.3.31.1
1.34-150000.3.31.1
tar
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 1.34-150000.3.31.1
1.34-150000.3.31.1
tar
SUSE:Linux Enterprise Real Time 15 SP3
before 1.34-150000.3.31.1
1.34-150000.3.31.1
tar
SUSE:Linux Enterprise Micro 5.1
before 1.34-150000.3.31.1
1.34-150000.3.31.1
tar
SUSE:Linux Enterprise Micro 5.2
before 1.34-150000.3.31.1
1.34-150000.3.31.1
tar
openSUSE:Leap Micro 5.2
before 1.34-150000.3.31.1
1.34-150000.3.31.1
tar
openSUSE:Leap Micro 5.3
before 1.34-150000.3.31.1
1.34-150000.3.31.1
tar
openSUSE:Leap 15.4
before 1.34-150000.3.31.1
1.34-150000.3.31.1
tar
Ubuntu:Pro:14.04:LTS
before 1.27.1-1ubuntu0.1+esm3, plus listed versions
1.26+dfsg-81.27-31.27-41.27.1-11.27.1-1ubuntu0.11.27.1-1ubuntu0.1+esm11.27.1-1ubuntu0.1+esm2
1.27.1-1ubuntu0.1+esm3
tar
Ubuntu:Pro:16.04:LTS
before 1.28-2.1ubuntu0.2+esm2, plus listed versions
1.27.1-21.28-2ubuntu11.28-2.11.28-2.1ubuntu0.11.28-2.1ubuntu0.21.28-2.1ubuntu0.2+esm1
1.28-2.1ubuntu0.2+esm2
tar
Ubuntu:18.04:LTS
before 1.29b-2ubuntu0.4, plus listed versions
1.29b-21.29b-2ubuntu0.11.29b-2ubuntu0.21.29b-2ubuntu0.3
1.29b-2ubuntu0.4
tar
Ubuntu:20.04:LTS
before 1.30+dfsg-7ubuntu0.20.04.3, plus listed versions
1.30+dfsg-61.30+dfsg-71.30+dfsg-7ubuntu0.20.04.11.30+dfsg-7ubuntu0.20.04.2
1.30+dfsg-7ubuntu0.20.04.3
tar
Ubuntu:22.04:LTS
before 1.34+dfsg-1ubuntu0.1.22.04.1, plus listed versions
1.34+dfsg-1build11.34+dfsg-1build21.34+dfsg-1build3
1.34+dfsg-1ubuntu0.1.22.04.1
tar
openSUSE:Tumbleweed
before 1.34-10.1
1.34-10.1

History

History
RecordedChangedSources
affected, factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-48303 is a medium vulnerability (CVSS 5.5) in Gnu Tar, published January 30, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.49%, the 74th percentile. Fixed in tar 1.34-r1.

References

Show 43 moreShow less
MoveEnter Open