{"id":"SUSE-SU-2018:1998-1","summary":"Security update for mercurial","details":"This update for mercurial fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2018-13346: Fix mpatch_apply function in mpatch.c that incorrectly proceeds in cases where the fragment start is past the end of the original data (bsc#1100354).\n- CVE-2018-13347: Fix mpatch.c that mishandles integer addition and subtraction (bsc#1100355).\n- CVE-2018-13348: Fix the mpatch_decode function in mpatch.c that mishandles certain situations where there should be at least 12 bytes remaining after thecurrent position in the patch data (bsc#1100353).\n","modified":"2026-03-11T06:48:42.395523Z","published":"2018-07-19T07:57:38Z","related":["CVE-2018-13346","CVE-2018-13347","CVE-2018-13348"],"upstream":["CVE-2018-13346","CVE-2018-13347","CVE-2018-13348"],"references":[{"type":"ADVISORY","url":"https://www.suse.com/support/update/announcement/2018/suse-su-20181998-1/"},{"type":"REPORT","url":"https://bugzilla.suse.com/1100353"},{"type":"REPORT","url":"https://bugzilla.suse.com/1100354"},{"type":"REPORT","url":"https://bugzilla.suse.com/1100355"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2018-13346"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2018-13347"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2018-13348"}],"affected":[{"package":{"name":"mercurial","ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15","purl":"pkg:rpm/suse/mercurial&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.2-3.3.1"}]}],"ecosystem_specific":{"binaries":[{"mercurial":"4.5.2-3.3.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2018:1998-1.json"}}],"schema_version":"1.7.5"}