Skip to content

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

MediumCVSS 6.5 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/libnet-oauth-perl(Debian 12) = 0.28-4; = 0.30-1; = 0.31-1; = 0.31-2 +3 more No fix listed No fix yet
debian/libnet-oauth-perl(Debian 13) = 0.31-1; = 0.31-2; = 0.32-1; = 0.33-1 +1 more No fix listed No fix yet
ubuntu/libnet-oauth-perl(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libnet-oauth-perl(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libnet-oauth-perl(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libnet-oauth-perl(Ubuntu 26.10) All versions No fix listed No fix yet
cpan Net-OAuth < 0.32 0.32 Fixed
debian/libnet-oauth-perl(Debian 14) < 0.32-1; = 0.31-1; = 0.31-2 0.32-1 Fixed

Affected products

ProductAffected versionsFixed in
cpan Net-OAuth < 0.32 0.32
debian/libnet-oauth-perl(Debian:12) All versions No fix listed
debian/libnet-oauth-perl(Debian:12) = 0.28-4 No fix listed
debian/libnet-oauth-perl(Debian:12) = 0.30-1 No fix listed
debian/libnet-oauth-perl(Debian:12) = 0.31-1 No fix listed
debian/libnet-oauth-perl(Debian:12) = 0.31-2 No fix listed
debian/libnet-oauth-perl(Debian:12) = 0.32-1 No fix listed
debian/libnet-oauth-perl(Debian:12) = 0.33-1 No fix listed
debian/libnet-oauth-perl(Debian:13) All versions No fix listed
debian/libnet-oauth-perl(Debian:13) = 0.31-1 No fix listed
debian/libnet-oauth-perl(Debian:13) = 0.31-2 No fix listed
debian/libnet-oauth-perl(Debian:13) = 0.32-1 No fix listed
debian/libnet-oauth-perl(Debian:13) = 0.33-1 No fix listed
debian/libnet-oauth-perl(Debian:14) < 0.32-1 0.32-1
debian/libnet-oauth-perl(Debian:14) = 0.31-1 No fix listed
debian/libnet-oauth-perl(Debian:14) = 0.31-2 No fix listed
ubuntu/libnet-oauth-perl(Ubuntu:22.04) All versions No fix listed
ubuntu/libnet-oauth-perl(Ubuntu:24.04) All versions No fix listed
ubuntu/libnet-oauth-perl(Ubuntu:26.04) All versions No fix listed
ubuntu/libnet-oauth-perl(Ubuntu:26.10) All versions No fix listed

References