diff --git a/contrib/src/ebml/SHA512SUMS b/contrib/src/ebml/SHA512SUMS
index 62316039201edefc4895c1cc2a69c7de24f2e48d..d3038f68ec9307b1ab613f230ea534582695a8e2 100644
--- a/contrib/src/ebml/SHA512SUMS
+++ b/contrib/src/ebml/SHA512SUMS
@@ -1 +1 @@
-db78ee560a44b90b4df12ba23a00f8ccb0d3626f44296af6b79a492a00126690582764c6be6c9e9851302a0d0d70edfbe000cc217c5532abe862a821624af230  libebml-1.4.0.tar.xz
+b9535b60ba2716053819d48e345f161ad797a74678fdf60797d652da9dfa7cab905669dac744f30a81083341462bac6f2a0e69fa7d80ee59cf7414bffbd667d5  libebml-1.4.2.tar.xz
diff --git a/contrib/src/ebml/rules.mak b/contrib/src/ebml/rules.mak
index 5f3c9ab8240e13bf0a76d73a2e0b0e271ce0c8c9..3eaf112ed503647ec64d5680436a0e04ac8af1f6 100644
--- a/contrib/src/ebml/rules.mak
+++ b/contrib/src/ebml/rules.mak
@@ -1,6 +1,6 @@
 # ebml
 
-EBML_VERSION := 1.4.0
+EBML_VERSION := 1.4.2
 EBML_URL := http://dl.matroska.org/downloads/libebml/libebml-$(EBML_VERSION).tar.xz
 
 ifeq ($(call need_pkg,"libebml >= 1.3.8"),)