Improper validation of integrity check value in phpseclib - #VU169001

 

Improper validation of integrity check value in phpseclib - #VU169001

Published: November 21, 2026


Vulnerability identifier: #VU169001
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-354
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to alter decrypted data without detection.

The vulnerability exists due to missing authentication tag verification in phpseclib's libsodium-backed ChaCha20-Poly1305 decryption when the Poly1305 key is derived automatically. A remote attacker can tamper with stored or in-transit ciphertext to cause the application to accept altered plaintext.


Affected software

phpseclib

Remediation

Install security update from vendor's website.

phpseclib - addressed in versions 3.0.59, 4.0.4

External References

Related Security Bulletins