# CVE-2022-24756: Missing Release of Memory after Effective Lifetime in Bareos Director

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.93%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-15T14:40:21.000Z
- Modified: 2026-06-17T04:32:26.907Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- bareos bareos: >= 18.2, < 19.2.12; >= 20.0.0, < 20.0.6; >= 21.0.0, < 21.1.0; from 18.2 before 19.2.12; from 20.0.0 before 20.0.6; from 21.0.0 before 21.1.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://huntr.dev/bounties/480121f2-bc3c-427e-986e-5acffb1606c5/> (exploit, patch, third-party-advisory)
- <https://github.com/bareos/bareos/pull/1115> (patch, third-party-advisory)
- <https://github.com/bareos/bareos/pull/1119> (patch, third-party-advisory)
- <https://github.com/bareos/bareos/pull/1121> (patch, third-party-advisory)
- <https://github.com/bareos/bareos/security/advisories/GHSA-jh55-4wgw-xc9j> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-24756](https://www.cve.org/CVERecord?id=CVE-2022-24756), CVE Terms of Use, modified 2025-04-22
- NVD: [CVE-2022-24756](https://nvd.nist.gov/vuln/detail/CVE-2022-24756), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24756 · Whole record: https://cve.day/CVE-2022-24756.json · Rebuilt by cve.day 2026-11-25T22:58:10.105Z
