Security mailing lists by PureSourceCode

CVE-2024-6874

MEDIUM 4.3CVSS 3.1

libcurl's URL API function
curl_url_get() 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.

Published
24 Jul 2024
Last modified
17 Jun 2026
Assigned by
2499f714-1537-4658-8207-48ae4bb9eae9
NVD status
Modified
Weakness
CWE-125
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 LOW 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD haxx libcurl
cpe:2.3:a:haxx:libcurl:8.8.0:*:*:*:*:*:*:*
= 8.8.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 24 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.