It's not typical to have high degrees of both, but if it happens it's neither overfitting nor underfitting because these are defined with contrasting amounts of bias and variance. An overfitting model performs very well on the dataset it learns. So, it has low bias by definition. An underfitting model doesn't properly fit the data, which means it isn't very sensitive to the changes in the features, so having low variance.
Artificially, you can take an overfitted model, add an effective constant amount to its output and create a high bias and variance case, but I haven't encountered this case naturally before.