I. System
We seek to find distinct positive integer solutions $(a,b,c)$ to System 1,
\begin{align} a^2 + b^2 &= \square_1\\[4pt] a^2 + c^2 &= \square_2\\[4pt] b^2 + c^2 &= \square_3 + \color{red}{h^2}\\[4pt] a^2 + b^2 + c^2 &= \square_4 + \color{red}{h^2}\end{align}
Of course, if $h=0$ this is the perfect Euler brick though none are known and, if it exists, then at least one of $(a,b,c) >10^{12}$. As such, we relax our conditions and ask if below a bound on $(a,b,c)$, then what small $h$ can be found? Robert Matson found $h=12$ in a 2015 paper,
$$(a,b,c,h)= (25025, 71820, 5088, 12)$$
However, he was focusing on near-integers,
$$\sqrt{a^2+b^2+c^2} \approx 76225.00094$$
so it is possible he may have ignored smaller $(a,b,c)$. By computer-search, he also found the gigantic,
$$(a,b,c,h)= (117348114345,\, 95932047590764,\, 3644786675612448,\, 24852)$$
where $\sqrt{a^2+b^2+c^2}$ again is a near-integer. Note how small $h$ is compared to $(a,b,c)$, though in his paper, he gives the integer $h^2$ and doesn't seem to have noticed it was a square.
II. Elliptic curve
Using an elliptic curve, it can be shown that System 1 has infinitely many primitive solutions. However, since Matson's first $(a,b,c)$ is moderately large, the coefficients of the elliptic curve are also large. That is why a smaller solution is desired.
III. Question
System 1 is equivalent to,
\begin{align} a^2 + b^2 &= \square_a\\[4pt] a^2 + c^2 &= \square_b\\[4pt] a^2 + d^2 &= \square_c\\[4pt] b^2 + c^2 - d^2 &= h^2\end{align}
Q: Can you find four distinct positive integers $(a,b,c,d)$ smaller than Matson's first solution such that the RHS are non-zero squares? With $h$ less than $(a,b,c,d)$ and preferably small. (The solution is necessary for an elliptic curve.)