Skip to main content
CVE-2025-47908VulnerabilityPublished Updated

Golang github rs cors: Middleware causes a prohibitive amount of heap allocations when processing malicious preflight

Affects golang-github-rs-corsSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 1.11.0 soon.

Data as of 25 Nov 2026, 14:03 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.9% chance of exploitation in 30 days – higher than 60% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.11.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Upgrade github.com/rs/cors to 1.11.0.

Affected software

ProductAffectedFixed in
Ubuntu 20.04 LTSgolang-github-rs-corspkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=focalOther threatsAffected
  • =1.7.0-1
  • =1.7.0-2
Fixed in–
Ubuntu 22.04 LTSgolang-github-rs-corspkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=jammyOther threatsAffected
  • =1.7.0-2
  • =1.7.0-4
Fixed in–
Ubuntu 24.04 LTSgolang-github-rs-corspkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=nobleOther threatsAffected
  • =1.7.0-4
Fixed in–
Ubuntu 25.10golang-github-rs-corspkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=questingOther threatsAffected
  • =1.7.0-4
Fixed in–
Ubuntu 26.10golang-github-rs-corspkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=stonkingOther threatsAffected
  • =1.7.0-4
  • =1.11.1-2
Fixed in–
Ubuntu 26.04 LTSgolang-github-rs-corspkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=resoluteOther threatsAffected
  • =1.7.0-4
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Middleware causes a prohibitive amount of heap allocations when processing malicious preflight requests that include a Access-Control-Request-Headers (ACRH) header whose value contains many commas. This behavior can be abused by attackers to produce undue load on the middleware/server as an attempt to cause a denial of service.

References

Community reviews

Loading reviews…