# CVE-2022-39280: Regular expression denial of service in dparse

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.37%, higher than 72% of CVEs (2026-12-02)
- Published: 2022-09-27T15:28:00.000Z
- Modified: 2026-06-17T04:58:03.680Z
- Also known as: GHSA-8fg9-p83m-x5pq, PYSEC-2022-301
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

dparse is a parser for Python dependency files. dparse in versions before 0.5.2 contain a regular expression that is vulnerable to a Regular Expression Denial of Service. All the users parsing index server URLs with dparse are impacted by this vulnerability. A patch has been applied in version `0.5.2`, all the users are advised to upgrade to `0.5.2` as soon as possible. Users unable to upgrade should avoid passing index server URLs in the source file to be parsed.

(As written by CVE List.)

## Affected

- pyupio dparse: < 0.5.2
- dparse (PyPI): before 0.5.2; before 8c990170bbd6c0cf212f1151e9025486556062d5; before d87364f9db9ab916451b1b036cfeb039e726e614
- pyup dependency_parser: before 0.5.1

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS> (technical-description, third-party-advisory, web)
- <https://github.com/pyupio/dparse/security/advisories/GHSA-8fg9-p83m-x5pq> (advisory, third-party-advisory, web)
- <https://github.com/pyupio/dparse/commit/8c990170bbd6c0cf212f1151e9025486556062d5> (fix, patch, third-party-advisory, web)
- <https://github.com/pyupio/dparse/commit/d87364f9db9ab916451b1b036cfeb039e726e614> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39280> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/dparse/PYSEC-2022-301.yaml> (web)
- <https://github.com/pyupio/dparse> (package)

## Sources

- CVE List: [CVE-2022-39280](https://www.cve.org/CVERecord?id=CVE-2022-39280), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-8fg9-p83m-x5pq](https://github.com/advisories/GHSA-8fg9-p83m-x5pq), CC-BY-4.0, modified 2024-11-20
- NVD: [CVE-2022-39280](https://nvd.nist.gov/vuln/detail/CVE-2022-39280), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-301](https://osv.dev/vulnerability/PYSEC-2022-301), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2022-39280 · Whole record: https://cve.day/CVE-2022-39280.json · Rebuilt by cve.day 2026-11-25T22:58:15.432Z
