{"id":"CVE-2025-25289","aliases":["GHSA-xx4v-prfh-6cgc"],"url":"https://o3.security/vulnerability/CVE-2025-25289","summary":"@octokit/request-error has a Regular Expression in index that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking","details":"@octokit/request-error is an error class for Octokit request errors. Starting in version 1.0.0 and prior to version 6.1.7, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the processing of HTTP request headers. By sending an authorization header containing an excessively long sequence of spaces followed by a newline and \"@\", an attacker can exploit inefficient regular expression processing, leading to excessive resource consumption. This can significantly degrade server performance or cause a denial-of-service (DoS) condition, impacting availability. Version 6.1.7 contains a fix for the issue.","published":"2025-02-14T19:35:19.998Z","modified":"2026-07-15T01:48:53.775847448Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":{"score":0.00605,"percentile":0.45551,"asOf":"2026-07-31"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@octokit/request-error","fixedVersion":"5.1.1"},{"ecosystem":"npm","name":"@octokit/request-error","fixedVersion":"6.1.7"}],"fix":{"url":"https://github.com/octokit/request-error.js/commit/d558320874a4bc8d356babf1079e6f0056a59b9e","label":"octokit/request-error.js@d558320"},"references":[{"type":"WEB","url":"https://github.com/octokit/request-error.js/blob/main/src/index.ts"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25289.json"},{"type":"ADVISORY","url":"https://github.com/octokit/request-error.js/security/advisories/GHSA-xx4v-prfh-6cgc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25289"},{"type":"FIX","url":"https://github.com/octokit/request-error.js/commit/d558320874a4bc8d356babf1079e6f0056a59b9e"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:53.775847448Z"}}