cve.bz

CVE-2023-28319 Use After Free

7.5 highExploit referenceEPSS 2.5%Fix available

High (7.5). EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
A use after free vulnerability exists in curl <v8.1.0 in the way libcurl offers a feature to verify an SSH server's public key using a SHA 256 hash. When this check fails, libcurl would free the memory for the fingerprint before it returns an error message containing the (now freed) hash. This flaw risks inserting sensitive heap-based data into the error message that might be shown to users or otherwise get leaked and revealed.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-01-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-28319 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-28319?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-28319?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-28319 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-28319

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-28319](https://cve.bz/cve/badge/CVE-2023-28319.svg)](https://cve.bz/cve/CVE-2023-28319)

HTML:

<a href="https://cve.bz/cve/CVE-2023-28319"><img src="https://cve.bz/cve/badge/CVE-2023-28319.svg" alt="CVE-2023-28319"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
haxx:curlbefore 8.1.0
apple:macosfrom 11.0 before 11.7.9
apple:macosfrom 12.0 before 12.6.8
apple:macosfrom 13.0 before 13.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14curl7.88.1-10DEBIAN-CVE-2023-28319
Red Hatjboss_core_services:1::el7jbcs-httpd24-apr, jbcs-httpd24-apr-devel, jbcs-httpd24-apr-debuginfo0:1.7.0-8.el7jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:8.2.1-1.el7jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.57-5.el7jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_security, jbcs-httpd24-mod_security-debuginfo0:2.9.3-29.el7jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.57-5.el7jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el8jbcs-httpd24-apr, jbcs-httpd24-apr-devel, jbcs-httpd24-apr-debuginfo0:1.7.0-8.el8jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el8jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 2 more0:8.2.1-1.el8jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el8jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 8 more0:2.4.57-5.el8jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_security, jbcs-httpd24-mod_security-debuginfo0:2.9.3-29.el8jbcsRHSA-2023:4629
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html, jbcs-httpd24-mod_ssl-debuginfo and 1 more1:2.4.57-5.el8jbcsRHSA-2023:4629
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4curl8.0.1-150400.5.23.1SUSE-SU-2023:2224-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5curl8.0.1-11.65.2SUSE-SU-2023:2225-1
openSUSELeap 15.4, Leap Micro 5.3curl8.0.1-150400.5.23.1SUSE-SU-2023:2224-1
openSUSELeap 15.5curl8.0.1-150400.5.23.1SUSE-SU-2023:2224-2
openSUSETumbleweedcurl8.1.0-1.1openSUSE-SU-2024:12940-1
Alpinev3.15, v3.16, v3.17 and 7 morecurl8.1.0-r0ALPINE-CVE-2023-28319
Azure Linux2curl8.2.1-1AZL-26795
Azure Linux2mysql8.0.34-1AZL-26807
Azure Linux2rust1.72.0-2AZL-26810
Azure Linux3tensorflow2.16.1-1AZL-38554

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability does not affect the Curl package as shipped in Red Hat Enterprise Linux 6, 7, 8 and 9.

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-curl-0:8.2.1-1.el8jbcsFixed 2023-08-15RHSA-2023:4629
JBoss Core Services on RHEL 7jbcs-httpd24-curl-0:8.2.1-1.el7jbcsFixed 2023-08-15RHSA-2023:4629
.NET Core 3.1 on Red Hat Enterprise Linuxrh-dotnet31-curlOut of support scope
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 7curlNot affected
Red Hat Enterprise Linux 8curlNot affected
Red Hat Enterprise Linux 9curlNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-28319.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-165-06Siemens TIM 1531 IRC2024-06-11MultipleSIPLUS TIM 1531 IRC (6AG1543-1MX00-7XE0), TIM 1531 IRC (6GK7543-1MX00-0XE0)none listed
ICSA-24-046-15Siemens SINEC NMS2024-02-13MultipleSINEC NMSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON