CPANSA-Net-OAuth-2026-75589: Net-OAuth vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-08-19T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-08-19T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 7.5 | Severity | High |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-75589
Vulnerability DescriptionNet::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.
| Weakness | CWE-208 : Observable Timing Discrepancy |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Net-OAuth less than 0.33 |
|
Fixed
- Net-OAuth greater than or equal 0.33
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Net-OAuth-2026-75589 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-net-oauth-2026-75589.json - https://github.com/vurtdev/Net-OAuth/commit/a1a16b58add85668ef4fcda642a486ceed098eba.patch external
https://github.com/vurtdev/Net-OAuth/commit/a1a16b58add85668ef4fcda642a486ceed098eba.patch - https://github.com/vurtdev/Net-OAuth/security/advisories/GHSA-g8xr-69p3-gw56 external
https://github.com/vurtdev/Net-OAuth/security/advisories/GHSA-g8xr-69p3-gw56 - https://metacpan.org/release/RRWO/Net-OAuth-0.33/changes external
https://metacpan.org/release/RRWO/Net-OAuth-0.33/changes - http://www.openwall.com/lists/oss-security/2026/08/19/3 external
http://www.openwall.com/lists/oss-security/2026/08/19/3 - CVE-2026-75589 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-75589
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Wed Aug 19 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/