Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-72888 EUVD-2026-59988

Net::OAuth versions before 0.32 for Perl allow memory exhaustion via unbounded caching of failed module loads in smart_require

Published Aug 16, 2026 · Updated Aug 17, 2026 · Assigned by CPANSec

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

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
Debian 14 libnet-oauth-perl 0.32-1 —
Debian 13 libnet-oauth-perl No fix yet —
Debian 12 libnet-oauth-perl No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libnet-oauth-perl No fix yet —
Ubuntu 16.04 LTS libnet-oauth-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Net-OAuth 0.330.0-1.1 openSUSE-SU-2026:11551-1

Advisories 1

References