Advisory

GHSA-r854-jrxh-36qx

Also known as: CVE-2026-40194

Summary

phpseclib has a variable-time HMAC comparison in SSH2::get_binary_packet() using != instead of hash_equals()

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-04-10 20:58 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

phpseclib/phpseclib

Packagist · All systems

Affected

  • introduced 0.1.1, fixed 1.0.28 (ecosystem)

Fixed versions

1.0.28

Fix

The export has no generic command for this ecosystem.

phpseclib/phpseclib

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.0.53 (ecosystem)

Fixed versions

2.0.53

Fix

The export has no generic command for this ecosystem.

phpseclib/phpseclib

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.0.51 (ecosystem)

Fixed versions

3.0.51

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences