{"schemaVersion":4,"id":"CVE-2026-135107","aliases":["DEBIAN-CVE-2026-135107","UBUNTU-CVE-2026-135107"],"status":"published","duplicateOf":null,"title":"Samba: smb2 pipe transceive allocates maxoutputresponse before the read","description":"An **uncontrolled memory allocation** flaw has been found in the smbd_smb2_ioctl_pipe_write_done() function in source3/smbd/smb2_ioctl_named_pipe.c of the SMB2 named-pipe ioctl handling in the **Samba** package. The file server reserves memory for a named-pipe response using a size chosen by the client. It does not keep that size within the maximum the client and the server have already agreed. A low-privileged network attacker or user who can open a named pipe can request a very large response. The file server reserves that memory before it reads the pipe and holds it until the request ends. Repeating this on more connections can exhaust memory and keep the file service unavailable while those requests continue.","dates":{"published":"2026-11-26T23:04:30.010Z","modified":"2026-12-01T20:52:44.325Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true}]},"epss":{"probability":0.00809,"percentile":0.58203,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-27T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00809,"percentile":0.58203}],"last30":[{"date":"2026-11-27T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00809,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00809,"percentile":0.58203}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value","description":"The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/789.html"}],"affected":[{"vendor":"debian","product":"samba","name":"samba","label":"samba","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/samba","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":null},{"vendor":"ubuntu","product":"samba","name":"samba","label":"samba","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/samba","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":null},{"vendor":"samba","product":"samba","name":"Samba","label":"samba","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.5.0","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"range","start":"3.5.0","startInclusive":true,"end":null,"endInclusive":false}}],"versionsText":"≥ 3.5.0 (No fix recorded)","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":"/vendor/samba/samba"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-135107","label":"access.redhat.com/security/cve/CVE-2026-135107","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2472623","label":"bugzilla.redhat.com/show_bug.cgi?id=2472623","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://bugzilla.samba.org/show_bug.cgi?id=16156","label":"bugzilla.samba.org/show_bug.cgi?id=16156","hostname":"bugzilla.samba.org","tags":[]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-135107","label":"security-tracker.debian.org/tracker/CVE-2026-135107","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-135107","label":"ubuntu.com/security/CVE-2026-135107","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-135107","label":"www.cve.org/CVERecord?id=CVE-2026-135107","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-26T23:04:30.010Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T20:52:44.325Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,65],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00809,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T20:52:44.325Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-01T20:52:44.325Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-12-01T20:52:44.325Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-12-01T20:52:44.325Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-01T20:52:29.274Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00809,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:24:03.215Z","stale":false,"partial":false}}