CVE-2022-24756 in Bareos
Bareos is open source software for backup, archiving, and recovery of data for operating systems. When Bareos Director >= 18.2 but prior to 21.1.0, 20.0.6, and 19.2.12 is built and configured for PAM authentication, a failed PAM authentication will leak a small amount of memory. An attacker that is able to use the P...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Bareos | Bareos | ≥ 18.2, < 19.2.12 ≥ 20.0.0, < 20.0.6 ≥ 21.0.0, < 21.1.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Bareos is open source software for backup, archiving, and recovery of data for operating systems. When Bareos Director >= 18.2 but prior to 21.1.0, 20.0.6, and 19.2.12 is built and configured for PAM authentication, a failed PAM authentication will leak a small amount of memory. An attacker that is able to use the PAM Console (i.e. by knowing the shared secret or via the WebUI) can flood the Director with failing login attempts which will eventually lead to an out-of-memory condition in which the Director will not work anymore. Bareos Director versions 21.1.0, 20.0.6 and 19.2.12 contain a Bugfix for this problem. Users who are unable to upgrade may disable PAM authentication as a workaround.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-24756 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-314304-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2022-03-15 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-401: Memory Leak
Software does not release allocated memory after use, causing progressive consumption until failure.
Analysis AI-written, not human-reviewed
A memory leak vulnerability exists in Bareos Director versions 18.2 to 21.0.5, 20.0.0 to 20.0.5, and 19.2.0 to 19.2.11 when configured for PAM authentication. This can be exploited by an attacker with access to the PAM Console or WebUI to flood the Director and potentially cause a denial of service.
The vulnerability is triggered by a failed PAM authentication attempt, which results in a small memory leak. An attacker can exploit this by repeatedly attempting to authenticate, leading to a gradual increase in memory usage and potentially causing the Bareos Director to crash or become unresponsive.
Questions
What is CVE-2022-24756?
A memory leak vulnerability exists in Bareos Director versions 18.2 to 21.0.5, 20.0.0 to 20.0.5, and 19.2.0 to 19.2.11 when configured for PAM authentication. This can be exploited by an attacker with access to the PAM Console or WebUI to flood the Director and potentially cause a denial of service.
What is the CVSS score for CVE-2022-24756?
CVE-2022-24756 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 2.0%.
Is CVE-2022-24756 actively exploited?
No confirmed active exploitation of CVE-2022-24756 as of 2026-09-25.
How do I remediate CVE-2022-24756?
Priority: MEDIUM.
What systems are affected by CVE-2022-24756?
CVE-2022-24756 affects Bareos Bareos.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Bareos","product":"Bareos","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.