patch: Double free of memory in pch.c:another_hunk() causes a crash
Published Feb 13, 2018
7.5
HIGHCVSS 3.0
EPSS 8.19%
Description
A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.
Affected products
No data.
No data.
Red Hat Enterprise Linux 7
patch-0:2.7.1-11.el7
Fixed · RHSA-2019:2033
Red Hat Enterprise Linux 5
patch
Will not fix
Red Hat Enterprise Linux 6
patch
Fix deferred
Red Hat Enterprise Linux 8
patch
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | patch-0:2.7.1-11.el7 | Fixed | RHSA-2019:2033 |
| Red Hat Enterprise Linux 5 | patch | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | patch | Fix deferred | n/a |
| Red Hat Enterprise Linux 8 | patch | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (34 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 8.19% (0.08190) | 94.70th | v5 (v2026.06.15) |
| Sep 22, 2026 | 8.19% (0.08190) | 94.62th | v5 (v2026.06.15) |
| Sep 21, 2026 | 6.27% (0.06273) | 93.34th | v5 (v2026.06.15) |
| Sep 6, 2026 | 8.19% (0.08190) | 94.49th | v5 (v2026.06.15) |
| Sep 5, 2026 | 6.27% (0.06273) | 93.20th | v5 (v2026.06.15) |
| Aug 30, 2026 | 8.19% (0.08190) | 94.46th | v5 (v2026.06.15) |
| Aug 28, 2026 | 6.27% (0.06273) | 93.15th | v5 (v2026.06.15) |
| Aug 24, 2026 | 8.19% (0.08190) | 94.43th | v5 (v2026.06.15) |
| Aug 23, 2026 | 6.27% (0.06273) | 93.13th | v5 (v2026.06.15) |
| Jun 15, 2026 | 8.72% (0.08716) | 94.44th | v5 (v2026.06.15) |
| Nov 21, 2025 | 11.05% (0.11051) | 93.14th | v4 (v2025.03.14) |
| Nov 18, 2025 | 17.79% (0.17787) | 94.63th | v4 (v2025.03.14) |
| Aug 11, 2025 | 11.05% (0.11051) | 93.15th | v4 (v2025.03.14) |
| Jul 12, 2025 | 12.70% (0.12698) | 93.66th | v4 (v2025.03.14) |
| Jun 7, 2025 | 16.66% (0.16663) | 94.56th | v4 (v2025.03.14) |
| Jun 6, 2025 | 12.70% (0.12698) | 93.60th | v4 (v2025.03.14) |
| Mar 30, 2025 | 11.38% (0.11377) | 92.92th | v4 (v2025.03.14) |
| Mar 29, 2025 | 19.92% (0.19924) | 92.60th | v4 (v2025.03.14) |
| Mar 17, 2025 | 11.65% (0.11648) | 93.11th | v4 (v2025.03.14) |
| Dec 17, 2024 | 1.74% (0.01737) | 87.58th | v3 (v2023.03.01) |
| Nov 29, 2023 | 3.46% (0.03458) | 90.48th | v3 (v2023.03.01) |
| Aug 16, 2023 | 4.82% (0.04817) | 91.71th | v3 (v2023.03.01) |
| Jul 7, 2023 | 5.61% (0.05609) | 92.19th | v3 (v2023.03.01) |
| May 25, 2023 | 6.55% (0.06546) | 92.66th | v3 (v2023.03.01) |
| Mar 14, 2023 | 6.56% (0.06562) | 92.61th | v3 (v2023.03.01) |
| Mar 7, 2023 | 4.81% (0.04812) | 91.44th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.04% (0.01040) | 28.32th | v1 |
| Jan 6, 2022 | 1.04% (0.01040) | 27.69th | v1 |
| Sep 1, 2021 | 1.04% (0.01040) | 64.49th | v1 |
| Apr 14, 2021 | 1.04% (0.01040) | 0.00th | v1 |
References (8)
- http://www.securityfocus.com/bid/103047 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2019:2033 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-6952 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1545053 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2018-6952
- https://savannah.gnu.org/bugs/index.php?53133 x_refsource_MISCVendor Advisory
- https://security.gentoo.org/glsa/201904-17 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2018-6952
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/103047 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2019:2033 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2018-6952 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1545053 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-6952 | ||
| https://savannah.gnu.org/bugs/index.php?53133 | x_refsource_MISCVendor Advisory | |
| https://security.gentoo.org/glsa/201904-17 | vendor-advisoryx_refsource_GENTOO | |
| https://www.cve.org/CVERecord?id=CVE-2018-6952 |
Change history (0)
No recorded changes yet.