VDB

ALPINE-CVE-2024-6874

ALPINE-CVE-2024-6874 PUBLISHED CVSS 4.300000190734863 MEDIUM

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.

Risk Scores

CVSS 3.1
4.300000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected Products

VendorProductVersions
Alpine:v3.19curl7.49.1-r0, 7.19.2-r0, 7.19.4-r0
Alpine:v3.24curl0
Alpine:v3.18curl7.19.2-r0, 0, 8.5.0-r0
Alpine:v3.23curl7.57.0-r0, 7.42.0-r0, 7.81.0-r1
Alpine:v3.20curl0, 8.8.0-r0, 8.7.1-r0
Alpine:v3.22curl8.2.1-r0, 8.3.0-r0, 8.3.0-r1
Alpine:v3.17curl7.50.2-r0, 7.87.0-r1, 8.2.0-r1
Alpine:v3.21curl7.54.1-r0, 7.54.0-r0, 7.53.1-r3

Timeline

  • Jul 24, 2024 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Jun 15, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›