Skip to content
OpenAdvisories
Unscored CVE-2018-6952 EUVD-2018-18696GHSA-ffqc-f68h-qq8w

A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.

Published Feb 13, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 patch No fix yet —
Debian 13 patch No fix yet —
Debian 12 patch No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 patch No fix yet —
Ubuntu 24.04 LTS patch No fix yet —
Ubuntu 22.04 LTS patch No fix yet —
Ubuntu 20.04 LTS patch No fix yet —
Ubuntu 18.04 LTS patch No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS patch No fix yet —
Ubuntu Pro 14.04 LTS patch No fix yet —
ReleasePackageFixed inAdvisory
RHEL 7 patch 2.7.1-11.el7 RHSA-2019:2033
ReleasePackageFixed inAdvisory
SLES 15 SP4 patch 2.7.6-150000.5.3.1 SUSE-SU-2022:1925-1
SLES 15 SP3 patch 2.7.6-150000.5.3.1 SUSE-SU-2022:1925-1
SLES 12 SP5 patch 2.7.5-8.8.1 SUSE-SU-2022:1932-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 patch 2.7.5-8.8.1 SUSE-SU-2022:1932-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed patch 2.7.6-5.1 openSUSE-SU-2024:12060-1
openSUSE Leap 15.4 patch 2.7.6-150000.5.3.1 SUSE-SU-2022:1925-1
openSUSE Leap 15.3 patch 2.7.6-150000.5.3.1 SUSE-SU-2022:1925-1
ReleasePackageFixed inAdvisory
Alpine v3.24 patch 2.7.6-r4 —
Alpine v3.23 patch 2.7.6-r4 —
Alpine v3.22 patch 2.7.6-r4 —
Alpine v3.21 patch 2.7.6-r4 —
Alpine v3.20 patch 2.7.6-r4 —
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 patch 2.7.6-r4 —
Alpine v3.18 patch 2.7.6-r4 —
Alpine v3.17 patch 2.7.6-r4 —
Alpine v3.16 patch 2.7.6-r4 —
Alpine v3.15 patch 2.7.6-r4 —
Alpine v3.14 patch 2.7.6-r4 —
Alpine v3.13 patch 2.7.6-r4 —
Alpine v3.12 patch 2.7.6-r4 —
Alpine v3.11 patch 2.7.6-r4 —
Alpine v3.10 patch 2.7.6-r4 —
Alpine v3.9 patch 2.7.6-r4 —
Alpine v3.8 patch 2.7.6-r4 —
Alpine v3.7 patch 2.7.6-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 patch 2.7.1-12.amzn2 ALAS2-2019-1317

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 patch 2.7.6-9 —
Azure Linux 2 (CBL-Mariner) patch 2.7.6-7 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 patch 2.7.1-11.el7 ELSA-2019-2033

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling patch 2.7.6-r3 —

Advisories 7

References