Home prices in the S&P/Case-Shiller 20-city index showed an annual decline in April of 1.9 percent. Economists had expected a 2.5 percent drop.
Investors also remain wary of developments in Europe. On Monday, Cyprus followed Spain with a request for international assistance.
By close of trading Tuesday, the Dow Jones industrial average gained 32.01 points or 0.26 percent to 12,534.67. The Standard & Poor's 500 index added 6.27 points or 0.48 percent to 1,319.99. The tech-heavy Nasdaq composite index gained 17.90 points or 0.63 percent to 2,854.06.
On the New York Stock Exchange, 1,934 stocks advanced and 1,100 declined on a volume of 3.2 billion shares traded.
The benchmark 10-year treasury note fell 7/32 to yield 1.632 percent.
The euro fell to $1.2492 from Monday's $1.2504. Against the yen, the dollar fell to 79.48 yen from Monday's 79.67 yen.
In Tokyo, the Nikkei 225 index shed 0.81 percent, 70.63, to 8,663.99.
In London, the FTSE 100 index dropped 0.07 percent, 3.69, to 5,446.96.
Exploding whale video goes viral on Internet
Trader Joe's: Car crashes into Long Island store, injuring 11