cve.bz

CVE-2007-4752 openbsd openssh: Improper Input Validation

no score yetEPSS 2.4%Fix available

openbsd openssh: no CVSS score yet. EPSS 2.4% estimated probability of exploitation activity in the next 30 days.

On this page
ssh in OpenSSH before 4.7 does not properly handle when an untrusted cookie cannot be created and uses a trusted X11 cookie instead, which allows attackers to violate intended policy and gain privileges by causing an X client to be treated as trusted.
EPSS
2.4% (unchanged from 2.4% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2007-4752 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-4752?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-4752?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-4752 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openbsd:opensshthrough 4.6
openbsd:openssh4.0
openbsd:openssh4.0p1
openbsd:openssh4.1
openbsd:openssh4.1p1
openbsd:openssh4.2
openbsd:openssh4.2p1
openbsd:openssh4.3
openbsd:openssh4.3p1
openbsd:openssh4.3p2
openbsd:openssh4.4
openbsd:openssh4.4p1
openbsd:openssh4.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian4.0openssh1:4.3p2-9etch2DSA-1576-1
Debian12, 13, 14openssh1:4.7p1-1DEBIAN-CVE-2007-4752
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 moreopenssh, openssh-server, openssh-askpass and 3 more0:3.9p1-11.el4_7RHSA-2008:0855
Red Hatenterprise_linux:5::client, enterprise_linux:5::serveropenssh, openssh-server, openssh-askpass and 2 more0:4.3p2-26.el5_2.1RHSA-2008:0855
Red Hatrhel_eus:4.5::as, rhel_eus:4.5::esopenssh, openssh-server, openssh-askpass and 3 more0:3.9p1-10.RHEL4.20RHSA-2008:0855
openSUSETumbleweedopenssh8.4p1-7.4openSUSE-SU-2024:11124-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue did not affect the OpenSSH packages as distributed with Red Hat Enterprise Linux 2.1 or 3, as they do not support Trusted X11 forwarding.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 4openssh-0:3.9p1-11.el4_7Fixed 2008-08-22RHSA-2008:0855
Red Hat Enterprise Linux 4.5 Z Streamopenssh-0:3.9p1-10.RHEL4.20Fixed 2008-08-22RHSA-2008:0855
Red Hat Enterprise Linux 5openssh-0:4.3p2-26.el5_2.1Fixed 2008-08-22RHSA-2008:0855

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2007-4752.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON