{"id":"CVE-2014-8118","aliases":["DEBIAN-CVE-2014-8118","DLA-140-1","DSA-3129-1","EUVD-2014-7963","GHSA-wj3v-j872-6xqx","MGASA-2014-0529","MGASA-2016-0366","RHSA-2014:1976","UBUNTU-CVE-2014-8118","USN-2479-1"],"status":"published","title":"Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a...","description":"Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0755,"percentile":0.94554,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-189"],"published":"2014-12-14T14:10:39Z","modified":"2026-10-23T15:47:31Z","fixes":[{"ecosystem":"Debian:12","package":"rpm","fixed_in":["4.11.3-1.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rpm","fixed_in":["4.11.3-1.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rpm","fixed_in":["4.11.3-1.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"rpm","fixed_in":["4.11.1-3ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.3-1.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.3-1.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.3-1.1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.8.1-6+squeeze2"}]}],"versions":["4.8.1-6","4.8.1-6+squeeze1"],"bundled":5},{"source":"osv","ecosystem":"Debian:7","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.10.0-5+deb7u2"}]}],"versions":["4.10.0-5+deb7u1"],"bundled":2},{"source":"osv","ecosystem":"Mageia:4","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.1-9.mga4"}]}],"bundled":2},{"source":"osv","ecosystem":"Mageia:5","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12.0.2-1.7.mga5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"rpm-build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"rpm-build-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"rpm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"rpm-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"rpm-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"rpm-apidocs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"rpm-cron","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"rpm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"rpm-sign","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"rpm-build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"rpm-build-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"rpm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"rpm-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"rpm-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"rpm-apidocs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"rpm-cron","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"rpm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"rpm-sign","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"rpm-build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"rpm-build-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"rpm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"rpm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"rpm-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"rpm-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"rpm-sign","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"rpm-apidocs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"rpm-cron","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"rpm-build","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"rpm-build-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"rpm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"rpm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"rpm-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"rpm-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"rpm-sign","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"rpm-apidocs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"rpm-cron","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.11.1-18.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.1-3ubuntu0.1"}]}],"versions":["4.11.1-2","4.11.1-3"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"rpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.1-3ubuntu0.1"}]}],"versions":["4.11.1-2","4.11.1-3"],"bundled":2}],"products":[{"vendor":"rpm","product":"rpm"}],"references":[{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:056","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"https://security.gentoo.org/glsa/201811-22","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://advisories.mageia.org/MGASA-2014-0529.html","tags":["x_refsource_CONFIRM","x_transferred","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2014:251","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://www.debian.org/security/2015/dsa-3129","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1976.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-8118","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2014:1976","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2014-8118","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1168715","tags":["report"]},{"url":"https://github.com/advisories/GHSA-wj3v-j872-6xqx"},{"url":"https://security-tracker.debian.org/tracker/CVE-2014-8118","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2014-0529.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=14766","tags":["report"]},{"url":"https://securityblog.redhat.com/2014/12/10/analysis-of-the-cve-2013-6435-flaw-in-rpm/","tags":["web"]},{"url":"https://rhn.redhat.com/errata/RHSA-2014-1976.html","tags":["web"]},{"url":"https://advisories.mageia.org/MGASA-2016-0366.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19710","tags":["report"]},{"url":"http://rpm.org/wiki/Releases/4.12.0.2","tags":["web"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1039811","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_1976.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-6435","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-6435","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6435","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-8118","tags":["advisory","report"]},{"url":"https://ubuntu.com/security/CVE-2014-8118","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-2479-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2013-6435","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2014-8118","description":"Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.","status":"published","published":"2014-12-16T18:00:00Z","modified":"2024-08-06T13:10:50.836Z","updated_at":"2026-11-02T14:33:43.206348Z"}],"euvd":[{"id":"EUVD-2014-7963","description":"Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.","status":"published","published":"2014-12-16T18:00:00Z","modified":"2024-08-06T13:10:50Z","updated_at":"2026-11-03T01:56:52.951821Z"}],"ghsa":[{"id":"GHSA-wj3v-j872-6xqx","title":"Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a...","description":"Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.","status":"published","published":"2022-05-14T01:55:57Z","modified":"2023-02-10T05:06:13Z","updated_at":"2026-11-02T14:54:01.286462Z"}],"nvd":[{"id":"CVE-2014-8118","description":"Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.","status":"published","published":"2014-12-16T18:59:06.733Z","modified":"2026-06-17T00:16:18.807Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-189"],"updated_at":"2026-11-02T14:02:57.680258Z"}],"osv":[{"id":"CVE-2014-8118","description":"Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.","status":"published","published":"2014-12-16T18:59:06Z","modified":"2026-04-16T06:24:37.36906977Z","updated_at":"2026-11-02T15:43:59.654289Z"},{"id":"DEBIAN-CVE-2014-8118","description":"Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.","status":"published","published":"2014-12-16T18:59:06.733Z","modified":"2026-10-23T15:47:31.238944628Z","updated_at":"2026-11-02T15:45:26.442161Z"},{"id":"DLA-140-1","title":"rpm - security update","status":"published","published":"2015-01-28T00:00:00Z","modified":"2026-03-09T01:00:50.820404Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DSA-3129-1","title":"rpm - security update","status":"published","published":"2015-01-15T00:00:00Z","modified":"2026-03-09T01:22:50.3305Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"MGASA-2014-0529","title":"Updated rpm packages fix security vulnerabilities","description":"It was found that RPM wrote file contents to the target installation\ndirectory under a temporary name, and verified its cryptographic signature\nonly after the temporary file has been written completely. Under certain\nconditions, the system interprets the unverified temporary file contents\nand extracts commands from it. This could allow an attacker to modify\nsigned RPM files in such a way that they would execute code chosen by the\nattacker during package installation (CVE-2013-6435).\n\nIt was found that RPM could encounter an integer overflow, leading to a\nstack-based buffer overflow, while parsing a crafted CPIO header in the\npayload section of an RPM file. This could allow an attacker to modify\nsigned RPM files in such a way that they would execute code chosen by the\nattacker during package installation (CVE-2014-8118).\n","status":"published","published":"2014-12-14T14:10:39Z","modified":"2026-04-16T06:25:15.576279249Z","updated_at":"2026-11-02T15:49:39.488462Z"},{"id":"MGASA-2016-0366","title":"This update of rpm fixes several security issues","description":"All of those fixes were already backported in Mageia but for :\n- Fix out-of-bounds read on signature checking of malformed package (RhBug:1373107)\n","status":"published","published":"2016-11-04T13:54:53Z","modified":"2026-06-04T05:48:02.812015262Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"RHSA-2014:1976","title":"Red Hat Security Advisory: rpm security update","status":"published","published":"2024-09-15T22:12:43Z","modified":"2026-06-28T10:12:26Z","updated_at":"2026-11-02T15:53:02.532052Z"},{"id":"UBUNTU-CVE-2014-8118","description":"Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section of an RPM file, which triggers a stack-based buffer overflow.","status":"published","published":"2014-12-16T00:00:00Z","modified":"2026-04-22T09:52:08.33469Z","updated_at":"2026-11-02T15:54:09.378953Z"},{"id":"USN-2479-1","title":"rpm vulnerabilities","description":"Florian Weimer discovered that RPM incorrectly handled temporary files. A\nlocal attacker could use this issue to execute arbitrary code.\n(CVE-2013-6435)\n\nFlorian Weimer discovered that RPM incorrectly handled certain CPIO\nheaders. If a user or automated system were tricked into installing a\nmalicious package file, a remote attacker could use this issue to cause RPM\nto crash, resulting in a denial of service, or possibly execute arbitrary\ncode. (CVE-2014-8118)\n","status":"published","published":"2015-01-19T15:04:21Z","modified":"2026-04-22T09:07:10.235593Z","updated_at":"2026-11-02T16:58:09.227524Z"}]}}
