diff --git a/cumulus/Cargo.lock b/cumulus/Cargo.lock
index 3335dfe57320b05dd5d6d9be23269b4207234e1b..96a0c436b559efbbdaec3fc94613929267ea0cbe 100644
--- a/cumulus/Cargo.lock
+++ b/cumulus/Cargo.lock
@@ -6841,9 +6841,9 @@ dependencies = [
 
 [[package]]
 name = "parity-scale-codec"
-version = "3.1.0"
+version = "3.1.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8483b84fb12de1dc23bf95d26030d16cea56391d136db0db37f749508104e3e6"
+checksum = "e8b44461635bbb1a0300f100a841e571e7d919c81c73075ef5d152ffdb521066"
 dependencies = [
  "arrayvec 0.7.2",
  "bitvec",
@@ -6855,9 +6855,9 @@ dependencies = [
 
 [[package]]
 name = "parity-scale-codec-derive"
-version = "3.1.0"
+version = "3.1.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7259388ceb4c23bc09caef272c9e7a732b3b8f9fbd0b41f0009a91d6548cc1d9"
+checksum = "c45ed1f39709f5a89338fab50e59816b2e8815f5bb58276e7ddf9afd495f73f8"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
diff --git a/cumulus/client/relay-chain-interface/Cargo.toml b/cumulus/client/relay-chain-interface/Cargo.toml
index 64c0aee8ccb8892048847089763aee6b732e3d9a..9403e89e799ba9dce43eb4ad433ee285adc3c808 100644
--- a/cumulus/client/relay-chain-interface/Cargo.toml
+++ b/cumulus/client/relay-chain-interface/Cargo.toml
@@ -24,4 +24,4 @@ derive_more = "0.99.2"
 async-trait = "0.1.52"
 thiserror = "1.0.30"
 jsonrpsee-core = "0.9.0"
-parity-scale-codec = "3.1.0"
+parity-scale-codec = "3.1.2"
diff --git a/cumulus/client/relay-chain-rpc-interface/Cargo.toml b/cumulus/client/relay-chain-rpc-interface/Cargo.toml
index 09422c093b436d96e3722d7056e865c9c7f874ea..295b84e866a82ae1caff09ee93f658dab77f1b3a 100644
--- a/cumulus/client/relay-chain-rpc-interface/Cargo.toml
+++ b/cumulus/client/relay-chain-rpc-interface/Cargo.toml
@@ -21,7 +21,7 @@ sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "master
 
 futures = "0.3.21"
 futures-timer = "3.0.2"
-parity-scale-codec = "3.1.0"
+parity-scale-codec = "3.1.2"
 parking_lot = "0.12.0"
 jsonrpsee = { version = "0.9.0", features = ["client"] }
 tracing = "0.1.32"
diff --git a/cumulus/pallets/session-benchmarking/Cargo.toml b/cumulus/pallets/session-benchmarking/Cargo.toml
index afbf0fbd03725ee33541349d34019355f9709a96..ba0f8cf441442eb93669f759a6a15e254d041a88 100644
--- a/cumulus/pallets/session-benchmarking/Cargo.toml
+++ b/cumulus/pallets/session-benchmarking/Cargo.toml
@@ -13,7 +13,7 @@ readme = "README.md"
 targets = ["x86_64-unknown-linux-gnu"]
 
 [dependencies]
-parity-scale-codec = { version = "3.1.0", default-features = false }
+parity-scale-codec = { version = "3.1.2", default-features = false }
 sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "master" }
 sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "master" }
 frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "master" }