# CVE-2020-4068: Heap-based Buffer Overflow in APNSwift

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-01)
- Published: 2020-06-22T15:30:17.000Z
- Modified: 2026-06-17T03:19:30.930Z
- Weaknesses: CWE-122
- Assigned by: GitHub_M

## Description

In APNSwift 1.0.0, calling APNSwiftSigner.sign(digest:) is likely to result in a heap buffer overflow. This has been fixed in 1.0.1.

(As written by CVE List.)

## Affected

- kylebrowning APNSwift: = 1.0.0
- apnswift_project apnswift: 1.0.0

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/kylebrowning/APNSwift/security/advisories/GHSA-qh2w-vjxg-mjcg> (vendor-advisory)
- <https://github.com/kylebrowning/APNSwift/issues/31> (issue-tracking)
- <https://github.com/kylebrowning/APNSwift/pull/32> (issue-tracking)
- <https://github.com/kylebrowning/APNSwift/commit/97fa7f69dcdd89168fff84e0ba8f999881ee3d3f> (patch)

## Sources

- CVE List: [CVE-2020-4068](https://www.cve.org/CVERecord?id=CVE-2020-4068), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-4068](https://nvd.nist.gov/vuln/detail/CVE-2020-4068), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-4068 · Whole record: https://cve.day/CVE-2020-4068.json · Rebuilt by cve.day 2026-11-25T22:57:53.072Z
