# CVE-2026-141525: Addressable: Regular Expression Denial of Service in Addressable templates on MRI Ruby 3.2 and TruffleRuby

- 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
- Published: 2026-12-01T20:57:19.804Z
- Modified: 2026-12-01T23:45:04.137Z
- Also known as: GHSA-jrfq-gw62-2f3j
- Weaknesses: CWE-1333
- Assigned by: GitHub_M

## Description

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.9.1 until 2.10.0, Addressable URI template regular expressions containing lookaround assertions can lose regular-expression memoization on MRI Ruby 3.2 and can backtrack on TruffleRuby 40.0. Calling Template#match or Template#extract with a crafted URI against an affected template can consume polynomial CPU time and cause denial of service. The remediation does not cover processor-supplied variable patterns or certain templates that combine exploded or multi-variable expressions with other expressions, which can remain polynomial on MRI Ruby before 3.3, JRuby, and TruffleRuby. This issue is fixed in version 2.10.0.

(As written by CVE List.)

## Affected

- sporkmonger addressable: >= 2.9.1, < 2.10.0
- addressable (RubyGems): from 2.9.1 before 2.10.0

## 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 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sporkmonger/addressable/security/advisories/GHSA-jrfq-gw62-2f3j> (web)
- <https://github.com/sporkmonger/addressable/commit/576662e4791df3cfd17c944041a98f516d3c0734> (web)
- <https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-141525> (advisory)
- <https://github.com/sporkmonger/addressable> (package)

## Sources

- CVE List: [CVE-2026-141525](https://www.cve.org/CVERecord?id=CVE-2026-141525), CVE Terms of Use, modified 2026-12-01
- GitHub Advisory Database: [GHSA-jrfq-gw62-2f3j](https://github.com/advisories/GHSA-jrfq-gw62-2f3j), CC-BY-4.0, modified 2026-12-01
- NVD: [CVE-2026-141525](https://nvd.nist.gov/vuln/detail/CVE-2026-141525), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-141525 · Whole record: https://cve.day/CVE-2026-141525.json · Rebuilt by cve.day 2026-12-02T00:07:24.965Z
