← Vulnerability feed

Vulnerability record · CVE-2008-1105 · published 29 May 2008

CVE-2008-1105: Samba receive_smb_raw heap buffer overflow allows remote code execution

Samba · Samba

Samba 3.0.0 through 3.0.29 contains a heap-based buffer overflow in the receive_smb_raw function in util/sock.c. A remote attacker can trigger the overflow by sending a crafted SMB response, which can corrupt heap memory and potentially lead to arbitrary code execution. The flaw affects Samba and downstream Linux distributions including Ubuntu and Debian.

7.5 CVSS 2.0 High EPSS 69% · top 0.7% CWE-119 · Memory buffer overflow
7.5CVSS 2.0 base score
69%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
104References
16 Jun 2026Last modified by NVD

Description

Heap-based buffer overflow in the receive_smb_raw function in util/sock.c in Samba 3.0.0 through 3.0.29 allows remote attackers to execute arbitrary code via a crafted SMB response.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityThe vulnerability is remotely exploitable without authentication and has a high EPSS score, though it is not listed in CISA KEV and no public exploit tags are present in the record.

What it is

Samba 3.0.0 through 3.0.29 contains a heap-based buffer overflow in the receive_smb_raw function in util/sock.c. A remote attacker can trigger the overflow by sending a crafted SMB response, which can corrupt heap memory and potentially lead to arbitrary code execution. The flaw affects Samba and downstream Linux distributions including Ubuntu and Debian.

Impact

A successful exploit can allow a remote attacker to execute arbitrary code with the privileges of the vulnerable Samba process, potentially leading to full compromise of the affected service. The CVSS 2.0 vector indicates partial confidentiality, integrity, and availability impact.

Attack surface

The vulnerability is reachable over the network via SMB traffic, as indicated by the AV:N vector. No authentication or user interaction is required according to the CVSS vector (Au:N).

Exploitation

The CVE is not listed in CISA KEV, but EPSS indicates a high probability of exploitation activity (0.69085, 99.3rd percentile). Reference tags are limited to third-party advisories and mailing lists, with no public exploit tags present in the supplied data.

What to do

  • Upgrade Samba to a version later than 3.0.29 or apply the vendor-supplied patch for CVE-2008-1105.
  • Restrict network access to SMB services (TCP 139/445) to trusted hosts only.
  • Monitor vendor advisories from Samba, Ubuntu, and Debian for updated packages and apply them promptly.
  • If Samba cannot be patched immediately, consider disabling or isolating the SMB service until remediation is possible.

Detection

  • Monitor SMB traffic for malformed or unusually large responses that could trigger the receive_smb_raw overflow.
  • Check Samba logs for crashes or abnormal termination of the smbd process.
  • Use network intrusion detection signatures targeting SMB response parsing anomalies if available.
  • Audit systems for Samba versions between 3.0.0 and 3.0.29 and verify patch status.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2008-06/msg00000.html Mailing ListThird Party Advisory
http://lists.vmware.com/pipermail/security-announce/2008/000023.html Mailing ListThird Party Advisory
http://secunia.com/advisories/30228 Third Party Advisory
http://secunia.com/advisories/30385 Third Party Advisory
http://secunia.com/advisories/30396 Third Party Advisory
http://secunia.com/advisories/30442 Third Party Advisory
http://secunia.com/advisories/30449 Third Party Advisory
http://secunia.com/advisories/30478 Third Party Advisory
http://secunia.com/advisories/30489 Third Party Advisory
http://secunia.com/advisories/30543 Third Party Advisory
http://secunia.com/advisories/30736 Third Party Advisory
http://secunia.com/advisories/30802 Third Party Advisory
http://secunia.com/advisories/30835 Third Party Advisory
http://secunia.com/advisories/31246 Third Party Advisory
http://secunia.com/advisories/31911 Third Party Advisory
http://secunia.com/advisories/33696 Third Party Advisory
http://secunia.com/secunia_research/2008-20/advisory/ Third Party AdvisoryVendor Advisory
http://security.gentoo.org/glsa/glsa-200805-23.xml Third Party Advisory
http://securitytracker.com/id?1020123 Third Party AdvisoryVDB Entry
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.473951 Mailing ListThird Party Advisory
http://sunsolve.sun.com/search/document.do?assetkey=1-26-249086-1 Broken Link
http://support.apple.com/kb/HT2163 Third Party Advisory
http://wiki.rpath.com/Advisories:rPSA-2008-0180 Broken Link
http://www.debian.org/security/2008/dsa-1590 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:108 Broken Link
http://www.redhat.com/support/errata/RHSA-2008-0288.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0289.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0290.html Third Party Advisory
http://www.samba.org/samba/security/CVE-2008-1105.html Vendor Advisory
http://www.securityfocus.com/archive/1/492683/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/492737/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/492903/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/29404 PatchThird Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/31255 Third Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/usn-617-1 Third Party Advisory
http://www.ubuntu.com/usn/usn-617-2 Third Party Advisory
http://www.vupen.com/english/advisories/2008/1681 Permissions Required
http://www.vupen.com/english/advisories/2008/1908 Permissions Required
http://www.vupen.com/english/advisories/2008/1981/references Permissions Required

Track CVE-2008-1105 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2008-1105), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.