Every CVE Search/ Get API key

CVE-2019-20633

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function...

5.5 MediumFix available

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

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.02%Up 0.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

Record
CVE-2019-20633
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-415
Updated
2026-11-02
CVE List No score

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

Record
CVE-2019-20633
Updated
2026-11-02
EUVDEUVD-2019-11172 No score

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

Record
EUVD-2019-11172
Updated
2026-11-03
GitHub AdvisoriesGHSA-w88p-xvmw-fxgg No score

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function...

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

Record
GHSA-w88p-xvmw-fxgg
Weakness
CWE-415
Updated
2026-11-02
OSVALPINE-CVE-2019-20633 5.5

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

Record
ALPINE-CVE-2019-20633
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
OSVAZL-35107 5.5

CVE-2019-20633 affecting package patch 2.7.6-10

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

Record
AZL-35107
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-05
Show 9 moreShow less
OSVAZL-6791 5.5

CVE-2019-20633 affecting package patch 2.7.6-8

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

Record
AZL-6791
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
OSVBELL-CVE-2019-20633 5.5

CVE-2019-20633 does not affect BellSoft software

Record
BELL-CVE-2019-20633
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 patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

Record
CVE-2019-20633
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-18 5.5

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

Record
JLSEC-2026-18
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Updated
2026-11-02
OSVUBUNTU-CVE-2019-20633 5.5

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

Record
UBUNTU-CVE-2019-20633
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-06
OSVopenSUSE-SU-2024:14239-1 No score

patch-2.7.6-8.1 on GA media

These are all security issues fixed in the patch-2.7.6-8.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14239-1
Updated
2026-11-02
OSVSUSE-SU-2024:2704-1 No score

Security update for patch

This update for patch fixes the following issues:

  • CVE-2019-20633: Fixed double-free/OOB read in pch.c (bsc#1167721)
Record
SUSE-SU-2024:2704-1
Updated
2026-11-02
OSVSUSE-SU-2024:2780-1 No score

Security update for patch

This update for patch fixes the following issues:

  • CVE-2019-20633: Fixed double-free/OOB read in pch.c (bsc#1167721)
Record
SUSE-SU-2024:2780-1
Updated
2026-11-02
OSVSUSE-SU-2025:20075-1 No score

Security update for patch

This update for patch fixes the following issues:

  • CVE-2019-20633: Fix double-free/OOB read in pch.c (bsc#1167721)
Record
SUSE-SU-2025:20075-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
patch
Alpine:v3.11
before 2.7.6-r7
2.7.6-r7
patch
Alpine:v3.12
before 2.7.6-r7
2.7.6-r7
patch
Alpine:v3.13
before 2.7.6-r7
2.7.6-r7
patch
Alpine:v3.14
before 2.7.6-r7
2.7.6-r7
patch
Alpine:v3.15
before 2.7.6-r7
2.7.6-r7
patch
Alpine:v3.16
before 2.7.6-r7
2.7.6-r7
patch
Alpine:v3.17
before 2.7.6-r7
2.7.6-r7
patch
Alpine:v3.18
before 2.7.6-r7
2.7.6-r7
patch
Alpine:v3.19
before 2.7.6-r7
2.7.6-r7
patch
Alpine:v3.20
before 2.7.6-r7
2.7.6-r7
Show 22 moreShow less
Affected packages
PackageAffectedFixed
patch
Alpine:v3.21
before 2.7.6-r7
2.7.6-r7
patch
Alpine:v3.22
before 2.7.6-r7
2.7.6-r7
patch
Alpine:v3.23
before 2.7.6-r7
2.7.6-r7
patch
Alpine:v3.24
before 2.7.6-r7
2.7.6-r7
patch
Azure Linux:3
through 2.7.6-10 None known
patch
Azure Linux:2
through 2.7.6-8 None known
patch_jll
Julia
before 2.8.0+0
2.8.0+0
patch
SUSE:Linux Enterprise Server 12 SP5
before 2.7.5-8.11.1
2.7.5-8.11.1
patch
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 2.7.5-8.11.1
2.7.5-8.11.1
patch
SUSE:Linux Enterprise Module for Basesystem 15 SP5
before 2.7.6-150000.5.6.1
2.7.6-150000.5.6.1
patch
SUSE:Linux Enterprise Module for Basesystem 15 SP6
before 2.7.6-150000.5.6.1
2.7.6-150000.5.6.1
patch
openSUSE:Leap 15.5
before 2.7.6-150000.5.6.1
2.7.6-150000.5.6.1
patch
openSUSE:Leap 15.6
before 2.7.6-150000.5.6.1
2.7.6-150000.5.6.1
patch
SUSE:Linux Micro 6.0
before 2.7.6-3.1
2.7.6-3.1
patch
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
2.7.1-32.7.1-42.7.1-4ubuntu12.7.1-4ubuntu22.7.1-4ubuntu2.32.7.1-4ubuntu2.42.7.1-4ubuntu2.4+esm1
None known
patch
Ubuntu:16.04:LTS
All versions, plus listed versions
2.7.5-12.7.5-1ubuntu0.16.04.12.7.5-1ubuntu0.16.04.2
None known
patch
Ubuntu:18.04:LTS
All versions, plus listed versions
2.7.5-1build12.7.6-12.7.6-2ubuntu12.7.6-2ubuntu1.1
None known
patch
Ubuntu:20.04:LTS
All versions, plus listed versions
2.7.6-6
None known
patch
Ubuntu:22.04:LTS
All versions, plus listed versions
2.7.6-72.7.6-7build12.7.6-7build2
None known
patch
Ubuntu:24.04:LTS
All versions, plus listed versions
2.7.6-7build22.7.6-7build3
None known
patch
Ubuntu:25.10
All versions, plus listed versions
2.7.6-7build32.8-12.8-2
None known
patch
openSUSE:Tumbleweed
before 2.7.6-8.1
2.7.6-8.1

History

History
RecordedChangedSources
affectedOSV
affectedOSV
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2019-20633 is a medium vulnerability (CVSS 5.5) in Gnu Patch, published March 25, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.02%, the 63rd percentile. Fixed in patch 2.7.6-r7.

References

Show 6 moreShow less
MoveEnter Open