BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-6874 in Curl and 14 more products

Medium 4.3 Industrial / OT

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.

Affects 15 products from 3 vendors. Description from NVD and MITRE.

CVSS 3.14.3
EPSS0.8%
EPSS percentile57th

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Curl Curl ≥ 8.8.0, ≤ 8.8.0
Curl Libcurl 8.8.0
Haxx Libcurl 8.8.0
Siemens SCALANCE XR-500 (device and firmware) < 3.3
Siemens RUGGEDCOM RST2428P (device and firmware) < 3.3
Siemens SCALANCE XCH328 < 3.3
Siemens SCALANCE XCM324 < 3.3
Siemens SCALANCE XCM332 < 3.3
Siemens SCALANCE XRH334 < 3.3
Siemens SCALANCE XRM334 < 3.3
Siemens SCALANCE XCM328 < 3.3
Siemens SCALANCE XR-300 (device and firmware) < 3.3

Show 4 more products

Fix and vendor advisory

  • RUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XCM-/XRM-/XCH-/XRH-300 family: Update to V3.2 or later version

Source: ICSA-25-226-07

  • RUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2) and 11 more: Update to V3.3 or later version
  • SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family: See Section Additional Information.

Source: ICSA-26-043-06

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2024-6874
BreachSpider IDBS-2024-GLOBAL-047951-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Published2024-07-24
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.