{"id":"CVE-2023-25656","aliases":["CVE-2023-25656","GHSA-87x9-7grx-m28v","GO-2023-1589"],"related":["CGA-cx4p-wvhc-q6q3"],"kind":"vulnerability","state":"published","title":"notation-go has excessive memory allocation on verification","summary":"notation-go is a collection of libraries for supporting Notation sign, verify, push, and pull of oci artifacts. Prior to version 1.0.0-rc.3, notation-go users will find their application using excessive memory when verifying signatures. The application will be killed, and thus availability is impacted. The problem has been patched in the release v1.0.0-rc.3. Some workarounds are available. Users can review their own trust policy file and check if the identity string contains `=#`. Meanwhile, users should only put trusted certificates in their trust stores referenced by their own trust policy files, and make sure the `authenticity` validation is set to `enforce`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"notation-go is a collection of libraries for supporting Notation sign, verify, push, and pull of oci artifacts. Prior to version 1.0.0-rc.3, notation-go users will find their application using excessive memory when verifying signatures. The application will be killed, and thus availability is impacted. The problem has been patched in the release v1.0.0-rc.3. Some workarounds are available. Users can review their own trust policy file and check if the identity string contains `=#`. Meanwhile, users should only put trusted certificates in their trust stores referenced by their own trust policy files, and make sure the `authenticity` validation is set to `enforce`.","source":"cvelist"},{"lang":"en","text":"### Impact\n\n`notation-go` users will find their application using excessive memory when verifying signatures and the application will be finally killed, and thus availability is impacted.\n\n### Patches\n\nThe problem has been patched in the release [v1.0.0-rc.3](https://github.com/notaryproject/notation-go/releases/tag/v1.0.0-rc.3). Users should upgrade their `notation-go` packages to `v1.0.0-rc.3` or above.\n\n### Workarounds\n\nUsers can review their own trust policy file and check if the identity string contains `=#`. Meanwhile, users should only put trusted certificates in their trust stores referenced by their own trust policy files, and make sure the `authenticity` validation is set to `enforce`\n\n### Credits\n\nThe `notation-go` project would like to thank Adam Korczynski (@AdamKorcz) for responsibly disclosing this issue during a security fuzzing audit sponsored by CNCF and Shiwei Zhang (@shizhMSFT) for root cause analysis and detailed vulnerability report.\n\n### References\n\n- [Resource exhaustion attacks](https://en.wikipedia.org/wiki/Resource_exhaustion_attack)","format":"markdown","source":"ghsa"},{"lang":"en","text":"Parsing PKIX distinguished names containing the string \"=#\" can cause excessive memory consumption.","format":"markdown","source":"go"}],"published":"2023-02-20T00:00:00.000Z","modified":"2026-09-10T03:49:51.900Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"custom","introduced":"1.0.0-rc.3","fixed":"1.0.0-rc.3","status":"affected"}],"vendor":"notaryproject","product":"notation-go","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.0-rc.3"}],"ecosystem":"Go","package":"github.com/notaryproject/notation-go","purl":"pkg:golang/github.com/notaryproject/notation-go","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.0-rc.3"}],"ecosystem":"Go","package":"github.com/notaryproject/notation-go","purl":"pkg:golang/github.com/notaryproject/notation-go","source":"go"},{"ranges":[{"status":"affected","version":"0.7.0"},{"status":"affected","version":"0.8.0"},{"status":"affected","version":"0.9.0"}],"vendor":"notaryproject","product":"notation-go","cpe":"cpe:2.3:a:notaryproject:notation-go:0.7.0:alpha1:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/notaryproject/notation-go/releases/tag/v1.0.0-rc.3","tags":["release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/notaryproject/notation-go/security/advisories/GHSA-87x9-7grx-m28v","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25656","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/notaryproject/notation-go/pull/275","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/notaryproject/notation-go","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-03-05T18:45:46.036Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-25656","url":"https://www.cve.org/CVERecord?id=CVE-2023-25656","licence":"CVE Terms of Use","modified":"2024-11-27T16:45:09.132Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-87x9-7grx-m28v","url":"https://github.com/advisories/GHSA-87x9-7grx-m28v","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:51.900Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1589","url":"https://pkg.go.dev/vuln/GO-2023-1589","licence":"CC-BY-4.0","modified":"2026-02-04T02:57:28.167Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-25656","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25656","licence":"Public domain","modified":"2026-06-17T05:41:40.473Z"}],"updatedAt":"2026-11-25T22:58:22.083Z","epss":{"score":0.00452,"percentile":0.40975,"date":"2026-12-02T12:00:21.000Z"}}