Code execution via unchecked RSA key lengths
Published Jan 18, 2000 · Updated Aug 1, 2024
Buffer overflow in RSAREF 2.0 encryption and decryption allows attackers to execute code via malicious RSA key parameters. In rsa.c, unchecked modulus lengths let RSA operations write beyond the 128-byte pkcsBlock stack buffer, including through NN_Encode(). Exploitation requires a consuming application to pass attacker-controlled parameters; SSH 1.2.27 and earlier compiled with RSAREF exposes remote attackers to execution with the daemon's privileges.
Summary
What happened
Buffer overflow in RSAREF 2.0 encryption and decryption allows attackers to execute code via malicious RSA key parameters. In rsa.c, unchecked modulus lengths let RSA operations write beyond the 128-byte pkcsBlock stack buffer, including through NN_Encode(). Exploitation requires a consuming application to pass attacker-controlled parameters; SSH 1.2.27 and earlier compiled with RSAREF exposes remote attackers to execution with the daemon's privileges.
The record
- CVE
- CVE-1999-0834
- Published
- Jan 18, 2000
- Updated
- Aug 1, 2024
- Vendor
- RSA Data Security, Inc.
- Product
- RSAREF
- Classifications
- T1210
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 18, 2000CVE publishedPublication date reported by the CVE source.
- Aug 1, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=n/a
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Activity data is delayed. The latest report is Sep 28, 2026.
Weakness, pattern, technique
Public exploit references
- RSA Security RSAREF 2.0 - Local Buffer Overflowfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- SSH input corruption chained with RSAREF2 overflowexploit chain
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Get started to see how Hinoki identifies affected software and validates exploitability in your environment.
Contact us