Skip to content
OpenAdvisories
Medium · 5.9 CVE-2022-43552 EUVD-2022-46549GHSA-6342-4x32-pp8v

A use after free vulnerability exists in curl <7.87.0. Curl can be asked to *tunnel* virtually all protocols it supports through an HTTP pr…

Published Feb 9, 2023 · Updated Oct 14, 2026 · Assigned by hackerone

Description

A use after free vulnerability exists in curl <7.87.0. Curl can be asked to *tunnel* virtually all protocols it supports through an HTTP proxy. HTTP proxies can (and often do) deny such tunnel operations. When getting denied to tunnel the specific protocols SMB or TELNET, curl would use a heap-allocated struct after it had been freed, in its transfer shutdown code path.

Affected products

VendorProductAffectedFixed
— https://github.com/curl/curl Fixed in curl 7.87.0 —

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 curl 7.86.0-3 —
Debian 13 curl 7.86.0-3 —
Debian 12 curl 7.86.0-3 —
Debian 11 curl 7.74.0-1.3+deb11u5 DSA-5330-1
Debian 10 curl 7.64.0-4+deb10u4 DLA-3288-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS curl 7.81.0-1ubuntu1.7 USN-5788-1
Ubuntu 20.04 LTS curl 7.68.0-1ubuntu2.15 USN-5788-1
Ubuntu 18.04 LTS curl 7.58.0-2ubuntu3.22 USN-5788-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS curl 7.47.0-1ubuntu2.19+esm7 USN-5894-1
Ubuntu Pro 14.04 LTS curl 7.35.0-1ubuntu2.20+esm14 USN-5894-1
ReleasePackageFixed inAdvisory
RHEL 9 curl +4 7.76.1-23.el9 RHSA-2023:2478
RHEL 8 curl +3 7.61.1-30.el8 RHSA-2023:2963
RHEL 7 curl +2 7.29.0-59.el7_9.2 RHSA-2023:7743
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.6 EUS curl +3 7.61.1-22.el8_6.12 RHSA-2024:0428
Red Hat JBoss Core Services 1 jbcs-httpd24-apr-util +8 1.6.1-101.el7jbcs RHSA-2023:3354
Red Hat JBoss Core Services 1 jbcs-httpd24-curl +2 8.0.1-1.el7jbcs RHSA-2023:3354
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.51-39.el7jbcs RHSA-2023:3354
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.51-39.el7jbcs RHSA-2023:3354
Red Hat JBoss Core Services 1 jbcs-httpd24-openssl +4 1:1.1.1k-14.el7jbcs RHSA-2023:3354

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 curl +4 7.76.1-23.el9 ALSA-2023:2478
AlmaLinux 8 curl +3 7.61.1-30.el8 ALSA-2023:2963
ReleasePackageFixed inAdvisory
SLES 15 SP4 curl 7.79.1-150400.5.12.1 SUSE-SU-2022:4597-1
SLES 15 SP1 curl 7.60.0-150000.51.1 SUSE-SU-2023:2226-1
SLES 12 SP5 curl 7.60.0-11.52.1 SUSE-SU-2022:4598-1
SLES 12 SP4 curl 7.60.0-4.56.1 SUSE-SU-2023:2228-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 curl 7.60.0-150000.51.1 SUSE-SU-2023:2226-1
SLES for SAP 12 SP5 curl 7.60.0-11.52.1 SUSE-SU-2022:4598-1
SLES for SAP 12 SP4 curl 7.60.0-4.56.1 SUSE-SU-2023:2228-1
SLE Real Time 15 SP3 curl 7.66.0-150200.4.45.1 SUSE-SU-2022:4633-1
SLE Micro 5.3 curl 7.79.1-150400.5.12.1 SUSE-SU-2022:4597-1
SLE Micro 5.2 curl 7.66.0-150200.4.45.1 SUSE-SU-2022:4633-1
SLE Micro 5.1 curl 7.66.0-150200.4.45.1 SUSE-SU-2022:4633-1
SLE HPC 15 SP1 curl 7.60.0-150000.51.1 SUSE-SU-2023:2226-1
SUSE OpenStack Cloud Crowbar 9 curl 7.60.0-4.56.1 SUSE-SU-2023:2228-1
SUSE OpenStack Cloud 9 curl 7.60.0-4.56.1 SUSE-SU-2023:2228-1
SUSE Enterprise Storage 6 curl 7.60.0-150000.51.1 SUSE-SU-2023:2226-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 7.87.0-1.1 openSUSE-SU-2024:12583-1
openSUSE Leap 15.4 curl 7.79.1-150400.5.12.1 SUSE-SU-2022:4597-1
openSUSE Leap 15.3 curl 7.66.0-150200.4.45.1 SUSE-SU-2022:4633-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 curl 7.79.1-150400.5.12.1 SUSE-SU-2022:4597-1
openSUSE Leap Micro 5.2 curl 7.66.0-150200.4.45.1 SUSE-SU-2022:4633-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 7.87.0-r0 —
Alpine v3.23 curl 7.87.0-r0 —
Alpine v3.22 curl 7.87.0-r0 —
Alpine v3.21 curl 7.87.0-r0 —
Alpine v3.20 curl 7.87.0-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 7.87.0-r0 —
Alpine v3.18 curl 7.87.0-r0 —
Alpine v3.17 curl 7.87.0-r0 —
Alpine v3.16 curl 7.83.1-r5 —
Alpine v3.15 curl 7.80.0-r5 —
Alpine v3.14 curl 7.79.1-r4 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 curl +4 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083
Amazon Linux 2 curl +2 7.87.0-2.amzn2.0.1 ALAS2-2023-1924

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cmake 3.28.2-1 —
Azure Linux 3 tensorflow 2.16.1-1 —
Azure Linux 2 (CBL-Mariner) cmake 3.21.4-13 —
Azure Linux 2 (CBL-Mariner) curl 7.86.0-3 —
Azure Linux 2 (CBL-Mariner) mysql 8.0.33-1 —
Azure Linux 2 (CBL-Mariner) rust 1.72.0-2 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 curl +4 7.76.1-23.el9 ELSA-2023-2478
Oracle Linux 8 curl +3 7.61.1-30.el8 ELSA-2023-2963
Oracle Linux 7 curl +2 7.29.0-59.0.3.el7_9.2 ELSA-2023-7743

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling curl 7.87.0-r0 —

Advisories 35

References