{"cve":"CVE-2023-26483","nvd":{"published":"2023-03-03T23:15:12.327","modified":"2026-06-17T05:43:26.143","status":"Modified","description":"gosaml2 is a Pure Go implementation of SAML 2.0. SAML Service Providers using this library for SAML authentication support are likely susceptible to Denial of Service attacks. A bug in this library enables attackers to craft a `deflate`-compressed request which will consume significantly more memory during processing than the size of the original request. This may eventually lead to memory exhaustion and the process being killed. The maximum compression ratio achievable with `deflate` is 1032:1, so by limiting the size of bodies passed to gosaml2, limiting the rate and concurrency of calls, and ensuring that lots of memory is available to the process it _may_ be possible to help Go's garbage collector \"keep up\". Implementors are encouraged not to rely on this. This issue is fixed  in version 0.9.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-409"],"references":["https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0","https://github.com/russellhaering/gosaml2/releases/tag/v0.9.0","https://github.com/russellhaering/gosaml2/security/advisories/GHSA-6gc3-crp7-25w5","https://pkg.go.dev/vuln/GO-2023-1602","https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0"],"products":["gosaml2_project:gosaml2"],"source":"nvd","synced_at":"2026-10-19T21:37:41.955480748+00:00"},"epss":{"cve":"CVE-2023-26483","score":0.00964,"percentile":0.61693,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6gc3-crp7-25w5","url":"https://osv.dev/vulnerability/GHSA-6gc3-crp7-25w5","summary":"gosaml2 vulnerable to Denial Of Service Via Deflate Decompression Bomb","modified":"2026-09-10T03:49:52.708847794Z","packages":[{"ecosystem":"Go","name":"github.com/russellhaering/gosaml2","purl":"pkg:golang/github.com/russellhaering/gosaml2","ranges":["<0.9.0"],"fixed":["0.9.0"]}]},{"id":"GO-2023-1602","url":"https://osv.dev/vulnerability/GO-2023-1602","summary":"Denial of service via deflate decompression bomb in github.com/russellhaering/gosaml2","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/russellhaering/gosaml2","purl":"pkg:golang/github.com/russellhaering/gosaml2","ranges":["<0.9.0"],"fixed":["0.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}