Home / Samba / Samba / CVE-2011-2522
CVE-2011-2522: is it exploited, and which versions of Samba are affected and fixed?
CVE-2011-2522 is a cross-site request forgery (CSRF) vulnerability in Samba. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: samba from 3.0.0 before 3.3.16, samba from 3.4.0 before 3.4.14, samba from 3.5.0 before 3.5.10 and 7 more (NVD). Fixed in 3.3.16, 3.4.14 and 3.5.10 (NVD). Severity: Medium (6.8, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:49 UTC.
What is CVE-2011-2522?
Multiple cross-site request forgery (CSRF) vulnerabilities in the Samba Web Administration Tool (SWAT) in Samba 3.x before 3.5.10 allow remote attackers to hijack the authentication of administrators for requests that (1) shut down daemons, (2) start daemons, (3) add shares, (4) remove shares, (5) add printers, (6) remove printers, (7) add user accounts, or (8) remove user accounts, as demonstrated by certain start, stop, and restart parameters to the status program.
From the CVE record by redhat, last updated August 6, 2024, 23:00 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| samba | samba | from 3.0.0 before 3.3.16 | application |
| samba | samba | from 3.4.0 before 3.4.14 | application |
| samba | samba | from 3.5.0 before 3.5.10 | application |
| debian | debian linux | 5.0 | operating system |
| debian | debian linux | 6.0 | operating system |
| debian | debian linux | 7.0 | operating system |
| canonical | ubuntu linux | 8.04 | operating system |
| canonical | ubuntu linux | 10.04 | operating system |
| canonical | ubuntu linux | 10.10 | operating system |
| canonical | ubuntu linux | 11.04 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 23:31 UTC.
How severe is CVE-2011-2522?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2011-2522 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 10.6% probability of exploitation activity in the next 30 days, percentile 95.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-352 Cross-Site Request Forgery
Where are the vendor advisories and references?
- MDVSA-2011:121 vendor-advisory, x_refsource_MANDRIVA
- 74071 vdb-entry, x_refsource_OSVDB
- HPSBNS02701 vendor-advisory, x_refsource_HP
- SSRT100664 vendor-advisory, x_refsource_HP
- 1025852 vdb-entry, x_refsource_SECTRACK
- https://bugzilla.samba.org/show_bug.cgi?id=8290 x_refsource_CONFIRM
- DSA-2290 vendor-advisory, x_refsource_DEBIAN
- http://www.samba.org/samba/security/CVE-2011-2522 x_refsource_CONFIRM
- 45393 third-party-advisory, x_refsource_SECUNIA
- 45496 third-party-advisory, x_refsource_SECUNIA
- 45488 third-party-advisory, x_refsource_SECUNIA
- https://bugzilla.redhat.com/show_bug.cgi?id=721348 x_refsource_CONFIRM
- http://samba.org/samba/history/samba-3.5.10.html x_refsource_CONFIRM
- 17577 exploit, x_refsource_EXPLOIT-DB
- 8317 third-party-advisory, x_refsource_SREASON
- JVN#29529126 third-party-advisory, x_refsource_JVN
- USN-1182-1 vendor-advisory, x_refsource_UBUNTU
- 48899 vdb-entry, x_refsource_BID
- samba-swat-csrf(68843) vdb-entry, x_refsource_XF
When was it published, and where is the official record?
- Reserved
- June 15, 2011
- Published
- July 29, 2011, 20:00 UTC
- CVE record updated
- August 6, 2024, 23:00 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:31 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:49 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Samba?
- May 30, 2017CVE-2017-7494 samba: code injection (remote code execution) exploited
- Dec 1, 2026CVE-2026-135111 Samba: resource not released after use
- Nov 30, 2026CVE-2026-125628 Samba: type confusion
- Nov 27, 2026CVE-2026-125633 Samba: type confusion
- Nov 27, 2026CVE-2026-125627 Samba: NULL pointer dereference (crash)
- Nov 26, 2026CVE-2026-135107 Samba: memory Allocation with Excessive Size Value
- Nov 25, 2026CVE-2026-125634 Samba: NULL pointer dereference (crash)
- Oct 28, 2026CVE-2026-109411 Samba: improper Handling of Case Sensitivity
Questions about CVE-2011-2522
Is CVE-2011-2522 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 10.6% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Samba are affected by CVE-2011-2522?
samba from 3.0.0 before 3.3.16, samba from 3.4.0 before 3.4.14, samba from 3.5.0 before 3.5.10, debian linux 5.0, debian linux 6.0, debian linux 7.0 and 4 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2011-2522?
3.3.16, 3.4.14 and 3.5.10, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2011-2522?
Medium (6.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2011-2522?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.