Skip to content
OpenAdvisories
High · 7.5 CVE-2026-75589 EUVD-2026-62350

Net::OAuth versions before 0.33 for Perl check HMAC-SHA1, HMAC-SHA256 and PLAINTEXT signatures with a non-constant-time comparison in verify

Published Aug 19, 2026 · Updated Aug 26, 2026 · Assigned by CPANSec

Description

Net::OAuth versions before 0.33 for Perl check HMAC-SHA1, HMAC-SHA256 and PLAINTEXT signatures with a non-constant-time comparison in verify.

Each of the three compares the signature carried in the message against the locally computed one with the eq operator, which returns as soon as the two strings differ. The time taken to reject a signature varies with the length of the matching prefix. RSA-SHA1 is not affected, as it verifies through the RSA key object rather than by comparing strings.

A client that can submit messages and time the replies may recover a valid signature one byte at a time rather than searching the whole signature space. Under PLAINTEXT the value compared against is the signature key itself, so the search recovers consumer_secret and token_secret.

Affected products

VendorProductAffectedFixed
— Net-OAuth < 0.33 0.33

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.33-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