{"id":"UBUNTU-CVE-2023-38039","details":"When curl retrieves an HTTP response, it stores the incoming headers so that they can be accessed later via the libcurl headers API. However, curl did not have a limit in how many or how large headers it would accept in a response, allowing a malicious server to stream an endless series of headers and eventually cause curl to run out of heap memory.","modified":"2026-04-22T14:10:07.401387Z","published":"2023-09-13T00:00:00Z","related":["USN-6363-1"],"upstream":["CVE-2023-38039"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-38039"},{"type":"REPORT","url":"https://curl.se/docs/CVE-2023-38039.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6363-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-38039"}],"affected":[{"package":{"name":"curl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/curl@8.2.1-1ubuntu3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.2.1-1ubuntu3"}]}],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"curl","binary_version":"8.2.1-1ubuntu3"},{"binary_name":"libcurl3-gnutls","binary_version":"8.2.1-1ubuntu3"},{"binary_name":"libcurl3-nss","binary_version":"8.2.1-1ubuntu3"},{"binary_name":"libcurl4","binary_version":"8.2.1-1ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-38039.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}