# JLSEC-2025-37: libcurl's URL API function [`curl_url_get()`](https://curl.se/libcurl/c/curl_url_get.html) offers...

- Severity: Medium 4.3 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-10-10T15:04:01.319Z
- Modified: 2026-07-25T18:23:43.119Z
- Related: CVE-2024-6874

## Description

libcurl's URL API function
[`curl_url_get()`](https://curl.se/libcurl/c/curl_url_get.html) offers punycode
conversions, to and from IDN. Asking to convert a name that is exactly 256
bytes, libcurl ends up reading outside of a stack based buffer when built to
use the *macidn* IDN backend. The conversion function then fills up the
provided buffer exactly - but does not null terminate the string.

This flaw can lead to stack contents accidently getting returned as part of
the converted string.

(As written by Julia Security Advisories.)

## Affected

- LibCURL_jll (Julia): from 8.8.0+0 before 8.9.0+0

## References

- <http://www.openwall.com/lists/oss-security/2024/07/24/2> (web)
- <https://curl.se/docs/CVE-2024-6874.html> (web)
- <https://curl.se/docs/CVE-2024-6874.json> (web)
- <https://hackerone.com/reports/2604391> (web)
- <https://security.netapp.com/advisory/ntap-20240822-0004/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2025-37](https://osv.dev/vulnerability/JLSEC-2025-37), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2025-37 · Whole record: https://cve.day/JLSEC-2025-37.json · Rebuilt by cve.day 2026-11-25T22:56:25.809Z
