# CVE-2013-0211: Integer signedness error in the archivewritezipdata function in archivewritesetformatzip.c in libarchive 3.1.2 and earlier, when running on…

- Severity: Medium 5.0 (CVSS:2.0, scored by NVD) `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- 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): 3.93%, higher than 90% of CVEs (2026-12-01)
- Published: 2013-09-30T20:00:00.000Z
- Modified: 2026-06-16T23:48:58.563Z
- Weaknesses: CWE-189
- Assigned by: redhat

## Description

Integer signedness error in the archive_write_zip_data function in archive_write_set_format_zip.c in libarchive 3.1.2 and earlier, when running on 64-bit machines, allows context-dependent attackers to cause a denial of service (crash) via unspecified vectors, which triggers an improper conversion between unsigned and signed types, leading to a buffer overflow.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libarchive libarchive: up to 3.1.2
- canonical ubuntu_linux: 12.04; 14.04; 14.10
- opensuse opensuse: 13.1; 13.2
- fedoraproject fedora: 17; 18
- freebsd freebsd: 9.3

## References

- <https://github.com/libarchive/libarchive/commit/22531545514043e04633e1c015c7540b9de9dbe4> (patch)
- <https://www.freebsd.org/security/advisories/FreeBSD-SA-16:23.libarchive.asc> (third-party-advisory, vendor-advisory)
- <http://www.mandriva.com/security/advisories?name=MDVSA-2013:147> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-updates/2015-03/msg00065.html> (third-party-advisory, vendor-advisory)
- <http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101876.html> (third-party-advisory, vendor-advisory)
- <http://www.securityfocus.com/bid/58926> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=902998> (issue-tracking, patch)
- <http://www.securitytracker.com/id/1035995> (third-party-advisory, vdb-entry)
- <http://www.ubuntu.com/usn/USN-2549-1> (third-party-advisory, vendor-advisory)
- <http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101687.html> (third-party-advisory, vendor-advisory)
- <http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101872.html> (third-party-advisory, vendor-advisory)
- <http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101700.html> (third-party-advisory, vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2013-0211 · Whole record: https://cve.day/CVE-2013-0211.json · Rebuilt by cve.day 2026-11-25T22:57:16.691Z
