CVE-2007-5135: Off-by-one error in the SSL_get_shared_ciphers function in OpenSSL 0.9.7 up to 0.9.7l, and 0.9.8 up to 0.9.8f, might allow remote attacke…

CVE-2007-5135 affects 15 listed versions of OpenSSL in the Dawnsentry catalogue.

6.8CVSS medium
None knownexploitation
16%EPSS (next 30 days)
27 September 2007published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

OpenSSL

15 of 117 listed versions are affected. No fixed release is named. The newest release, 4.1.1, is not affected.

0.9.8zh 0.9.8zg 0.9.8zf 0.9.8ze 0.9.8zc 0.9.8zb 0.9.8za 0.9.8z 0.9.8y 0.9.8x 0.9.8w 0.9.8v 0.9.8u 0.9.8t 0.9.8s

What it is

Off-by-one error in the SSL_get_shared_ciphers function in OpenSSL 0.9.7 up to 0.9.7l, and 0.9.8 up to 0.9.8f, might allow remote attackers to execute arbitrary code via a crafted packet that triggers a one-byte buffer underflow. NOTE: this issue was introduced as a result of a fix for CVE-2006-3738. As of 20071012, it is unknown whether code execution is possible.

AV:N/AC:M/Au:N/C:P/I:P/A:P (NVD)

Published by MITRE on 27 September 2007. Last changed 16 June 2026.

Sources

Check one version you run: look CVE-2007-5135 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.