CVE-2022-32746 (GCVE-0-2022-32746)

Vulnerability from cvelistv5 – Published: 2022-08-25 00:00 – Updated: 2024-08-03 07:46
VLAI
Summary
A flaw was found in the Samba AD LDAP server. The AD DC database audit logging module can access LDAP message values freed by a preceding database module, resulting in a use-after-free issue. This issue is only possible when modifying certain privileged attributes, such as userAccountControl.
CWE
Assigner
redhat CNA under the redhat root
CNA scorecard B 82/100 over 1228 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
n/a samba Affected: Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T07:46:45.265Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://www.samba.org/samba/security/CVE-2022-32746.html"
          },
          {
            "name": "GLSA-202309-06",
            "tags": [
              "vendor-advisory",
              "x_transferred"
            ],
            "url": "https://security.gentoo.org/glsa/202309-06"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "samba",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "A flaw was found in the Samba AD LDAP server. The AD DC database audit logging module can access LDAP message values freed by a preceding database module, resulting in a use-after-free issue. This issue is only possible when modifying certain privileged attributes, such as userAccountControl."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-416",
              "description": "CWE-416",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-09-17T08:06:44.508Z",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "url": "https://www.samba.org/samba/security/CVE-2022-32746.html"
        },
        {
          "name": "GLSA-202309-06",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://security.gentoo.org/glsa/202309-06"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2022-32746",
    "datePublished": "2022-08-25T00:00:00.000Z",
    "dateReserved": "2022-06-09T00:00:00.000Z",
    "dateUpdated": "2024-08-03T07:46:45.265Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-32746",
      "date": "2026-11-19",
      "epss": "0.01395",
      "percentile": "0.72987"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "22161FC4-92E0-4340-A844-BA2DF50C94E7",
                  "versionEndExcluding": "4.14.14",
                  "versionStartIncluding": "4.3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "1B0E54A3-23C1-497D-864D-EDF15D85FB81",
                  "versionEndExcluding": "4.15.9",
                  "versionStartIncluding": "4.15.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "8479455F-FFCD-46F1-B0E3-EBC082F89C16",
                  "versionEndExcluding": "4.16.4",
                  "versionStartIncluding": "4.16.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "A flaw was found in the Samba AD LDAP server. The AD DC database audit logging module can access LDAP message values freed by a preceding database module, resulting in a use-after-free issue. This issue is only possible when modifying certain privileged attributes, such as userAccountControl."
        },
        {
          "lang": "es",
          "value": "Se ha encontrado un fallo en el servidor LDAP de Samba AD. El m\u00f3dulo de registro de auditor\u00eda de la base de datos AD DC puede acceder a los valores de los mensajes LDAP liberados por un m\u00f3dulo de base de datos anterior, resultando en un problema de uso de memoria previamente liberada. Este problema s\u00f3lo es posible cuando son modificados determinados atributos privilegiados, como userAccountControl."
        }
      ],
      "id": "CVE-2022-32746",
      "lastModified": "2024-11-21T07:06:52.830",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "LOW",
              "baseScore": 5.4,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "LOW",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L",
              "version": "3.1"
            },
            "exploitabilityScore": 2.8,
            "impactScore": 2.5,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2022-08-25T18:15:10.633",
      "references": [
        {
          "source": "secalert@redhat.com",
          "url": "https://security.gentoo.org/glsa/202309-06"
        },
        {
          "source": "secalert@redhat.com",
          "tags": [
            "Patch",
            "Vendor Advisory"
          ],
          "url": "https://www.samba.org/samba/security/CVE-2022-32746.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://security.gentoo.org/glsa/202309-06"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Vendor Advisory"
          ],
          "url": "https://www.samba.org/samba/security/CVE-2022-32746.html"
        }
      ],
      "sourceIdentifier": "secalert@redhat.com",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-416"
            }
          ],
          "source": "secalert@redhat.com",
          "type": "Secondary"
        },
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-416"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "samba",
                "vendor": "n/a",
                "versions": [
                  {
                    "status": "affected",
                    "version": "Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14"
                  }
                ]
              }
            ],
            "source": "secalert@redhat.com"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "22161FC4-92E0-4340-A844-BA2DF50C94E7",
                    "versionEndExcluding": "4.14.14",
                    "versionStartIncluding": "4.3.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1B0E54A3-23C1-497D-864D-EDF15D85FB81",
                    "versionEndExcluding": "4.15.9",
                    "versionStartIncluding": "4.15.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "8479455F-FFCD-46F1-B0E3-EBC082F89C16",
                    "versionEndExcluding": "4.16.4",
                    "versionStartIncluding": "4.16.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "A flaw was found in the Samba AD LDAP server. The AD DC database audit logging module can access LDAP message values freed by a preceding database module, resulting in a use-after-free issue. This issue is only possible when modifying certain privileged attributes, such as userAccountControl."
          },
          {
            "lang": "es",
            "value": "Se ha encontrado un fallo en el servidor LDAP de Samba AD. El m\u00f3dulo de registro de auditor\u00eda de la base de datos AD DC puede acceder a los valores de los mensajes LDAP liberados por un m\u00f3dulo de base de datos anterior, resultando en un problema de uso de memoria previamente liberada. Este problema s\u00f3lo es posible cuando son modificados determinados atributos privilegiados, como userAccountControl."
          }
        ],
        "id": "CVE-2022-32746",
        "lastModified": "2026-06-17T04:47:50.750",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 5.4,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "LOW",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L",
                "version": "3.1"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 2.5,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2022-08-25T18:15:10.633",
        "references": [
          {
            "source": "secalert@redhat.com",
            "url": "https://security.gentoo.org/glsa/202309-06"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "https://www.samba.org/samba/security/CVE-2022-32746.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://security.gentoo.org/glsa/202309-06"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "https://www.samba.org/samba/security/CVE-2022-32746.html"
          }
        ],
        "sourceIdentifier": "secalert@redhat.com",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-416"
              }
            ],
            "source": "secalert@redhat.com",
            "type": "Secondary"
          },
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-416"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-05T09:03:23+00:00",
      "cve": "CVE-2022-32746",
      "id": "CVE-2022-32746",
      "initial_release_date": "2022-07-27T00:00:00+00:00",
      "product_status:fixed": "130",
      "product_status:known_affected": "18",
      "product_status:known_not_affected": "170",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "samba: AD users can induce a use-after-free in the server process with an LDAP add or modify request",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-32746.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-02T00:50:40Z",
      "cve": "CVE-2022-32746",
      "id": "CVE-2022-32746",
      "initial_release_date": "2023-02-15T03:25:14Z",
      "product_status:known_affected": "231",
      "product_status:known_not_affected": "981",
      "product_status:recommended": "1623",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-32746",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2023/cve-2022-32746.json",
      "version": "50"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.