Unrated
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-32746
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 01:33 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-32746
Complete source record
{
"id": "2800986fe8417d7caf121fb77103457af0177b817adc1ecf5bf508f56500d7c2",
"url": "https://osv.dev/vulnerability/CVE-2022-32746",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-32746",
"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.",
"evidence": "osv:CVE-2022-32746",
"products": [],
"severity": "unknown",
"structured": {
"id": "CVE-2022-32746",
"aliases": [
"CVE-2022-32746"
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/samba-team/samba",
"type": "GIT",
"events": [
{
"introduced": "b85f6018c803fb9aad82820d4b5505179ec5bac3"
},
{
"fixed": "ad06fd8294503b6a27729118dd8c80558d41924a"
},
{
"introduced": "fc8342bd26d1c55ca5780b427f675f31147b27f9"
},
{
"fixed": "c8fc01ca36445e87c3e503026a446416d66cd1bf"
},
{
"introduced": "e95d85f784ae6b19f2cb42cc9039b60b146e5b69"
},
{
"fixed": "9618af1b66aa7503e02b25c9a0bb5b1f31baffbc"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.3.0"
},
{
"fixed": "4.14.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.15.0"
},
{
"fixed": "4.15.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.16.0"
},
{
"fixed": "4.16.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"ldb-2.4.4",
"ldb-2.5.2",
"samba-4.16.3",
"samba-4.15.8",
"samba-4.16.2",
"ldb-2.5.1",
"ldb-2.4.3",
"samba-4.16.1",
"samba-4.15.7",
"samba-4.16.0",
"samba-4.15.6",
"ldb-2.4.2",
"samba-4.15.4",
"samba-4.15.3",
"samba-4.15.2",
"samba-4.15.1",
"ldb-2.4.1",
"samba-4.15.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32746.json"
}
}
],
"modified": "2026-10-28T02:30:45.777969851Z",
"provider": "osv",
"references": [
"https://www.samba.org/samba/security/CVE-2022-32746.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32746.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-32746",
"https://security.gentoo.org/glsa/202309-06"
],
"provider_metadata": {
"cwe_ids": [
"CWE-416"
],
"cna_assigner": "redhat",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14"
},
{
"last_affected": "Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32746.json"
}
},
"related_cves": [
{
"value": "CVE-2022-32746",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 513898,
"published_at": "2022-08-25T00:00:00+00:00"
}