{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-6874","id":"CVE-2024-6874","title":"macidn punycode buffer overread","description":"libcurl's URL API function\n[curl_url_get()](https://curl.se/libcurl/c/curl_url_get.html) offers punycode\nconversions, to and from IDN. Asking to convert a name that is exactly 256\nbytes, libcurl ends up reading outside of a stack based buffer when built to\nuse the *macidn* IDN backend. The conversion function then fills up the\nprovided buffer exactly - but does not null terminate the string.\n\nThis","descriptionLong":"libcurl's URL API function\n[curl_url_get()](https://curl.se/libcurl/c/curl_url_get.html) offers punycode\nconversions, to and from IDN. Asking to convert a name that is exactly 256\nbytes, libcurl ends up reading outside of a stack based buffer when built to\nuse the *macidn* IDN backend. The conversion function then fills up the\nprovided buffer exactly - but does not null terminate the string.\n\nThis flaw can lead to stack contents accidently getting returned as part of\nthe converted string.","published":"2024-07-24T07:36:26.887Z","updated":"2026-10-28T02:30:42.550266190Z","reserved":"2024-07-18T03:37:32.294Z","status":"Modified","rejected":false,"assigner":"curl","metric":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"CISA-ADP"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"}],"rating":"medium","products":["curl"],"affectedProducts":[{"vendor":"curl","product":"curl","defaultStatus":"unaffected","versions":[{"version":"8.8.0","status":"affected","lessThanOrEqual":"8.8.0","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-126","CWE-125"],"aliases":["CURL-CVE-2024-6874"],"references":[{"url":"https://curl.se/docs/CVE-2024-6874.json","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://curl.se/docs/CVE-2024-6874.html","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://hackerone.com/reports/2604391","tags":["x_transferred","Exploit","Issue Tracking","Technical Description","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/24/2","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20240822-0004/","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6874.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6874","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00786,"epssPercentile":0.56907,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-6874","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6874","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-6874","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-6874","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["curl"],"critical":[],"attention":null}