Description
Net::OAuth versions before 0.32 for Perl allow memory exhaustion via unbounded caching of failed module loads in smart_require.
smart_require stores results in a process-global hash with no bound and no eviction, and keeps an entry for every class name it is asked about, including names that failed to load, because the return value of the failed eval is stored before the error is checked. The key comes off the wire on the server side: _signature_method_class builds the class name from the signature_method parameter of the incoming message, and verify resolves it before any signature is checked.
A remote client chooses both how many entries are created and how long each key is. In a persistent server the hash grows for the life of the worker process until it exhausts memory. Header size limits bound the key length on the Authorization header path, but not on a POST body.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Net-OAuth | < 0.32 | 0.32 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libnet-oauth-perl | 0.32-1 | — |
| Debian 13 | libnet-oauth-perl | No fix yet | — |
| Debian 12 | libnet-oauth-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libnet-oauth-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libnet-oauth-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libnet-oauth-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libnet-oauth-perl | No fix yet | — |
| Ubuntu 20.04 LTS | libnet-oauth-perl | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libnet-oauth-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libnet-oauth-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-Net-OAuth | 0.330.0-1.1 | openSUSE-SU-2026:11551-1 |
Advisories 1
- openSUSE-SU-2026:11551-1 perl-Net-OAuth-0.330.0-1.1 on GA media SUSE / openSUSE Security Updates · Aug 21, 2026