BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2022-41715 in Golang Go and 6 more products

High 7.5 Industrial / OT

Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.

Affects 7 products from 2 vendors. Description from NVD and MITRE.

CVSS 3.17.5
EPSS1.7%
EPSS percentile78th

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

Affected products and versions

VendorProductAffected versions
Golang Go < 1.18.7 ≥ 1.19.0, < 1.19.2
Siemens SCALANCE XCM324 < 2.4
Siemens SCALANCE XCM328 < 2.4
Siemens SCALANCE XCH328 < 2.4
Siemens SCALANCE XRH334 < 2.4
Siemens SCALANCE XRM334 < 2.4
Siemens SCALANCE XCM332 < 2.4

Fix and vendor advisory

  • SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 7 more: Update to V2.4 or later version

Source: ICSA-24-046-11

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

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

Record details

CVE IDCVE-2022-41715
BreachSpider IDBS-2022-GLOBAL-065137-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2022-10-14
Last modified2026-06-17
SourceNVD

Compensating controls AI-drafted, review before use

Implement input validation and rate limiting for regular expression inputs to prevent memory exhaustion. Consider using a Web Application Firewall (WAF) to filter out suspicious regular expressions.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

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.