CVE-2025-22376 Weak cryptography in n/a

Medium 5.3 Published Updated

Weak nonce generation in Net::OAuth allows attackers to bypass replay protection, potentially compromising OAuth authentication integrity.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-22376?

CVE-2025-22376 is a medium-severity vulnerability in n/a, published on 3 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Net::OAuth::Client in the Net::OAuth package before 0.29 for Perl, the default nonce is a 32-bit integer generated from the built-in rand() function, which is not cryptographically strong.

Weakness: CWE-338

Which versions are affected by CVE-2025-22376?

Linux distribution packages (1)
perl-Net-OAuth openSUSE:TumbleweedAll versions0.330.0-2.1

How do I fix CVE-2025-22376?

Upgrade to a fixed version.

Is CVE-2025-22376 being exploited?

There is no known exploitation of CVE-2025-22376 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-22376, GHSA-w287-9q69-3hx9, MGASA-2025-0062, UBUNTU-CVE-2025-22376, openSUSE-SU-2026:12065-1.

Is CVE-2025-22376 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free